Skip to content

UBL Invoice Generator

Create a valid UBL 2.1 invoice or credit note XML, with the EN 16931 rules checked live.

Your invoice

Saved in this browser only

Preview

Exactly what prints

Quick Tool Overview

The UBL Invoice Generator writes a UBL 2.1 Invoice or CreditNote XML from a simple invoice form, in EN 16931, Peppol or XRechnung flavour, with schema element order, currency-tagged amounts and the business rules checked as you type.

What it does
Generates UBL 2.1 invoice XML
You give it
Parties, lines, VAT and payment details
You get back
A UBL Invoice or CreditNote file
Best for
Peppol, OIOUBL-style and ERP imports
Invoice Tools Free, unlimited use No sign-up Runs in your browser

About the UBL Invoice Generator

UBL — the Universal Business Language — is the OASIS XML standard behind most of the world’s e-invoices. Peppol uses it, Denmark’s OIOUBL is built on it, XRechnung accepts it, and nearly every accounting system that imports e-invoices reads it. It is also unforgiving: element order is part of the schema, and the totals must reconcile exactly.

This builds the UBL for you from an ordinary invoice form. Fill in the parties, lines and VAT, and the Invoice XML is written live beside it — or a CreditNote, with its own root element and CreditedQuantity, when the document is a credit note. Elements come out in schema order, amounts to two decimals with their currencyID, VAT broken down by category, allowances and charges as their own AllowanceCharge blocks.

Choose plain EN 16931, Peppol BIS Billing 3.0 or XRechnung and the specification identifier and the rules checked change with it. The XML is generated in your browser; nothing is uploaded.

Key features of the UBL Invoice Generator

Schema element order

Children in the sequence the UBL schema requires.

Invoice or CreditNote

The correct root, line and quantity elements for each.

Three flavours

EN 16931, Peppol BIS Billing 3.0 or XRechnung identifiers.

Allowances and charges

Discounts and shipping as proper AllowanceCharge blocks.

Live validation

Business rules re-checked on every change.

How to use the UBL Invoice Generator

  1. 1

    Fill in the invoice form

    Or press Sample for a complete example to adapt.

  2. 2

    Pick the UBL flavour

    EN 16931, Peppol BIS Billing 3.0 or XRechnung.

  3. 3

    Read the rule results

    Anything that would fail validation is listed with the fix.

  4. 4

    Copy or download the XML

    A UBL 2.1 Invoice, or a CreditNote for a credit.

Frequently asked questions

UBL 2.1, the version EN 16931, Peppol BIS Billing 3.0 and XRechnung specify. The namespaces are the standard OASIS Invoice-2 and CreditNote-2 ones.

Reviews of the UBL Invoice Generator

What people who use the UBL Invoice Generator think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the UBL Invoice Generator. It takes half a minute and no account.

Write the first review

More invoice tools