Docs

Zoznam stavových udalostí jednej prijatej faktúry

  • V sandboxe
GET
/received/{id}/events

Od 0.35.0. Rovnaké udalosti, aké doručuje webhook, v poradí podľa sekvencie, každá s direction in.

Autorizácia

apiKey
headerAuthorizationBearer <token>

Kľúč posielajte ako token typu Bearer: Authorization: Bearer <your-api-key>. Stav služby je jediné volanie, ktoré nevyžaduje kľúč.

Parametre cesty

id*string

Id prijatej faktúry v službe (vráti ho POST /received).

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

Telo odpovede

Udalosti v poradí podľa sekvencie.

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"    }  ]}