How to use
Please note first: this tool creates the e-invoice XML that German, French and other European customers ask for (the EN 16931 standard, XRechnung and Factur-X). It is a different system from Korea’s electronic tax invoice (Hometax and the National Tax Service transmission), with different legislation and a different format, and it cannot issue a Korean tax invoice. It is not legal or tax advice, so check your recipient’s requirements and an official validator before you send anything.
- Pick the XML syntax and the profile. XRechnung 3.0 is what German public bodies ask for; Factur-X is common in France and in private-sector trade.
- Fill in the document details, seller and buyer, the lines and the payment details. A sample is preloaded, so just change the values. All names and numbers in the sample are fictitious.
- Read the totals, the VAT breakdown and the check results under Result. Any problem is shown with its rule number and what is missing.
- Use Document for a readable preview or XML for the raw file, then Download XML.
- To attach the XML to a PDF as a hybrid file use PDF to Factur-X E-Invoice; to check an XML you already have use the E-Invoice Validator.
Syntaxes and profiles
| Choice | CustomizationID (BT-24) | Notes |
|---|---|---|
| XRechnung 3.0 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 |
German public procurement. BT-23 carries the Peppol process id. Works in UBL and CII |
| EN 16931 | urn:cen.eu:en16931:2017 |
The base profile of the European standard. UBL or CII |
| Factur-X BASIC | urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic |
CII only. A subset without items such as contacts and BIC |
| Factur-X MINIMUM | urn:factur-x.eu:1p0:minimum |
CII only. Totals only, no lines and no VAT breakdown |
CII (UN/CEFACT Cross Industry Invoice D16B) is used by Factur-X and ZUGFeRD; UBL 2.1 is common with Peppol and XRechnung. Calculation is separate from syntax, so both give the same totals for the same input. A UBL document of type 381 (credit note) gets a CreditNote root and CreditedQuantity elements.
Calculation and rounding
Every amount is computed as an integer number of cents (BigInt); no floating point is used.
- Quantity takes up to 4 decimals, and so does the net price (BT-146).
- Line net amount (BT-131) = quantity × price, rounded half up to 2 decimals (0.5 rounds up; negatives use the absolute value).
- VAT (BT-117) is not computed per line. It is taxable amount × rate of one category and rate group, calculated once and rounded half up to 2 decimals. The taxable amount is the sum of the group’s line amounts plus document-level charges minus allowances.
- BT-109 = BT-106 − BT-107 + BT-108, BT-112 = BT-109 + BT-110, BT-115 = BT-112 − BT-113.
| Input | Calculation | Result |
|---|---|---|
| 1 × 183.23 at 6% | 10.9938 | VAT 10.99 |
| 1 × 1.25 at 10% | 0.125 | VAT 0.13 (0.5 rounds up) |
| 2.5 × 3.3333 | 8.33325 | line amount 8.33 |
| 3 × 10.3333 | 30.9999 | line amount 31.00 |
| three lines of 0.50 at 7% | 1.50 × 7% = 0.105 | VAT 0.11 (0.12 if computed per line) |
The sample invoice has line amounts 950.00, 240.00 and 49.80, totalling 1,239.80. VAT is 1,190.00 × 0.19 = 226.10 for the 19% group and 49.80 × 0.07 = 3.486, rounded up to 3.49, for the 7% group: 229.59 together. The total with VAT is 1,469.39.
VAT categories
| Code | Meaning | Rate | Exemption reason (BT-120, BT-121) |
|---|---|---|---|
| S | Standard rate | you enter a rate above 0 | not allowed |
| Z | Zero rated | 0 | not allowed |
| E | Exempt | 0 | required |
| AE | Reverse charge | 0 | required; buyer VAT or registration id also required |
| K | Intra-community supply | 0 | required; buyer VAT id plus delivery date and deliver-to country |
| G | Export outside the EU | 0 | required |
| O | Not subject to VAT | no rate element | required; cannot be mixed with other categories |
| L, M | Canary Islands (IGIC), Ceuta and Melilla (IPSI) | you enter 0 or more | not applicable |
The per-category requirements follow the EN 16931 rules BR-S, BR-Z, BR-E, BR-AE, BR-IC, BR-G and BR-O, and the generated XML is checked again at once with the same rules as the E-Invoice Validator.
Scope and limits
- Supported: lines, document-level allowances and charges, VAT breakdown per category, prepaid amount, deliver-to address, invoicing period, payment means (credit transfer and others), seller contact and electronic addresses.
- Not supported yet: attachments, line-level allowances and charges, payee and tax representative, VAT accounting currency (BT-6) and preceding invoice references (BG-3). For that reason corrected invoices (384) are not offered.
- Rule ids and criteria were transcribed from the EN 16931 validation artefacts 1.3.17 and the XRechnung 3.0.2 Schematron. The generated CII was checked against the element order and mandatory elements of the official XSDs, and UBL against the UBL 2.1 XSD order. It still does not replace the KoSIT validator or your recipient’s system.
Rules to be aware of (as of 2026-10-19, subject to change)
Germany is understood to require every business to be able to receive e-invoices from 2025, with the duty to issue them phased in: 2027 for businesses with a turnover above 800,000 euros and 2028 for the rest. It is widely read that the MINIMUM and BASIC WL profiles of ZUGFeRD and Factur-X do not count as e-invoices because they do not carry the full invoice content. France plans to phase in mandatory e-invoicing from September 2026, and the detailed schedule has changed before. For the actual obligations and dates check the official guidance of the German Federal Ministry of Finance and the French tax authority, or ask a tax professional.
Frequently asked questions
Should I create XRechnung in UBL or CII?
The recipient decides, and most German public bodies accept both. Use UBL if you send over the Peppol network and CII if you attach the file to a Factur-X or ZUGFeRD hybrid PDF. Both carry the same content; only element names and structure differ.
Can this tool create a Korean electronic tax invoice?
No. The Korean electronic tax invoice is a separate system that is transmitted to the National Tax Service through Hometax or an ASP provider. This tool is for invoice files sent to European customers.
What goes into the buyer reference (BT-10)?
It is mandatory in XRechnung. For a German public body enter the Leitweg-ID that body gave you (a form like 04011000-12345-34). In private-sector trade use the order or contact reference your counterpart uses. The value in the sample is fictitious.
If it shows no errors, can I send the file straight away?
No. The check covers only some of the rules. It does not run XSD validation, syntax rules or national extra rules, so confirm with an official tool such as the KoSIT validator or with the recipient’s system before sending.
Why does the VAT differ by one cent from my calculator?
Adding up VAT computed per line can differ from VAT computed once per group because of rounding. EN 16931 is based on the group (taxable amount × rate), and so is this tool. If an ordinary VAT calculator disagrees, suspect this difference.
Is my data sent to a server?
No. Input, calculation and XML generation all run in your browser and nothing is sent to a server. Nothing you type on this page is stored.
Related tools
The Invoice Maker makes an ordinary invoice for PDF output and the Quote Maker makes quotations. The XML Validator can check the syntax of the XML you created. Everything you enter is processed in your browser and never sent to a server.