https://github.com/simonwaldherr/invoiceinspector
A lightweight web-based viewer for electronic invoices, supporting ZUGFeRD, XRechnung, EN 16931, and more.
https://github.com/simonwaldherr/invoiceinspector
en16931 erechnung webviewer xrechnung zugferd
Last synced: 4 months ago
JSON representation
A lightweight web-based viewer for electronic invoices, supporting ZUGFeRD, XRechnung, EN 16931, and more.
- Host: GitHub
- URL: https://github.com/simonwaldherr/invoiceinspector
- Owner: SimonWaldherr
- License: gpl-2.0
- Created: 2024-12-08T14:15:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-13T17:24:35.000Z (4 months ago)
- Last Synced: 2026-02-14T01:20:07.504Z (4 months ago)
- Topics: en16931, erechnung, webviewer, xrechnung, zugferd
- Language: HTML
- Homepage: https://simonwaldherr.github.io/InvoiceInspector/
- Size: 143 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README
# InvoiceInspector
[](https://doi.org/10.5281/zenodo.15257729)
[](https://opensource.org/licenses/MIT)
[](https://github.com/SimonWaldherr/InvoiceInspector/releases)
[](https://github.com/SimonWaldherr/InvoiceInspector/stargazers)
A lightweight, client-side web viewer for electronic invoices with support for ZUGFeRD, XRechnung, EN 16931, and other standards.
[Deutsche Version](README.md) | English Version
InvoiceInspector is closely related to the
[SimonWaldherr/InvoiceGenerator](https://github.com/SimonWaldherr/InvoiceGenerator)
project. You can try the associated ZUGFeRD invoice generator directly in your
browser:
https://simonwaldherr.github.io/InvoiceGenerator/
## Demo
[](https://www.youtube.com/watch?v=OcTL1rdS2Uk)
## Features
### Complete invoice analysis
- **Invoice Information**: Number, type, date, due date, order number
- **Seller/Buyer Details**: Name, address, contact information, tax ID, commercial register
- **Payment Information**: IBAN, BIC, payment method, payment terms, all amounts
- **Detailed Line Items**: With units, tax rates, and calculations
### Privacy and security
- **100% client-side**: No data transmission to servers
- **No installation**: Runs directly in the browser
- **Offline capable**: Works without internet connection
- **Open Source**: Fully transparent code
### Advanced features
- **Statistics Dashboard**: Overview of line items and totals
- **Multi-format Export**: XML, PDF, JSON, CSV
- **Responsive Design**: Optimized for desktop and mobile
- **Dark Mode**: Automatic system preference detection
- **Multilingual**: German and English
- **Loading Indicators**: User-friendly processing feedback
### Technical aspects
- **PDF Extraction**: Automatic XML extraction from ZUGFeRD PDFs
- **Robust XML Parsing**: Support for various namespaces
- **Error Handling**: Detailed error messages
- **Accessibility**: Semantic HTML and ARIA labels
## Usage
1. **Open** `index.html` in your browser
2. **Drag** a ZUGFeRD PDF or XRechnung XML into the drop zone or click to select
3. **View** the automatically extracted and structured data
4. **Export** the data in various formats
### Supported file formats
- **ZUGFeRD PDF/A-3** (all profiles: MINIMUM, BASIC WL, BASIC, COMFORT, EXTENDED)
- **XRechnung XML** (all versions)
- **EN 16931 compatible XML files**
- **Factur-X** (French ZUGFeRD standard)
## Tested examples
Extensive testing with examples from [github.com/ZUGFeRD/corpus](https://github.com/ZUGFeRD/corpus).
## Legal notes
### Official Elster Tool
There is now an official tool available at [elster.de](https://www.elster.de/eportal/e-rechnung).
While I would very much like to direct attention to this official tool and explicitly recommend it, I do so with considerable reservations:
**Limitations of the official tool:**
1. **Data upload**: Data is uploaded to the Elster server (instead of being processed directly in the browser).
2. **No guarantee**: The official tool also notes that it cannot guarantee proper functionality or accurate extraction of displayed data.
### Disclaimer
- **No warranty** for accuracy, completeness, or legal compliance.
- **No liability** for damages or losses resulting from use.
- **User responsibility** for correct processing and verification of data.
### Why a single HTML file?
- **Easy deployment**: Just copy one file.
- **No dependencies**: Runs without additional assets.
- **High portability**: Works on any web server.
- **Offline capable**: No external resources required.
## License
This project is licensed under the [MIT License](LICENSE).
## Links
- **Repository**: [github.com/SimonWaldherr/InvoiceInspector](https://github.com/SimonWaldherr/InvoiceInspector)
- **Issues**: [GitHub Issues](https://github.com/SimonWaldherr/InvoiceInspector/issues)
- **Releases**: [GitHub Releases](https://github.com/SimonWaldherr/InvoiceInspector/releases)
- **ZUGFeRD Standard**: [ferd-net.de](https://www.ferd-net.de/)
- **XRechnung**: [xeinkauf.de](https://xeinkauf.de/xrechnung/)
## Author
Simon Waldherr
- Website: [simonwaldherr.de](https://simonwaldherr.de)
- GitHub: [@SimonWaldherr](https://github.com/SimonWaldherr)