Parse DE — XRechnung (UBL XML)

Parse a DE — XRechnung (UBL XML) document. The request body below contains a real, round-trippable sample generated from the default DE example invoice — click “Send” right away to see the parser turn it back into structured Invoice data. Requires e-invoice:de:xrechnung:parse entitlement.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
datastringRequired

Base64 encoded document (XML or PDF with embedded XML)

filenamestringOptional

Original filename (helps detect format)

Response

Invoice parsed successfully
successboolean
Whether parsing was successful
invoiceobjectOptional
Extracted invoice data
formatstringOptional

Detected format (e.g., ZUGFERD_EN16931)

hashstringOptional

SHA-256 hash of the input document

errorslist of objectsOptional

Parsing errors (if any)

warningslist of objectsOptional

Parsing warnings (if any)

infoslist of objectsOptional

Informational messages (e.g., XML extracted from PDF)

Errors

400
Xrechnung De Request Bad Request Error
401
Xrechnung De Request Unauthorized Error
403
Xrechnung De Request Forbidden Error
429
Xrechnung De Request Too Many Requests Error
500
Xrechnung De Request Internal Server Error