Problems·HTTP 422
unsupported-document
The document is not a Peppol BIS Billing 3.0 invoice or credit note.
What it means
The XML is well-formed, but it is not a UBL Invoice or CreditNote that declares Peppol BIS Billing 3.0. detail says what was found instead.
What to do
Check the root element and cbc:CustomizationID. Other formats, such as CII or other Peppol specifications, are not supported yet.
Example
Sent as application/problem+json (RFC 9457). Branch on type, which is stable. Never branch on title or detail, which are prose and may change.
{ "type": "https://www.einvoicing.dev/problems/unsupported-document", "title": "The document is not a Peppol BIS Billing 3.0 invoice or credit note.", "status": 422, "detail": "…"}All problem types
Every error the API can return, with what to do about each.
API reference
Every operation, its parameters and the errors it can answer with.