Public Sector Suppliers
If you invoice federal, state or municipal authorities, you need XRechnung. Many government portals accept only this format.
B2B Businesses
For business-to-business invoicing, ZUGFeRD is the pragmatic choice. Choose at least the "EN 16931" profile to meet legal requirements.
Businesses with Both Audiences
Use software that supports both formats. This way you can choose the appropriate format per recipient — without operating two separate systems.
Note on invoice checking: Both XRechnung and ZUGFeRD carry the supplier VAT ID in structured form. Use the free EU VAT validation tool from Docuflair to validate new suppliers via qualified VIES request and receive a PDF audit report.
Conclusion: For most businesses, ZUGFeRD in the "EN 16931" profile or higher is the best choice. It is practical, archive-ready and meets all legal requirements. XRechnung comes into play additionally when invoicing public administration.