Send XRechnung with a Leitweg-ID from Odoo
Mark the German public-sector customer and store the Leitweg-ID supplied by that authority. Germany E-Invoicing writes it to BuyerReference in the XRechnung UBL or Factur-X CII generated by Odoo and can stop sending when the reference or required KoSIT acceptance is missing.
Workflow
How to do it in Odoo
Step 1
Mark the public buyer
On the customer, enable the German public-sector buyer setting.
Step 2
Enter the recipient’s Leitweg-ID
Use the identifier supplied by the public authority; the app checks its expected shape, including the final check component.
Step 3
Generate the electronic invoice
Odoo creates its XRechnung UBL or Factur-X CII and the app writes the value into BuyerReference.
Step 4
Run the checklist and send
Review bilingual errors and, if configured, require local KoSIT acceptance before the normal Odoo send can proceed.
Guardrails
What the app checks
- German company and public-buyer setting
- Leitweg-ID present for a public buyer
- Identifier shape
- BuyerReference in generated UBL or CII
- KoSIT result when acceptance is required