E invoicing

Submit An Invoice (Validate + Sign)

Attempts validate + sign synchronously within a 30s window. On sync success returns the signed invoice with processedSynchronously=true. On terminal NRS rejection, surfaces the error and leaves the invoice unchanged. On transient failure/timeout, hands off to the async processor and returns processedSynchronously=false.

POST
/api/e-invoicing/invoices/{reference}/submit
AuthorizationBearer <token>

In: header

Path Parameters

reference*string

Invoice reference number (IRN)

Header Parameters

x-idempotency-key?string

Optional caller-supplied key. A retry with the same key and x-idempotency-request-hash replays the first call's result instead of re-running billing.

x-idempotency-request-hash?string

SHA-256 hex hash of the canonical request. Required whenever x-idempotency-key is supplied.

Response Body

application/json

curl -X POST "https://example.com/api/e-invoicing/invoices/string/submit"
{
  "invoiceId": "123e4567-e89b-12d3-a456-426614174000",
  "firsStatus": "signed",
  "status": "signed",
  "processedSynchronously": true
}
Empty
Empty
Empty
Empty
Empty

How is this guide?

Last updated on