Docs

List the status events of one received invoice

  • In the sandbox
GET
/received/{id}/events

Since 0.35.0. The same events the webhook delivers, in sequence order, each with direction in.

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.

Path parameters

id*string

The service's id for a received invoice (returned by POST /received).

Match^rcv_[0-9a-f]{24}$

Response body

Events in sequence order.

application/json
  1. response
data*array<>
curl -X GET "https://example.com/received/string/events" \  -H "Authorization: Bearer <your-api-key>"
{  "data": [    {      "event_id": "stringst",      "sequence": 1,      "occurred_at": "2019-08-24T14:15:22Z",      "invoice_ref": "string",      "invoice_number": "string",      "country_route": "PEPPOL",      "environment": "sandbox",      "direction": "out",      "legal_id": "string",      "document_sha256": "string",      "buyer_status": "acknowledged",      "errors": [        {          "code": "string",          "source": "string",          "message": "string",          "field": "string",          "fix_hint": "string"        }      ],      "route": {        "submission_id": "string",        "raw": null      },      "status": "buyer_status"    }  ]}