Where XRechnung fits
For German public-sector buyers and many German e-invoicing workflows, XRechnung is a pure XML invoice. German B2B e-invoicing rules distinguish structured e-invoices from ordinary PDFs, so start from the structured data your recipient expects.
Leitweg-ID and delivery route
Public-sector recipients usually provide the Leitweg-ID. Put it in BuyerReference BT-10 and confirm whether the recipient wants direct XML, Peppol, an OZG-RE/ZRE-style portal, or another portal upload.
XRechnung, ZUGFeRD or PDF
Use XRechnung when the recipient expects a machine-readable XML invoice. Use ZUGFeRD or Factur-X when a hybrid PDF/A-3 file with embedded XML is accepted. A normal PDF alone is not a structured e-invoice.
Validate before sending
Schema validity is only the first check. Review BR-DE and XRechnung business rules, tax logic, mandatory references and recipient-specific routing before treating the XML as ready.