Peppol BIS 3.0 UBL 2.1 XML Invoice Generator API
ubl_peppol_invoice_generatorGenerate EN 16931 and Peppol BIS Billing 3.0 compliant UBL 2.1 XML electronic invoices from JSON with automated line-item arithmetic, multi-rate VAT breakdown, and SEPA payment means. Built for EU B2G and B2B e-invoicing compliance. Deterministic, zero AI, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.01/call via x402 at https://radarbg.com/x402/ubl-peppol-invoice-generator.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"buyer": {
"city": "Paris",
"name": "Atelier Logistics SAS",
"vatId": "FR40303265045",
"street": "12 Rue de Rivoli",
"postalCode": "75001",
"countryCode": "FR"
},
"lines": [
{
"vatRate": 19,
"quantity": 2,
"unitPrice": 450,
"description": "Enterprise Compliance API Plan",
"vatCategory": "S"
},
{
"vatRate": 19,
"quantity": 1,
"unitPrice": 200,
"description": "Onboarding Setup",
"vatCategory": "S"
}
],
"seller": {
"city": "Berlin",
"name": "Nordic Treasury GmbH",
"vatId": "DE123456789",
"street": "Friedrichstr. 10",
"postalCode": "10117",
"countryCode": "DE"
},
"dueDate": "2027-01-04",
"currency": "EUR",
"issueDate": "2026-12-05",
"paymentMeans": {
"bic": "COBADEFFXXX",
"iban": "DE89370400440532013000"
},
"invoiceNumber": "INV-2026-042",
"buyerReference": "PO-9910"
},
"name": "ubl_peppol_invoice_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | No | Customer details: {name, vatId?, street, city, postalCode, countryCode, endpointId?, endpointScheme?}. | |
| lines | No | Invoice line items: [{description, quantity, unitPrice, vatRate, unitCode?, vatCategory?}]. | |
| seller | No | Supplier details: {name, vatId, street, city, postalCode, countryCode, endpointId?, endpointScheme?}. | |
| dueDate | No | Payment due date in YYYY-MM-DD format. | |
| currency | No | 3-letter ISO 4217 currency code (default EUR). | EUR |
| issueDate | No | Invoice issue date in YYYY-MM-DD format. | |
| paymentMeans | No | Optional SEPA payment details: {iban, bic?, paymentId?}. | |
| invoiceNumber | No | Unique invoice identifier (e.g. INV-2026-042). | |
| buyerReference | No | Buyer reference or Leitweg-ID / PO number (mandatory in Peppol BIS 3.0). | |
| invoiceTypeCode | No | UNCL1001 document type code: 380 (Invoice) or 381 (Credit Note). | 380 |