Skip to content

XML Invoice Generator

Turn an invoice into XML — a plain readable file, UBL 2.1 or CII — from a simple form.

Your invoice

Saved in this browser only

Preview

Exactly what prints

Quick Tool Overview

The XML Invoice Generator turns an invoice form into XML — a plain, readable structure for your own systems, standard UBL 2.1, or UN/CEFACT CII — all written live from the same invoice so the three always agree.

What it does
Creates an invoice XML file
You give it
An invoice form
You get back
Plain XML, UBL 2.1 or CII
Best for
ERP imports, integrations and archives
Invoice Tools Free, unlimited use No sign-up Runs in your browser

About the XML Invoice Generator

An XML invoice is what you need when an invoice has to move between systems rather than between people: an import into an ERP, a feed to a customer’s procurement platform, an archive that software has to search. Which XML depends on who reads it.

This produces three. Plain invoice XML is a simple, readable structure — header, seller, buyer, lines and totals — for your own integrations, where a standard would be overkill. UBL 2.1 is the OASIS standard used by Peppol and most e-invoicing networks. CII is the UN/CEFACT Cross Industry Invoice inside Factur-X and ZUGFeRD. All three are written live from the same invoice form, so they always agree.

The standard formats are checked against the EN 16931 business rules as you type. The file is built in your browser and never uploaded.

Key features of the XML Invoice Generator

Plain XML for integrations

Obvious element names, no standard to learn.

Standard XML for e-invoicing

UBL 2.1 and CII, checked against EN 16931.

Properly escaped

Ampersands, accents and symbols survive as UTF-8.

Live preview

The XML updates as the form changes.

Private

Built in your browser, never uploaded.

How to use the XML Invoice Generator

  1. 1

    Fill in the invoice

    Parties, items, tax and payment details.

  2. 2

    Choose the XML

    Plain XML for your own systems, or UBL or CII for e-invoicing.

  3. 3

    Check the preview

    The XML updates on every change, with the rules underneath for the standard formats.

  4. 4

    Download the file

    A UTF-8 .xml file named after the invoice number.

Frequently asked questions

There is no single one. For e-invoicing to businesses or governments it is UBL or CII under EN 16931. For your own integration, a plain XML that mirrors your data is usually easier to map.

Reviews of the XML Invoice Generator

What people who use the XML 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 XML Invoice Generator. It takes half a minute and no account.

Write the first review

More invoice tools