Peppol UBL Invoice Builder

Fill in an invoice, generate the UBL XML and immediately run the same Belgian and Peppol checks as the validator.

Local: yes. Your input stays on your device and is not sent to an external service for this tool.

Invoice details

Seller

Buyer

Invoice lines

DescriptionQtyUnitUnit priceVAT %

Validation

Invoice preview

The invoice is generated and validated entirely in your browser. Nothing is sent.

How the builder works

Fill in seller, buyer, lines and payment details; the builder writes a UBL 2.1 invoice following Peppol BIS Billing 3.0 and immediately runs the same local checks as the Peppol validator. It computes, per EN 16931:

  • each line net amount as quantity × net price, rounded to two decimals;
  • a VAT breakdown per category and rate (taxable amount and VAT amount per group);
  • document totals: sum of lines, total without VAT, total VAT, total with VAT and amount due.

Seller and buyer get cbc:EndpointID with scheme 0208 and their enterprise number, which is checked with modulo 97. The payment section takes an IBAN (checked, BIC derived for Belgian banks) and an OGM or RF reference, also checked.

Sample: two lines, one VAT rate

Line 1  Consulting   8 HUR × 95.00  = 760.00   S 21%
Line 2  Travel       1 C62 × 40.00  =  40.00   S 21%
Sum of lines                          800.00
VAT 21% on 800.00                     168.00
Total with VAT / amount due           968.00

<cac:TaxSubtotal>
  <cbc:TaxableAmount currencyID="EUR">800.00</cbc:TaxableAmount>
  <cbc:TaxAmount currencyID="EUR">168.00</cbc:TaxAmount>
  <cac:TaxCategory><cbc:ID>S</cbc:ID><cbc:Percent>21</cbc:Percent>...

Rules and edge cases

  • VAT per group, not per line. VAT is calculated on the summed taxable amount of each category and rate, as EN 16931 requires; this can differ by a cent from adding up VAT per line.
  • Exempt and reverse-charge lines (E, AE, K, G, O) need an exemption reason, and reverse charge needs the buyer's VAT number.
  • Belgian rates are 21, 12, 6 and 0%; other rates produce a warning.
  • Numbering and dates are your responsibility: invoice numbers must follow your own continuous series.

Sending is a separate step

Downloading a valid XML does not send it through Peppol. Delivery requires a certified Peppol access point or your accounting package. Check that the customer is reachable with the Peppol ID checker, open the result in the invoice viewer, and read the Peppol and UBL guide.

Frequently asked questions

Can I send the invoice over Peppol from here?

No. The builder creates and validates the UBL XML. Sending requires a certified Peppol access point or invoicing software connected to one.

Which format does the builder produce?

UBL 2.1 XML following Peppol BIS Billing 3.0, the Peppol profile of EN 16931 used for Belgian B2B e-invoicing.

How is VAT calculated?

Line amounts are quantity times net price, rounded to two decimals. VAT is then calculated per VAT category and rate on the sum of the taxable amounts, as EN 16931 requires.

Can I add a structured communication?

Yes. Enter an OGM or an RF creditor reference as the payment reference; its check digits are validated before the XML is generated.

Is my invoice data stored?

No. The invoice is built and validated in your browser and nothing is sent to gratistools.be.