Docs

Invoices received and rejected per day and route

  • In the sandbox

In plain words

Counts the invoices received and rejected for each day and route.
GET
/invoices/series

Worked out from the store on each call. received counts invoices by the UTC day they arrived; rejected counts invoices now rejected by the UTC day of their last change. A day with nothing has zeros, so a chart has no gaps. Scoped like GET /invoices.

Authorization

apiKey
headerAuthorizationBearer <token>

Send your key as a bearer token: Authorization: Bearer <your-api-key>. Health is the only call that needs no key.

Query parameters

days?integer

How many UTC days, ending today.

Range1 <= value <= 90
Default30
route?array<>

One or more routes, comma-separated. All five when left out.

client?string

As on GET /invoices.

Match^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$

Response body

One row per day and route, oldest day first.

application/json
  1. response
generated_at*string
Formatdate-time
days*integer
data*array<>
curl -X GET "https://example.com/invoices/series" \  -H "Authorization: Bearer <your-api-key>"
{  "generated_at": "2019-08-24T14:15:22Z",  "days": 0,  "data": [    {      "date": "2019-08-24",      "route": "PEPPOL",      "received": 0,      "rejected": 0    }  ]}