Validate a Factur-X/Zugferd PDF.
POST/business/facturx/validate
Factur-X/Zugferd is a standard for digital invoices. The data is encoded into an XML, which is attached to a human-readable PDF file. This endpoint checks that the given PDF has an attached XML invoice, and validates it according to the Factur-X/Zugferd specification (level EN16931). It also returns the XML invoice for further processing.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The PDF URL.
bufferstring
The PDF as a Base64-encoded buffer. Can be specified instead of url
.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
validbooleanrequired
Whether the PDF is a valid Factur-X/Zugferd invoice (level EN16931).
errorsstring[]
The errors that were generated during the validation of the XML invoice. Only set if valid
is false.
invoicestring
The attached Factur-X/Zugferd XML invoice.
{
"valid": true,
"errors": [
"string"
],
"invoice": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}