Skip to content

Invoice to XML

Turn an invoice into XML — plain and readable, or standards-compliant UBL or CII.

Or drop an invoice file here — PDF, XML, JSON, CSV or an image

Quick Tool Overview

Invoice to XML converts an invoice from JSON, CSV, a PDF or text into XML — a plain readable structure for your own integrations, or standards-compliant UBL 2.1 and CII checked against the EN 16931 business rules.

What it does
Converts an invoice into XML
You give it
JSON, CSV, a PDF, text or other XML
You get back
Plain XML, UBL 2.1 or CII
Best for
E-invoicing and system integrations
Invoice Tools Free, unlimited use No sign-up Runs in your browser

About the Invoice to XML

There are two reasons to want an invoice as XML, and they need different files. One is an integration with a system that reads XML, where a plain, obvious structure is easiest to map. The other is e-invoicing, where only a standard will do and the receiver will reject anything else.

This produces both. Plain invoice XML is a readable structure — header, seller, buyer, lines, totals — with element names a person can guess. UBL 2.1 and UN/CEFACT CII are the two syntaxes EN 16931 defines, and they come out with the elements in schema order and the arithmetic redone the way the standard demands.

The source can be almost anything: the JSON these tools export, a CSV, a PDF invoice, pasted text, or an e-invoice in the other syntax. Standard output is checked against the business rules before you download it.

Key features of the Invoice to XML

Standards or plain

UBL and CII, or readable XML of your own.

Schema element order

Which is half of what makes UBL valid.

Rules checked

Before you send it anywhere.

Properly escaped

Ampersands and accents survive.

Private

Built in your browser.

How to use the Invoice to XML

  1. 1

    Paste or drop the invoice

    JSON, CSV, a PDF, text or another XML.

  2. 2

    Choose the XML

    Plain, UBL 2.1, or CII.

  3. 3

    Read the rule results

    Standard formats are checked against EN 16931.

  4. 4

    Download the file

    UTF-8, named after the invoice number.

Frequently asked questions

Ask, but the safe assumption in Europe is Peppol BIS Billing 3.0, which is UBL. German public bodies want XRechnung; French and German suppliers often use Factur-X or ZUGFeRD, which is CII.

Reviews of the Invoice to XML

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

Write the first review

More invoice tools