Archive and validation report
New in 2.0.
Archive
Section titled “Archive”Invoices must be kept unchanged for years (for example 8 years for invoices in Germany and 10 years under French commercial law; check the rules of your country). Since 2.0 the add-on keeps the exact bytes of every file that left your store:
| Event | When |
|---|---|
| Issued | The document is created (its own format) |
| Rebuilt | You rebuild it from the order |
| Sent over Peppol | The file is handed to your access point |
| E-mailed | The file is attached to the order status e-mail |
| Archived by hand | Archive now on the document page |
Each copy is stored with its SHA-256 and a link in a hash chain over all copies of the store. A copy is never changed; the same bytes are not stored twice. Downloads use the newest archived copy of a format, unless the document was rebuilt after it (then a new copy is made on the next event, or with Archive now).
Orders > e-Invoices > Archive lists the copies (newest 200), with:
- Export ZIP: the newest copy of every document and format issued in the chosen period, plus
manifest.csv(file, document, type, issue date, order, format, event, archive time, size, SHA-256, chain hash) and a README. Check a file withsha256sum. - Check integrity (store administrators): recomputes every file hash and every chain link and names the archive IDs of a changed file or a broken link.
The document page shows its copies with time, format, event, size and hash, and a download per copy.
The archive is kept when you uninstall the add-on, like the documents and number series (unless you tick Permanently delete all invoice data on uninstall). It lives in the store database: include it in your database backups.
Vendors (Multi-Vendor) see and export the copies of their own documents.
Validation report
Section titled “Validation report”Validation report on the document page opens a printable report:
- the document facts (number, date, seller, buyer, VAT ID, registration number, buyer reference, total, country module, operation category, VAT on debits, Peppol state),
- the result per format (passed, warnings, needs attention) with the number of errors and warnings; the document’s own format is marked,
- every finding with its level, rule ID, source (EN 16931, XRechnung, Peppol BIS 3.0, France DGFiP, Belgium, Germany, XML Schema, order data) and text,
- the archived copies with their SHA-256,
- what was checked.
Print / save as PDF prints it (the admin menu is hidden in print); Download JSON gives the same data for your records or a support request.
The report runs every check again when you open it, including the XML Schema check of all four formats (OASIS UBL 2.1, UN/CEFACT CII D16B, shipped with the add-on). The full official rule sets (CEN EN 16931 schematron, KoSIT XRechnung, OpenPeppol) need Java/XSLT 2 and run in our release tests, not in your store. The report is not a certification.