CII UN/CEFACT EN 16931

Edit a CII XML Invoice Online for Free

No more hand-editing angle brackets. Upload a UN/CEFACT Cross Industry Invoice and every element opens as a form field: correct the data, keep the rest, and download valid CII XML again.

Drag and drop a CII XML file (or a hybrid PDF that embeds one) here, or click to browse. One file at a time.

A Form Editor for Cross Industry Invoice XML

CII is verbose and unforgiving: one wrong element or one stale total and validators reject the whole file. Editing it as a form sidesteps both problems.

No Raw XML Involved

The file is parsed into named fields: parties, references, lines, VAT, payment. You never touch namespaces, qualified elements, or the UN/CEFACT structure by hand.

Totals Recomputed for You

Change a quantity, a price, or a VAT rate and the line totals, tax breakdown, and grand total rebuild themselves, which is exactly what validators check first.

Unknown Elements Survive

Content the form does not display, such as embedded attachments, notes, and document level charges, is carried into the regenerated XML unchanged.

Valid EN 16931 on the Way Out

The rebuilt CII XML is checked against the schema and the EN 16931 business rules before download, so what you get back parses and passes.

How It Works

From broken XML to a valid Cross Industry Invoice in three steps.

Step 1

Upload the CII File

Drop in the standalone CII XML, or a Factur-X hybrid PDF: the embedded invoice XML is read straight out of it.

Step 2

Edit as a Form

Correct the fields that are wrong or missing. Everything is plain inputs and dropdowns; the XML structure stays out of your way.

Step 3

Download Valid XML

Generate a fresh UN/CEFACT CII file, validated against EN 16931 before the download starts. No PDF wrapper, pure XML.

Frequently Asked Questions

Editing and fixing UN/CEFACT CII invoices.

CII (Cross Industry Invoice) is the UN/CEFACT XML syntax that carries the EN 16931 invoice model. It is the format inside every Factur-X and ZUGFeRD hybrid, the CII flavor of XRechnung, and one of the syntaxes accepted by the French reform. This editor works on the XML itself.
Because CII makes it easy to break more than you fix: elements are namespaced and order-sensitive, amounts appear in several places that must agree, and the EN 16931 rules cross-reference fields. A form editor changes the data and leaves the syntax, the sums, and the structure to the machine.
That is the main use case. Upload the rejected file, correct the fields the validator complained about (totals, identifiers, dates, IBAN), and download a file that passes the same checks. To read the full rule report first, run the file through the CII validator.
Yes. Upload the hybrid PDF and the embedded CII XML is extracted into the form. Note that this page downloads standalone XML; if you want a corrected hybrid PDF back, use the Factur-X invoice editor instead.
They ride along. The parsed document keeps everything the form does not surface, attachments and notes included, and merges it back when the XML is regenerated, so editing one field does not strip the rest.
It is checked before you receive it: the regenerated XML must pass the CII schema and the EN 16931 business rules, the same bar receiving platforms apply. If something still fails, the errors are shown on the form instead of a download.
Nothing within the daily allowance, one file at a time. Premium lifts the limits and adds batch processing for up to 100 invoices.

How to Edit a CII XML Invoice Without Breaking It

Sooner or later every team that exchanges e-invoices ends up staring at a Cross Industry Invoice file that needs one change: an IBAN typed wrong, a stale due date, a VAT total the validator refuses, and no access to the system that generated the file. The editor above turns that XML into a form, lets you change the data, and writes a fresh, validated CII file back out.

Why hand-editing CII XML usually ends badly

CII was designed for machines. The elements live in three namespaces (rsm, ram, udt), their order inside each parent is fixed by the schema, and monetary amounts are repeated in several places that must stay in agreement: line totals, tax bases per category, the tax total, the grand total. Change a single price in a text editor and you have four other numbers to update, in the right elements, with the right rounding. Miss one and the file fails the EN 16931 arithmetic rules; nudge an element out of order and it stops parsing entirely.

What the form editor does instead

The uploaded file is parsed into the EN 16931 invoice model: seller and buyer with their identifiers, document references, line items, VAT breakdown, payment details. You edit plain fields; quantities, prices, and rates recompute every dependent total on the fly. Whatever the form does not display, embedded attachments, notes, and document level allowances included, is preserved and merged back. On download the XML is regenerated from scratch by the same engine behind the CII generator, so element order, namespaces, and encoding are correct by construction.

The fixes people actually come here for

  • Repairing the VAT breakdown after a price or rate change, so the category totals and the grand total agree again
  • Correcting or adding the seller's VAT identifier or SIREN
  • Fixing an IBAN, or adding one where the payment means requires it
  • Setting the buyer reference a public-sector customer insists on
  • Repairing dates that were exported in the wrong format
  • Completing an address whose country code was left empty

Standalone XML or hybrid PDF: pick the right editor

This page reads a standalone CII file (or pulls the XML out of a hybrid PDF) and gives you corrected, standalone CII XML back: the right tool when your process exchanges raw XML. If what you need back is a corrected Factur-X hybrid PDF, the invoice editor produces one from the same upload:

Read the rule report, then edit, then check again

If a platform rejected the file and you only have the error codes, validate it first: the report names every violated rule and the element behind it, which tells you exactly which fields to change here. The regenerated file is validated again before download, so the round trip ends with a file that passes:

All the Tools You Need

A complete suite, in one place

Prefer classic tools over chat? Every action is also available in one click.

AI Assistant

Chat to convert, create, validate and extract your e-invoices.

Open tool

PDF to Factur-X

Turn legacy invoices into compliant Factur-X PDF/A-3b files instantly.

Open tool

Create Factur-X PDF

Build compliant Factur-X invoices from scratch with our guided wizard.

Open tool

Create CII XML

Generate a standalone UN/CEFACT CII XML invoice, no PDF wrapper.

Open tool

Factur-X Credit Note

Issue a compliant Factur-X credit note that corrects or cancels an invoice.

Open tool

CII Credit Note

Generate a standalone UN/CEFACT CII credit note as pure EN 16931 XML.

Open tool

Create Order-X

Create an Order-X purchase order, the hybrid PDF companion of Factur-X for ordering.

Open tool

Edit Factur-X Invoice

Fix a rejected or invalid invoice: upload it, edit any field, and download a compliant file.

Open tool

Edit CII XML

Open a CII invoice as a form, fix rejected or invalid XML, and download a valid file.

Open tool

Validate Factur-X

Check your invoices against EN 16931 and the 2026 French mandate.

Open tool
X

Validate CII XML

Validate cross-industry invoice (CII) XML against EN 16931.

Open tool

Validate Order-X

Check Order-X purchase orders against the official Order-X 1.0 schema and rules.

Open tool

Extract XML

Extract structured XML data from any PDF invoice using AI-powered OCR.

Open tool

Extract Attachments

Pull every embedded file out of a Factur-X or CII invoice as a ZIP.

Open tool

Embed XML to PDF

Embed your existing CII XML into a PDF to produce a compliant hybrid Factur-X file.

Open tool
X

CII to Factur-X

Convert your CII XML into a compliant Factur-X PDF/A-3 hybrid invoice.

Open tool

CII to UBL

Convert a CII invoice into UBL XML, the syntax most widely used on Peppol.

Open tool

UBL to CII

Convert a UBL invoice into UN/CEFACT CII XML, ready for Factur-X or ZUGFeRD.

Open tool

CII to PDF

Render CII, UBL or XRechnung XML as a clean, human-readable PDF.

Open tool

CII Viewer

Open e-invoice XML in your browser and read it like a paper invoice.

Open tool
Ready for 2026 e-invoicing?

Make every invoice compliant, in one message

Sign up to unlock unlimited tools, selectable compliance profiles and every premium feature.

EN 16931 & PDF/A-3b compliant Results in seconds No installation Data never stored
2 free uses per day · No card required