generate_peppol_invoice
Generate a Peppol BIS Billing 3.0 / EN 16931 UBL 2.1 XML invoice for cross-border B2B invoicing via the Peppol network.
Instructions
Generate a Peppol BIS Billing 3.0 / EN 16931 UBL 2.1 XML invoice.
Use this for cross-border B2B invoicing via the Peppol network. For domestic Polish invoicing, use generate_fa2_invoice instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Country-agnostic invoice document envelope. Country adapters read/write this model via BaseDocumentGenerator.generate() and BaseDocumentParser.to_invoice_document(). document_type: Country-specific code (IT: TD01–TD28, UBL: 380/381/384, DE: RE/GU…). transmission_format: Platform routing hint (IT: FPA12/FPR12, FR: B2B/B2BInt/B2C). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |