PDF Generator API icon

PDF Generator API

Generate PDFs, manage templates, convert HTML/URLs to PDF, and perform PDF operations like watermarking, encryption, and optimization

E-Invoice → Create XRechnung E-Invoice

AI-generated

Summary

Generate an XRechnung 3.0 e-invoice through PDF Generator API, with validation against German BR-DE rules. The node attaches the generated XML as binary data and includes response metadata in the output JSON.

Inputs

  • Invoice Data (required) — Peppol BIS Billing 3.0 UBL invoice payload as JSON. Use Get Schema to retrieve the accepted structure.
  • Formatting Type — XML syntax: UBL (default) or CII.
  • Output — Choose Base64 (JSON, default) or File (Binary); either option produces an XML binary attachment named data.
  • Additional Fields → File Name — Optional attachment name without the .xml extension. Defaults to xrechnung-<syntax>, such as xrechnung-ubl.

Output shape

One item per input item, with JSON metadata and a binary XML attachment in binary.data.

For Base64 output, the node decodes the API's base64 XML response into the attachment and includes the remaining API response fields in JSON. For File output, JSON includes success, filename, format, and file size.

Examples

Example 1: Create a default UBL XRechnung

Provide the invoice payload in Invoice Data and keep Formatting Type as UBL. The node sends it to the XRechnung endpoint and returns the XML attachment.

Example 2: Create CII XML with a custom filename

Set Formatting Type to CII and File Name to Invoice 123; the attachment is named Invoice 123.xml.

Links

Discussion