Read e-invoices and export them to Excel
European e-invoices arrive as XML (XRechnung, Peppol) or as a PDF with the XML attached (ZUGFeRD, Factur-X). Drop one or many here to see what they say and to get header fields, lines and VAT into one workbook.
This tool reads e-invoices. It does not create, change or validate them. To issue an e-invoice you need invoicing software; here you can only look at what a file you received says, and take it out.
From an e-mail: save the attachment to Files first, then choose it here.
Nothing is uploaded
The file is read in your browser and the result is made on your device. No upload, no account, no cookie, no analytics script.
To check, switch off Wi-Fi once the page has loaded; the tool keeps working. The page's security policy blocks most background requests, but it is not a complete guarantee by itself (WebRTC, for example, is not covered). Privacy page
Which e-invoices does this read?
| What you have | What it is | Read here |
|---|---|---|
An XML file whose top element is Invoice or CreditNote | UBL 2.1: XRechnung, Peppol BIS Billing 3 and other EN 16931 invoices | Yes |
An XML file whose top element is CrossIndustryInvoice | UN/CEFACT CII: XRechnung, or the XML of a ZUGFeRD / Factur-X invoice | Yes |
A PDF with an attached factur-x.xml, zugferd-invoice.xml or xrechnung.xml | ZUGFeRD 2 / Factur-X, profiles MINIMUM to EXTENDED and XRECHNUNG | Yes, the attached XML (EXTENDED: fields beyond EN 16931 are counted, not shown) |
A PDF with an attached ZUGFeRD-invoice.xml | ZUGFeRD 1.0 (2014) | Yes, with fewer sums compared |
| A PDF without an attached XML file | An ordinary PDF: the picture of an invoice | No. There is no text recognition |
| FatturaPA, EDIFACT, ebInterface, orders (Order-X, UBL Order) | Other formats and other documents | No. The tool says that it does not read the file, and why |
The format is recognised from the content of the file, never from its name.
Where is the XML in a ZUGFeRD or Factur-X PDF?
In the PDF's list of attached files. Drop the PDF above: the tool shows the invoice from the attached XML and offers "Save the original XML from the PDF (unaltered)", byte for byte as stored in the PDF. The visible page of the PDF is not read and is not compared with the XML. The profiles MINIMUM and BASIC WL carry totals only, and the tool says that they have no invoice lines.
How do I read many e-invoices at once?
Drop everything together: XML files, PDF files and ZIP archives, in any mix. Each invoice becomes one row on the sheet "Invoices", each invoice line one row on "Lines", each row of the VAT breakdown one row on "VAT". Every row names its source file and the invoice number.
- The same invoice twice. When two files hold the same invoice data byte for byte, the invoice is listed once and a note names both files. When two files with different content carry the same invoice number from the same seller, both are listed, both are marked in the column "Same invoice number in", and a note says whether what was read from them agrees. Nothing is removed in that case.
- Files that cannot be read. A damaged or encrypted file, a ZIP archive inside a ZIP archive, an invoice in a format this tool does not read, or an invoice inside an envelope is listed with its reason in the file list and on the sheet "Files". While such a note exists the tool shows no green confirmation. The same holds when a value in an invoice could not be read as meant.
- Files that are not e-invoices. A text file, a picture or an ordinary PDF without an attached XML file is listed as skipped, with its reason. This tool does not read the picture of an invoice; there is no text recognition.
Credit notes and corrections
The document type is at the top of the view and on every row of the sheets, always with its code: for example "Credit note (381)" or "Corrected invoice (384)". Amounts are written as the file states them. No sign is changed. A credit note normally states its amounts without a minus sign although it reduces what the buyer owes, so if you net invoices against credit notes in one total, look at the document type column. When a batch holds both, a note says so.
What does this tool work out, and what does it not check?
It works out whether the amounts a file states fit together: whether the line net amounts give the stated line total, whether line total minus allowances plus charges gives the total without VAT, whether the VAT amounts of the breakdown give the stated VAT, whether net plus VAT gives the total, and whether that minus what was already paid gives the amount due. The result reads "adds up", "does not add up" with both figures, or "not compared" when the file does not state what is needed. For ZUGFeRD 1.0 only three of these comparisons are made; for the MINIMUM profile the last one is left out.
That is all. This tool
- creates no invoice and changes none,
- does not validate: it checks a file neither against the schema nor against the business rules of the standard,
- says nothing about whether a tax authority or a customer will accept an invoice,
- produces no PDF of the invoice and no booking records, and archives nothing.
For a formal check there are public services: the e-invoice validator of the German state of Baden-Württemberg and the validator software of KoSIT. The German tax administration offers its own viewer, "E-Rechnung ansehen" in ELSTER. Our view is a reading aid: the invoice is the original file.
Which columns does the workbook have?
The workbook has six sheets. The columns are fixed: the same ones in the same order for XRechnung and ZUGFeRD, for one invoice and for many; empty columns are kept. Date cells are real dates and amounts real numbers; quantities, prices and VAT rates keep exactly the digits the file has. Invoice numbers, IBANs and VAT IDs are text. Beside each column is the number of the field in the European standard EN 16931 ("BT" for one field, "BG" for a group), where the column shows a field of the invoice.
Sheet "Invoices"
| Column | Field of the standard |
|---|---|
| Source file | from this tool |
| Document type | BT-3 |
| Invoice number | BT-1 |
| Invoice date | BT-2 |
| Seller | BT-27 |
| Seller VAT ID | BT-31 |
| Seller tax number | BT-32 |
| Buyer | BT-44 |
| Buyer VAT ID | BT-48 |
| Buyer reference (Leitweg-ID) | BT-10 |
| Currency | BT-5 |
| Sum of line net amounts | BT-106 |
| Sum of allowances | BT-107 |
| Sum of charges | BT-108 |
| Total without VAT | BT-109 |
| Total VAT | BT-110 |
| Total with VAT | BT-112 |
| Paid amount | BT-113 |
| Rounding amount | BT-114 |
| Third-party payments (XRechnung extension) | BG-DEX-09 |
| Amount due | BT-115 |
| Due date | BT-9 |
| Payment terms | BT-20 |
| Payment means | BT-81 |
| IBAN / account | BT-84 |
| BIC | BT-86 |
| Account holder | BT-85 |
| Remittance information | BT-83 |
| Mandate reference | BT-89 |
| Creditor identifier | BT-90 |
| Purchase order reference | BT-13 |
| Sales order reference | BT-14 |
| Contract reference | BT-12 |
| Project reference | BT-11 |
| Preceding invoice | BT-25 |
| Delivery date | BT-72 |
| Invoice period from | BT-73 |
| Invoice period to | BT-74 |
| VAT accounting currency | BT-6 |
| Total VAT in accounting currency | BT-111 |
| Seller address | BG-5 |
| Seller contact | BG-6 |
| Buyer address | BG-8 |
| Payee | BT-59 |
| Buyer accounting reference | BT-19 |
| Notes | BT-22 |
| Lines in the file | from this tool |
| Format | from this tool |
| Profile | from this tool |
| Specification identifier | BT-24 |
| Sums (our arithmetic) | from this tool |
| Same invoice number in | from this tool |
| Fields not shown | from this tool |
| Reading remarks | from this tool |
Sheet "Lines"
| Column | Field of the standard |
|---|---|
| Source file | from this tool |
| Invoice number | BT-1 |
| Document type | BT-3 |
| Line | BT-126 |
| Sub-line of | - |
| Line kind (ZUGFeRD EXTENDED) | - |
| Item | BT-153 |
| Item description | BT-154 |
| Seller's item number | BT-155 |
| Buyer's item number | BT-156 |
| Item identifier (e.g. GTIN) | BT-157 |
| Quantity | BT-129 |
| Unit code | BT-130 |
| Unit | BT-130 |
| Net price | BT-146 |
| Price base quantity | BT-149 |
| Gross price | BT-148 |
| Price discount | BT-147 |
| Line net amount | BT-131 |
| Currency | BT-5 |
| VAT category | BT-151 |
| VAT rate % | BT-152 |
| Line period from | BT-134 |
| Line period to | BT-135 |
| Order line reference | BT-132 |
| Buyer accounting reference | BT-133 |
| Allowances and charges on the line | from this tool |
| Line note | BT-127 |
| Item attributes | BG-32 |
| Country of origin | BT-159 |
Sheet "VAT"
| Column | Field of the standard |
|---|---|
| Source file | from this tool |
| Invoice number | BT-1 |
| Document type | BT-3 |
| Other tax type (not VAT) | - |
| VAT category | BT-118 |
| Category in words | BT-118 |
| VAT rate % | BT-119 |
| Taxable amount | BT-116 |
| VAT amount | BT-117 |
| Currency | BT-5 |
| Exemption reason | BT-120 |
| Exemption reason code | BT-121 |
Sheet "Allowances and charges"
| Column | Field of the standard |
|---|---|
| Source file | from this tool |
| Invoice number | BT-1 |
| Level | from this tool |
| Line | BT-126 |
| Allowance or charge | BG-20, BG-21, BG-27, BG-28 |
| Amount | BT-92, BT-99, BT-136, BT-141 |
| Currency | BT-5 |
| Base amount | BT-93, BT-100, BT-137, BT-142 |
| Percentage | BT-94, BT-101, BT-138, BT-143 |
| Reason | BT-97, BT-104, BT-139, BT-144 |
| Reason code | BT-98, BT-105, BT-140, BT-145 |
| VAT category | BT-95, BT-102 |
| VAT rate % | BT-96, BT-103 |
Sheet "Files"
| Column | Field of the standard |
|---|---|
| File | from this tool |
| Result | from this tool |
| Container | from this tool |
| Invoices read | from this tool |
| Detail | from this tool |
Sheet "Notes"
| Column | Field of the standard |
|---|---|
| Kind | from this tool |
| Note | from this tool |
The sheet "Notes" lists every note about the batch first. When a note puts the completeness or the sums in doubt, "Notes" is the first sheet of the workbook; otherwise it is the last.
Text from the invoice stays text
Text cells are never written as formulas; in the CSV, text that begins with =, +, - or @ gets a leading apostrophe. In the view nothing from the file becomes a link, a picture or formatting. Attachments embedded in the XML are named with type and size only, and are neither shown nor saved. XML files with a DOCTYPE or entity declaration are not read, and neither are encrypted PDF files.
Limits
- The fields of the European core invoice (EN 16931) are read. Fields beyond it (the EXTENDED profile, the XRechnung extension, ZUGFeRD 1.0) are counted and named in the view but not shown, and a note says the invoice is shown only in part.
- CII (ZUGFeRD from 1.0, Factur-X, XRechnung) and UBL (Invoice and CreditNote) are read. FatturaPA, EDIFACT, ebInterface, orders (Order-X, UBL Order) and the drafts of ZUGFeRD from before version 1.0 are not; the tool then says why.
- From a PDF, the files listed in the PDF's attachment directory are read; a file only pinned to a page as an annotation is not. A PDF can be written so that different programs take different attached files for the invoice. Where the tool can tell, it says so; it cannot rule it out.
- Tested on 9 October 2026 with more than 500 invoices in XRechnung 1.2 to 3.0, ZUGFeRD 1.0, 2.0 and 2.x / Factur-X 1.0 and Peppol BIS Billing 3, among them 188 PDF files that name 37 different producing programs. These are publicly available test and sample files, not the output of every invoicing product. The first time, compare one invoice with what your own software shows.
- A file may be up to 100 MB; up to 2,000 invoices are read at a time.
TidyImport is run by ArachnAI Inc., 9131 Keele Street, Unit A4, Vaughan, Ontario L4K 0G7, Canada.
Sample files
Every party, number and account in them is invented. The texts are German.
- einvoice-zugferd.pdf - a one-page PDF with an attached
factur-x.xml(profile EN 16931, two lines). An ordinary PDF with an attachment, not the PDF/A-3 file ZUGFeRD requires of a real invoice. - einvoice-xrechnung.xml - an XRechnung in UBL: three lines at two VAT rates, allowances and charges, a cash discount.
- einvoice-gutschrift.xml - a credit note (UBL CreditNote, code 381) for that invoice, with positive amounts as a credit note states them.
- einvoice-gemischt.zip - the three files above and a text file that is no invoice: three invoices in one workbook, a note about the credit note, and one skipped file.
EN 16931-1 and its UBL 2.1 and UN/CEFACT CII bindings; KoSIT (XRechnung), FeRD (ZUGFeRD), FNFE-MPE (Factur-X); ISO 32000-1 for files attached to a PDF.