API reference
Every endpoint, request and response of the API, generated from the OpenAPI description. New to the API? Start with the quickstart. How the API changes: change policy.
Valinvo turns one JSON invoice (based on the EN 16931 semantic model) into an XRechnung 3.0.2 (UBL or CII), Peppol BIS Billing 3.0.22 or ZUGFeRD 2.5.2 / Factur-X 1.09.2 (EN 16931 profile; also with the French rules for the French reform) e-invoice, and validates existing e-invoices against the official rule sets.
Terms. The API is for businesses only and is subject to the Terms of Use and the Data Processing Agreement. Without an API key, accept them by sending X-Accept-Terms: 1.0 (the current version) with each request; requests without it get 428 terms_not_accepted. Every /v1/ response links the terms in a Link: <…/terms>; rel="terms-of-service" header. The trial without a key is for testing: use sample data, not real invoices with other people's personal data.
Limits. Without a key: 2 created invoices per day per IP address (validating your own file needs no key), one request at a time, 60 /v1/invoices and 20 /v1/validate requests per minute. Invoice JSON up to 2 MB and 2,000 lines; your own PDF up to 15 MB; documents to validate up to 20 MB and 75,000 XML elements. With an API key: 100 documents per calendar month (UTC) unless agreed otherwise; created and validated documents both count, and X-Quota-Remaining tells you what is left.
Money. Amounts, quantities and VAT rates are JSON strings ("19.99"), never numbers.
Errors. Every error is a JSON ApiError with a stable code; invoice problems list the JSON path, the official rule and the EN 16931 business term. Unknown paths get 404 with not_found.
Endpoints
GET /v1/formats
List supported formats
Every format with its pinned version and status. beta formats can be created; planned ones not yet. Needs no API key and no terms header.
Access: no key and no terms header needed.
| Status | Meaning |
|---|---|
| 200 | The formats. |
GET /v1/status
Service status
The result of the self-test the server runs at start-up: the documented examples go through the whole pipeline once per format. It shows no request counts, no history and no uptime figure. Needs no API key and no terms header.
Access: no key and no terms header needed.
| Status | Meaning |
|---|---|
| 200 | The status. |
POST /v1/invoices
Create an e-invoice from JSON
Checks the invoice against the EN 16931 rules and the rules of the chosen format, calculates line totals, VAT and totals, generates the document and validates it against the official rule set before returning it. An invoice that fails official validation is never returned (422).
The response is the XML file. Send Accept: application/json to get the document and the full validation report in one JSON object instead.
Your own PDF (ZUGFeRD / Factur-X). For zugferd-en16931 and factur-x-fr you can send the PDF your software already makes and get it back with the invoice XML embedded, so the layout stays yours. Send multipart/form-data with two parts: invoice (the same JSON as above) and pdf (the file, with a file name). The PDF must be a PDF/A without an invoice attachment (PDF/A-3 stays as it is, a PDF/A-1 is upgraded to PDF/A-3, a PDF/A-2 is refused); the result passes the same checks as a PDF we draw ourselves (XML rules, PDF/A-3, metadata). Other formats answer pdf_not_supported. A PDF problem is a 400 that names it: invalid_pdf, pdf_not_pdfa, pdf_has_invoice_attachment, pdf_not_usable, pdf_not_pdfa3.
Access: send an API key (Authorization: Bearer <key>, or X-API-Key: <key>) or the header X-Accept-Terms: 1.0 (or X-Org: 1.0).
Request body: application/json, multipart/form-data
Schema: CreateInvoiceRequest
Example (application/json):
{
"format": "peppol-bis-ubl",
"invoice": {
"number": "F-2026-0815",
"type": "invoice",
"issueDate": "2026-10-19",
"dueDate": "2026-11-18",
"currency": "EUR",
"buyerReference": "PO-BE-2231",
"notes": [
"Thank you for your business."
],
"seller": {
"name": "Voorbeeld Software BV",
"vatId": "BE0456789034",
"legalRegistrationId": {
"id": "0456789034",
"scheme": "0208"
},
"electronicAddress": {
"scheme": "0208",
"value": "0456789034"
},
"address": {
"line1": "Kunstlaan 10",
"city": "Brussel",
"postalCode": "1000",
"countryCode": "BE"
},
"contact": {
"name": "Sofie Peeters",
"email": "billing@voorbeeld-software.be"
}
},
"buyer": {
"name": "Exemple Services SRL",
"vatId": "BE0765432146",
"electronicAddress": {
"scheme": "0208",
"value": "0765432146"
},
"address": {
"line1": "Rue de la Loi 200",
"city": "Bruxelles",
"postalCode": "1040",
"countryCode": "BE"
}
},
"payment": {
"meansCode": "30",
"iban": "BE68539007547034",
"remittanceInformation": "+++081/2026/08155+++",
"terms": "Payable within 30 days."
},
"lines": [
{
"id": "1",
"name": "Invoicing software subscription, October 2026",
"quantity": "1",
"unitCode": "C62",
"unitPrice": "49.00",
"vat": {
"category": "S",
"rate": "21"
}
},
{
"id": "2",
"name": "Implementation consulting",
"quantity": "3",
"unitCode": "HUR",
"unitPrice": "95.00",
"vat": {
"category": "S",
"rate": "21"
}
}
],
"totals": {
"lineTotal": "334.00",
"vatTotal": "70.14",
"amountDue": "404.14"
}
}
}
Schema: object
| Status | Meaning |
|---|---|
| 200 | The e-invoice. It passed the official validation; warnings, if any, are counted in X-Validation-Warnings. |
| 400 | The request or the invoice is invalid. Codes: invalid_json, invalid_request (envelope or multipart parts), unknown_format, invalid_invoice (with every problem at once in problems), bad_request; for your own PDF: pdf_not_supported, invalid_pdf, pdf_not_pdfa, pdf_has_invoice_attachment, pdf_not_usable, pdf_not_pdfa3. |
| 401 | invalid_api_key: the Authorization: Bearer or X-API-Key value is not a valid key. |
| 413 | payload_too_large: the JSON body or the invoice part is larger than 2 MB, or the pdf part is larger than 15 MB. |
| 411 | length_required: a multipart request (your own PDF) must be sent with a Content-Length header; chunked uploads are not accepted. |
| 422 | generated_invoice_invalid: the generated invoice did not pass the official validation; validation.errors says why. Usually a field required by a national rule is missing. |
| 428 | terms_not_accepted: without an API key, send X-Accept-Terms: 1.0. |
| 429 | trial_limit_reached (today's free invoices are used up), monthly_limit_reached (the key's documents for this month are used up), one_request_at_a_time (without a key) or rate_limited. |
| 500 | internal_error: something went wrong on our side. |
| 503 | busy: the server is busy; try again after Retry-After seconds. Or proof_unavailable: the request had "proof": true but this server has no signing key set; send it without the proof. |
POST /v1/validate
Validate an e-invoice
Validates an e-invoice against the official rules (XML schema and Schematron). Send the XML, or a ZUGFeRD / Factur-X PDF: then the invoice XML embedded in the PDF (factur-x.xml, zugferd-invoice.xml or xrechnung.xml) is checked, plus the PDF itself against PDF/A-3 (veraPDF; rule IDs like PDF/A-3 6.2.11.4.1-1) and its XMP metadata against the XML (profile and attachment name; rule IDs ZF-XMP-…). The ruleSet then names both, e.g. zugferd-2.5.2-en16931+pdf-a-3b. The rule set is detected from the document: XRechnung 3.0 (UBL Invoice, UBL CreditNote, CII), Peppol BIS Billing 3.0 (UBL Invoice, UBL CreditNote), Dutch NLCIUS (SI-UBL 2.0.3.14 Invoice and CreditNote, NLCIUS-CII 1.0.3.14), Romanian CIUS-RO 1.0.9 (UBL Invoice, CreditNote) and ZUGFeRD 2.x / Factur-X in CII with the profiles MINIMUM, BASIC WL, BASIC, EN 16931 and EXTENDED (checked against the ZUGFeRD 2.5.2 rules). French invoices, including EXTENDED-CTC-FR in CII and UBL, also get the French BR-FR rules. An invalid invoice is a normal 200 result with valid: false and the list of errors.
Access: send an API key (Authorization: Bearer <key>, or X-API-Key: <key>) or the header X-Accept-Terms: 1.0 (or X-Org: 1.0).
Request body: application/xml, application/pdf
| Status | Meaning |
|---|---|
| 200 | The validation report. When the server has a signing key set, it carries a signed proof (see the Proof schema). |
| 400 | invalid_xml (not well-formed), unsupported_document (not an invoice or credit note in a supported format), invalid_pdf (unreadable or password-protected PDF), no_embedded_invoice (a PDF without a factur-x.xml, zugferd-invoice.xml or xrechnung.xml attachment) or bad_request. |
| 401 | invalid_api_key: the Authorization: Bearer or X-API-Key value is not a valid key. |
| 413 | payload_too_large (larger than 20 MB) or document_too_large (more than 75,000 XML elements, about 3,000 invoice lines, or an embedded invoice XML larger than 20 MB). |
| 428 | terms_not_accepted: without an API key, send X-Accept-Terms: 1.0. |
| 429 | monthly_limit_reached (the key's documents for this month are used up), one_request_at_a_time (without a key) or rate_limited. |
| 500 | internal_error: something went wrong on our side. |
| 503 | busy: the server is busy; try again after Retry-After seconds. |
GET /mcp
Not supported: no event stream
The server opens no streams, so a GET is refused with method_not_allowed and Allow: POST. MCP clients accept this.
Access: no key and no terms header needed.
| Status | Meaning |
|---|---|
| 405 | method_not_allowed. |
POST /mcp
Model Context Protocol endpoint (validate_invoice tool)
A Model Context Protocol server over Streamable HTTP, for AI assistants such as Claude Code, Claude Desktop, Cursor or VS Code. It is stateless: send one JSON-RPC 2.0 message (or a batch) per POST and read the JSON answer; there are no sessions and no streams. In tool results, messages that quote text from the document are shortened (values to 80 characters, messages to 400) and the result starts with a notice field saying that this text is data, not instructions. It supports initialize, ping, tools/list and tools/call; every method except tools/call also works without an API key or terms header (so directories and health checks can see the server), while tools/call, which processes a document, answers 428 without one. It offers one read-only tool, validate_invoice, whose xml argument is the invoice XML text. The tool runs the same validation as POST /v1/validate and returns the report as JSON text. No AI model is called and nothing is stored. Callers are handled as on /v1/validate: send a key, or X-Accept-Terms: 1.0. A key's monthly documents count here too; when they are used up, the tool answers with an error result monthly_limit_reached.
Access: send an API key (Authorization: Bearer <key>, or X-API-Key: <key>) or the header X-Accept-Terms: 1.0 (or X-Org: 1.0).
Request body: application/json
Schema: object
Example (application/json):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "validate_invoice",
"arguments": {
"xml": "<Invoice>...</Invoice>"
}
}
}
| Status | Meaning |
|---|---|
| 200 | The JSON-RPC answer. Protocol problems (bad JSON, unknown method or tool, missing argument) are JSON-RPC errors inside a 200 answer, as the protocol says; a document that cannot be validated is a tool result with isError: true. |
| 202 | The message was a notification (for example notifications/initialized); there is no body. |
| 401 | invalid_api_key: the Authorization: Bearer or X-API-Key value is not a valid key. |
| 413 | payload_too_large (the message is larger than 20 MB). |
| 428 | terms_not_accepted: without an API key, send X-Accept-Terms: 1.0. |
| 429 | one_request_at_a_time (without a key) or rate_limited. |
| 500 | internal_error: something went wrong on our side. |
| 503 | busy: the server is busy; try again after Retry-After seconds. |
DELETE /mcp
Not supported: no sessions
The server keeps no sessions, so a DELETE is refused with method_not_allowed and Allow: POST.
Access: no key and no terms header needed.
| Status | Meaning |
|---|---|
| 405 | method_not_allowed. |
Schemas
Decimal
Money, quantity or rate as a JSON string in plain decimal notation, e.g. "19.99". No exponent, thousands separator or leading +.
Type: string
IsoDate
Calendar date YYYY-MM-DD.
Type: string (date)
CreateInvoiceRequest
| Field | Type | Required | Description |
|---|---|---|---|
proof | boolean | no | true adds a signed proof over the generated document to the answer, which is then always the JSON form (GeneratedInvoiceResponse), whatever the Accept header says. Default false. |
format | one of xrechnung-ubl, xrechnung-cii, peppol-bis-ubl, zugferd-en16931, factur-x-fr, cii-fr, ubl-fr | yes | Format ID from GET /v1/formats. zugferd-en16931 returns a PDF/A-3 with the CII XML embedded (ZUGFeRD 2.5.2 / Factur-X 1.09.2, EN 16931 profile). |
invoice | Invoice | yes |
Invoice
The canonical invoice. Every field maps to an EN 16931 business term (BT) or group (BG). Unknown fields are rejected.
| Field | Type | Required | Description |
|---|---|---|---|
number | string | yes | BT-1 Invoice number. |
type | InvoiceType | no | |
issueDate | IsoDate | yes | |
dueDate | IsoDate | no | |
taxPointDate | IsoDate | no | |
currency | string | yes | BT-5 Invoice currency, ISO 4217, e.g. EUR. |
buyerReference | string | no | BT-10 Buyer reference; the Leitweg-ID for German public buyers. |
orderReference | string | no | BT-13 Purchase order reference. |
contractReference | string | no | BT-12 Contract reference. |
precedingInvoice | InvoiceReference | no | |
notes | list of string | no | BT-22 Invoice notes. |
codedNotes | list of CodedNote | no | BG-1 notes with a subject code (BT-21 + BT-22). French invoices need PMT, PMD and AAB. |
billingFrame | string | no | BT-23 for formats that let you set it (factur-x-fr): the French cadre de facturation B1 (goods), S1 (services), M1 (mixed), B2/S2/M2 (the same, already paid). Other formats reject it. |
delivery | Delivery | no | |
billingPeriod | Period | no | |
seller | Party | yes | |
buyer | Party | yes | |
payment | Payment | no | |
lines | list of InvoiceLine | yes | BG-25 Invoice lines. |
allowances | list of DocumentAllowanceCharge | no | BG-20 Document level allowances. |
charges | list of DocumentAllowanceCharge | no | BG-21 Document level charges. |
vatExemptions | list of VatExemption | no | BT-120 / BT-121, one entry per exempt VAT category used. |
prepaidAmount | Decimal | no | |
taxCurrency | TaxCurrency | no | |
totals | Totals | no |
InvoiceType
BT-3: invoice (380), credit_note (381) or prepayment_invoice (386, down payment; every format except XRechnung, which forbids it: BR-DE-17).
Type: one of invoice, credit_note, prepayment_invoice
TaxCurrency
BT-6 + BT-111: the VAT total in the VAT accounting currency, as your accounting converted it (we never choose an exchange rate). France requires EUR when the invoice currency isn't EUR.
| Field | Type | Required | Description |
|---|---|---|---|
code | string | yes | BT-6 ISO 4217 |
vatTotal | Decimal | yes |
CodedNote
BG-1 An invoice note with its subject code.
| Field | Type | Required | Description |
|---|---|---|---|
code | string | yes | BT-21 UNTDID 4451 subject code, e.g. PMT, PMD, AAB, REG. |
text | string | yes | BT-22 |
InvoiceReference
BG-3 Preceding invoice reference.
| Field | Type | Required | Description |
|---|---|---|---|
number | string | yes | BT-25 |
issueDate | IsoDate | no |
Delivery
BG-13 Delivery information.
| Field | Type | Required | Description |
|---|---|---|---|
date | IsoDate | no |
Period
BG-14 invoicing period or BG-26 line period.
Party
Seller (BG-4) or buyer (BG-7).
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | BT-27 / BT-44 |
tradingName | string | no | BT-28 / BT-45 |
legalRegistrationId | Identifier | no | |
vatId | string | no | BT-31 / BT-48 VAT identifier with country prefix. |
taxRegistrationId | string | no | BT-32, seller only. |
additionalLegalInfo | string | no | BT-33, seller only, e.g. legal form and share capital. |
electronicAddress | ElectronicAddress | no | |
address | Address | yes | |
contact | Contact | no |
Identifier
BT-30 / BT-47 Legal registration identifier.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
scheme | string | no | ISO 6523 ICD, e.g. 0208. |
ElectronicAddress
BT-34 / BT-49 Electronic address. XRechnung accepts email (EM); Peppol needs a Peppol scheme.
| Field | Type | Required | Description |
|---|---|---|---|
scheme | string | yes | EAS code, e.g. EM (email), 0208 (BE enterprise number), 9930 (DE VAT). |
value | string | yes |
Address
BG-5 / BG-8 Postal address.
| Field | Type | Required | Description |
|---|---|---|---|
line1 | string | no | BT-35 / BT-50 |
line2 | string | no | BT-36 / BT-51 |
line3 | string | no | BT-162 / BT-163 |
city | string | no | BT-37 / BT-52 |
postalCode | string | no | BT-38 / BT-53 |
region | string | no | BT-39 / BT-54 |
countryCode | string | yes | BT-40 / BT-55, ISO 3166-1 alpha-2. |
Contact
BG-6 / BG-9 Contact.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | no | BT-41 / BT-56 |
phone | string | no | BT-42 / BT-57 |
email | string | no | BT-43 / BT-58 |
Payment
BG-16 Payment instructions and BT-20 payment terms.
| Field | Type | Required | Description |
|---|---|---|---|
meansCode | string | yes | BT-81, UNTDID 4461, e.g. 58 SEPA credit transfer. |
meansText | string | no | BT-82 |
remittanceInformation | string | no | BT-83 |
iban | string | no | BT-84 |
accountName | string | no | BT-85 |
bic | string | no | BT-86 |
terms | string | no | BT-20 Payment terms. |
InvoiceLine
BG-25 Invoice line. Line totals are calculated by us.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | BT-126 |
name | string | yes | BT-153 Item name. |
description | string | no | BT-154 |
sellerItemId | string | no | BT-155 |
note | string | no | BT-127 |
quantity | Decimal | yes | |
unitCode | string | yes | BT-130, UN/ECE Rec 20, e.g. C62 piece, HUR hour. |
unitPrice | Decimal | yes | |
priceBaseQuantity | Decimal | no | |
vat | VatInfo | yes | |
allowances | list of LineAllowanceCharge | no | BG-27 |
charges | list of LineAllowanceCharge | no | BG-28 |
period | Period | no |
VatInfo
| Field | Type | Required | Description |
|---|---|---|---|
category | VatCategory | yes | |
rate | Decimal | no |
VatCategory
UNTDID 5305: S standard, Z zero rated, E exempt, AE reverse charge, K intra-community supply, G export outside the EU, O not subject to VAT, L Canary Islands IGIC, M Ceuta and Melilla IPSI.
Type: one of S, Z, E, AE, K, G, O, L, M
LineAllowanceCharge
| Field | Type | Required | Description |
|---|---|---|---|
amount | Decimal | yes | |
reason | string | no | BT-139 / BT-144 |
reasonCode | string | no | BT-140 / BT-145 |
DocumentAllowanceCharge
| Field | Type | Required | Description |
|---|---|---|---|
amount | Decimal | yes | |
reason | string | no | BT-97 / BT-104 |
reasonCode | string | no | BT-98 / BT-105 |
vat | VatInfo | yes |
VatExemption
| Field | Type | Required | Description |
|---|---|---|---|
category | VatCategory | yes | |
reason | string | no | BT-120 |
reasonCode | string | no | BT-121, VATEX code. |
Totals
BG-22, optional. We calculate the totals; every value you send must match our calculation.
| Field | Type | Required | Description |
|---|---|---|---|
lineTotal | Decimal | no | |
allowanceTotal | Decimal | no | |
chargeTotal | Decimal | no | |
taxExclusive | Decimal | no | |
vatTotal | Decimal | no | |
taxInclusive | Decimal | no | |
amountDue | Decimal | no |
StatusResponse
| Field | Type | Required | Description |
|---|---|---|---|
status | one of operational, degraded, starting | yes | operational: the start-up self-test passed for every format. degraded: it failed for the formats in failedFormats. starting: it has not finished yet. |
validator | string | yes | |
selfTestAt | string (date-time) | no | When the self-test finished (UTC); absent while starting. |
failedFormats | list of string | yes |
FormatsResponse
| Field | Type | Required | Description |
|---|---|---|---|
formats | list of FormatInfo | yes |
FormatInfo
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
version | string | yes | |
syntax | string | yes | |
mediaType | string | yes | |
status | FormatStatus | yes |
FormatStatus
Type: one of planned, beta, available
GeneratedInvoiceResponse
| Field | Type | Required | Description |
|---|---|---|---|
format | string | yes | |
contentType | string | yes | |
encoding | one of utf-8, base64 | yes | utf-8 for XML text, base64 for binary documents such as PDF. |
document | string | yes | The e-invoice. |
validation | ValidationReport | yes | |
proof | Proof | no |
ValidationResponse
The validation report with an optional signed proof.
| Field | Type | Required | Description |
|---|---|---|---|
ruleSet | string | yes | The rules applied, e.g. xrechnung-3.0.2-ubl-invoice. |
valid | boolean | yes | True when there are no errors; warnings don't make an invoice invalid. |
errors | list of ValidationIssue | yes | |
warnings | list of ValidationIssue | yes | |
proof | Proof | no |
Proof
A signed statement about one document. Verify signature over the UTF-8 bytes of payload, exactly as sent, with the public key whose keyId is listed at /.well-known/valinvo-proof-keys.json (ProofKeysResponse); then read payload as ProofStatement. It holds a hash, counts and versions, never invoice content, and we store nothing: keep the proof with the document.
| Field | Type | Required | Description |
|---|---|---|---|
algorithm | string | yes | Ed25519. |
keyId | string | yes | First 8 bytes of the SHA-256 of the public key, in hex. |
payload | string | yes | The ProofStatement as JSON text. |
signature | string | yes | Base64url (no padding) Ed25519 signature over the UTF-8 bytes of payload. |
ProofStatement
What a proof states; the JSON text in Proof.payload.
| Field | Type | Required | Description |
|---|---|---|---|
version | integer | yes | Format of this statement, 1. |
documentSha256 | string | yes | SHA-256 of the exact bytes that were validated (for /v1/validate: the uploaded file; for /v1/invoices: the generated document), lower-case hex. |
ruleSet | string | yes | The rules applied, as in the report. |
valid | boolean | yes | As in the report. |
errorCount | integer | yes | Number of errors in the report. |
warningCount | integer | yes | Number of warnings in the report. |
validator | string | yes | The validator rule release that produced the result, e.g. phive-rules 4.7.4. |
issuedAt | string | yes | UTC time, ISO 8601, to the second. |
ProofKeysResponse
Served at /.well-known/valinvo-proof-keys.json; 404 while the server has no signing key.
| Field | Type | Required | Description |
|---|---|---|---|
keys | list of ProofKey | yes |
ProofKey
| Field | Type | Required | Description |
|---|---|---|---|
keyId | string | yes | As Proof.keyId. |
algorithm | string | yes | Ed25519. |
publicKey | string | yes | Base64 of the DER-encoded X.509 SubjectPublicKeyInfo. |
ValidationReport
| Field | Type | Required | Description |
|---|---|---|---|
ruleSet | string | yes | The rules applied, e.g. xrechnung-3.0.2-ubl-invoice. |
valid | boolean | yes | True when there are no errors; warnings don't make an invoice invalid. |
errors | list of ValidationIssue | yes | |
warnings | list of ValidationIssue | yes |
ValidationIssue
| Field | Type | Required | Description |
|---|---|---|---|
rule | string | no | Official rule ID, e.g. BR-DE-15; absent for XML schema errors. |
message | string | yes | The rule's message as published with the official rules. |
location | string | no | XPath of the offending element for rule errors; XML schema errors carry only the document name. |
line | integer | no | Line in the XML (for a PDF: in the embedded XML), where the element's start tag ends. Absent when unknown, and for checks of the PDF itself. |
column | integer | no | Column in the XML, with line. |
explanation | string | no | Our own English for rules whose official message exists only in German (XRechnung's BR-DE-…). Not an official text. |
Problem
| Field | Type | Required | Description |
|---|---|---|---|
path | string | yes | JSON path in the request body, e.g. invoice.lines[0].vat.rate. |
message | string | yes | |
rule | string | no | EN 16931 or national business rule, e.g. BR-S-05, when one applies. |
businessTerm | string | no | EN 16931 business term, e.g. BT-152, when one applies. |
ApiError
| Field | Type | Required | Description |
|---|---|---|---|
code | string | yes | Stable machine-readable error code, e.g. invalid_invoice. |
message | string | yes | What went wrong and how to fix it, in English. |
problems | list of Problem | no | For invalid_invoice and other input errors: every problem at once. |
validation | ValidationReport | no |
Quickstart · XRechnung validator · Peppol validator · ZUGFeRD / Factur-X validator · ZUGFeRD-csharp: your options · XRechnung from PHP or Node.js · XRechnung in Python · XRechnung EndpointID (BT-34, BT-49) · Validate from an AI assistant (MCP) · E-invoicing 2027 for software vendors · Changelog · Security overview · API change policy · API reference · Error codes