generate_eu_einvoice_xml
Generate EN 16931 compliant EU e-invoice XML in Peppol BIS 3.0 UBL, German XRechnung 3.0 UBL, or Factur-X/ZUGFeRD 2.3 CII from invoice, seller, buyer, and line item data for compliant European billing.
Instructions
Generate EN 16931 EU E-Invoice XML (Peppol BIS 3.0 UBL, German XRechnung 3.0 UBL, or Factur-X/ZUGFeRD 2.3 CII) via Apify Cloud.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_number": "<invoice_number>",
"seller": "<seller>",
"buyer": "<buyer>",
"lines": "<lines>"
},
"name": "generate_eu_einvoice_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | Yes | Buyer legal entity details. | |
| lines | Yes | Invoice line items with quantities, unit prices, and VAT rates. | |
| format | No | Target European e-invoice XML standard. | peppol-ubl-3.0 |
| seller | Yes | Seller legal entity details. | |
| currency | No | ISO 4217 document currency code (e.g., EUR). | EUR |
| due_date | No | Payment due date in YYYY-MM-DD format (BT-9). | |
| issue_date | No | Invoice issue date in YYYY-MM-DD format (BT-2). | |
| invoice_number | Yes | Unique supplier invoice number (BT-1). | |
| buyer_reference | No | Purchase order reference or German XRechnung Leitweg-ID (BT-10). |