generate_invoice_be
Generates a valid UBL 2.1 Belgian e-invoice XML from structured data, applying the correct Peppol profile IDs for submission to Peppol or Mercurius.
Instructions
Generate a valid UBL 2.1 Belgian e-invoice XML document from structured data.
Applies the correct customizationID and profileID for the selected Belgian Peppol profile. The output XML is ready for submission to the Peppol network or the Mercurius platform.
Returns a dict with:
xml: the generated UBL 2.1 XML stringcustomization_id: the UBL customizationID applied (BT-24)profile_id: the UBL profileID applied (BT-23)
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_data": "<invoice_data>"
},
"name": "generate_invoice_be"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Target profile: 'peppol-bis-3' (default) or 'pint-eu' (EU PINT v1.0.1) | peppol-bis-3 |
| invoice_data | Yes | Invoice fields matching the BEInvoice schema |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||