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.

Write a Leitweg-ID into Odoo XRechnung outputThe public buyer reference is written into the XRechnung UBL and Factur-X CII generated by Odoo.
Block XRechnung sending until KoSIT acceptsThe pre-send checklist refuses to send while required local KoSIT validation is unavailable.

How to do it in Odoo

Mark the public buyer

On the customer, enable the German public-sector buyer setting.

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.

Generate the electronic invoice

Odoo creates its XRechnung UBL or Factur-X CII and the app writes the value into BuyerReference.

Run the checklist and send

Review bilingual errors and, if configured, require local KoSIT acceptance before the normal Odoo send can proceed.

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