Create Peppol / UBL Invoice
pop_create_peppol_invoiceGenerate Peppol-compliant e-invoices in UBL 2.1 format and submit them to the Peppol network for cross-border B2B electronic invoicing across Europe.
Instructions
Generate a Peppol e-invoice in UBL 2.1 format and optionally submit it to the Peppol network.
Peppol (Pan-European Public Procurement Online) enables cross-border B2B electronic invoicing across Europe. The API generates a compliant UBL 2.1 XML document.
Restrictions:
Customer type must be 'company' or 'freelance' (Peppol does not support private individuals)
Submission requires active Peppol via POP integration (Basic+ plan)
The customer must have a valid Peppol participant ID
Returns: UBL XML string or JSON with UUID when submitting to the network.
Args:
data: Complete invoice data (customer_type must be 'company' or 'freelance')
submit_to_peppol: Set true to submit to Peppol network
integration: Override integration config
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Full invoice data object. Note: Peppol only supports company and freelance customer types. | |
| site_url | No | ||
| site_title | No | ||
| environment | No | Target environment (e.g. 'sandbox') | |
| integration | No | Integration configuration override | |
| plugin_version | No | ||
| submit_to_peppol | No | If true, automatically submits to the Peppol network. Requires active Peppol via POP integration. |