{
  "id": "pepephone-es",
  "name": "Pepephone — facturas",
  "service": "pepephone",
  "country": "ES",
  "trust": "community",
  "credit": {
    "author": {
      "name": "David Marín",
      "url": "https://davefx.com"
    },
    "capture": {
      "name": "David Marín",
      "url": "https://davefx.com"
    }
  },
  "version": "2026-08-26",
  "minVersion": "0.9.2",
  "schema": "invoice@1",
  "categories": [
    "telecom"
  ],
  "match": [
    "https://www.pepephone.com/*"
  ],
  "domain": "pepephone.com",
  "auth": {
    "mode": "bearer",
    "replayHeaders": [
      "authorization"
    ],
    "tokenFromStorage": {
      "key": "PEPE_AUTH_TOKEN",
      "header": "authorization",
      "scheme": "Bearer"
    }
  },
  "api": {
    "host": "https://services.pepephone.com",
    "list": {
      "path": "/v1/invoice",
      "itemsPath": "invoices",
      "expand": {
        "path": "subInvoices",
        "drop": [
          "total"
        ]
      },
      "paging": "none",
      "params": {
        "v": 3
      },
      "range": {
        "from": "start",
        "to": "end",
        "format": "epoch"
      },
      "window": "10y",
      "keep": {
        "field": "serviceType",
        "values": [
          "PPH"
        ]
      }
    },
    "pdf": {
      "path": "/v1/invoice/{internalId}?serviceType={serviceType}",
      "base64Field": "content",
      "ext": "pdf"
    }
  },
  "fields": {
    "internalId": "number",
    "number": "number",
    "date": "date",
    "total": "total",
    "type": "typeDescription"
  },
  "keepRaw": true,
  "content": {
    "en": {
      "slug": "pepephone-invoices",
      "docs": "mobile and broadband bills",
      "h1": "Download all your Pepephone bills at once",
      "intro": "Pepephone publishes a monthly bill in your customer area. There is no way to ask for them all together.",
      "title": "How to download your Pepephone bills"
    },
    "es": {
      "slug": "facturas-pepephone",
      "docs": "facturas de móvil y fibra",
      "h1": "Descarga todas tus facturas de Pepephone de una vez",
      "intro": "Pepephone publica una factura mensual en tu área de cliente. No hay forma de pedirlas todas juntas.",
      "title": "Cómo descargar tus facturas de Pepephone"
    }
  },
  "brand": "Pepephone",
  "changelog": [
    {
      "version": "2026-08-26",
      "changes": {
        "en": "Records authorship: the session was recorded and the definition written by the maintainer. No change to extraction.",
        "es": "Registra la autoría: la sesión la grabó y la definición la escribió el mantenedor. No cambia la extracción."
      }
    },
    {
      "version": "2026-08-08",
      "changes": {
        "en": "No change to what this source extracts. This version gave it its guide page on habeas.dev.",
        "es": "Sin cambios en lo que extrae esta fuente. Esta versión le dio su página de guía en habeas.dev."
      }
    }
  ]
}
