What is in the file
An e-invoice is a single XML file. It contains, in tagged fields, the invoice number, date, seller, buyer, lines, VAT by rate, totals and payment information. The basis is the European standard EN 16931, while the structure submitted to VID is in UBL 2.1 syntax with the PEPPOL BIS Billing 3.0 specification.
The file may also contain an attached PDF copy, but the human-readable PDF is not the document that counts as the e-invoice.
Why the exact file that was sent must be kept
If the XML is generated again a month or a year later, the data in the software may have changed: the partner's address, name or other fields. The “same” invoice is then no longer identical to what the buyer received. The accounting supporting document is the file that actually went out.
Storage checklist
- Save the XML of every sent and received e-invoice together with the accounting documents for the relevant period.
- Make sure the file can be found by number, date and partner.
- Restrict access: e-invoices contain commercial information and bank details.
- Make backups and check that the files can be read.
- Check the retention period in the Accounting Law and in your company's document retention procedure.
Common mistakes
- Only the PDF is saved, but not the XML.
- The XML is “restored” from the software instead of the sent file being kept.
- The file is kept only as an email attachment and disappears when the mailbox is cleaned up.
Next steps
For retention periods, see the question How long must an e-invoice be kept.