Skip to main content

XRechnung & ZUGFeRD


How to get “API Key” from Portal?

To obtain the API key used with /auth/login, navigate to Settings → ERP Management → API Management in the Portal and use Generate. See Authentication.

Germany — XRechnung & ZUGFeRD


Validate XRechnung POST

Purpose of use: Validate XRechnung XML before submission. Empty error list = valid document.

Endpoint Information

PropertyValue
URL/invoice/validate-xrechnung
MethodPOST
Content-Typeapplication/xml (raw XML body)
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Generate ZUGFeRD XML POST

Endpoint Information

PropertyValue
URL/invoice/generate-zugferd-xml
MethodPOST
Content-Typeapplication/json
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Request body: UBL/JSON invoice data.


Validate ZUGFeRD PDF POST

Endpoint Information

PropertyValue
URL/invoice/validate-zugferd-pdf
MethodPOST
Content-Typemultipart/form-data
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Form field: file — PDF (multipart).


Merge ZUGFeRD PDF + XML POST

Purpose of use: Embed XML into PDF to produce PDF/A-3 ZUGFeRD with embedded factur-x.xml.

Endpoint Information

PropertyValue
URL/invoice/merge-zugferd-pdf-xml
MethodPOST
Content-Typeapplication/json
Base URL
Stage Environment URLhttps://app-stage.docnova.ai/
Production Environment URLhttps://api.docnova.ai/
AuthorizationBearer JWT

Request body (JSON)

{
"base64Pdf": "JVBERi0xLj...",
"base64Xml": "PD94bWwgdm..."
}

Request parameters

FieldTypeRequiredDescription
base64PdfStringYesBase64 PDF
base64XmlStringYesBase64 ZUGFeRD/Factur-X XML

Example response

{
"data": "JVBERi0xLj...",
"file_type": "PDF"
}

Responses

200 — ZUGFeRD created

400 — Invalid PDF/XML or schema