DEV Community

ismail183
ismail183

Posted on

XRechnung Validation Without Java: A Free Browser-Based Alternative

If you've ever tried to validate an XRechnung file, you've probably ended up at the KoSIT validator - a Java command-line tool that requires a JDK, a specific configuration file, and about 45 minutes of setup before you can validate your first invoice.

There's a faster way.


What is XRechnung?

XRechnung is Germany's national e-invoicing standard, based on UBL 2.1 and the European norm EN 16931. It has been mandatory for invoices submitted to German federal public authorities since November 2020, and is progressively being adopted across state and municipal levels.

If you sell to German public sector clients, you need XRechnung. If you're building an ERP or accounting integration for the German market, you need to generate and validate it.


The Official Validator: KoSIT

The official validation tool is maintained by KoSIT (Koordinierungsstelle fΓΌr IT-Standards). It's a Java application that runs XSD schema validation + Schematron business rules (the EN 16931 BR-* rules that go beyond what XSD can check).

Validate Without Java

xmlbridge.com/xrechnung runs the official KoSIT validator server-side and returns the result in seconds. Upload your file, get a pass/fail with error details. No Java, no config files, no local setup.

It also generates XRechnung files from a form if you need to create test invoices quickly.

Conclusion

XRechnung validation is painful to set up locally. For quick checks, use the free browser validator. For CI/CD, use the API. For generating test invoices, the form-based generator covers most use cases.

The KoSIT Java validator is still the gold standard for production systems β€” but you don't need it for development and testing.

Try it at xmlbridge.com/xrechnung.

Top comments (0)