E-invoice rule explained · XRechnung
BR-DE-CVD-01: Contract reference is missing on a Clean Vehicles invoice
Official message
Das Element "Contract reference" (BT-12) muss übermittelt werden.
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-12
What does BR-DE-CVD-01 mean?
This rule only runs on invoices that declare the XRechnung extension for the Clean Vehicles Directive, that is when the specification identifier (BT-24) is exactly urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#compliant#urn:xeinkauf.de:kosit:xrechnung:cvd_0.9. Such an invoice must carry a non-empty contract reference (BT-12), the number of the contract the vehicle was bought under.
Usual causes
- The invoice was switched to the CVD identifier but the contract number was never filled in.
- The contract number was written into a note, the order reference (BT-13) or the buyer reference (BT-10) instead of BT-12.
- The element is there but empty or contains only spaces.
How do I fix BR-DE-CVD-01?
- Take the contract number from the public buyer's award letter or contract.
- Put it in cac:ContractDocumentReference/cbc:ID (UBL) or ram:ContractReferencedDocument/ram:IssuerAssignedID inside ram:ApplicableHeaderTradeAgreement (CII).
- If the invoice is not about a vehicle reported under the Clean Vehicles Directive, use the normal XRechnung identifier in BT-24 instead of the CVD one.
Corrected XML (minimal example we wrote)
UBL
<cac:ContractDocumentReference> <cbc:ID>V-2026-0815</cbc:ID> </cac:ContractDocumentReference>
CII
<ram:ApplicableHeaderTradeAgreement> <ram:BuyerReference>04011000-12345-34</ram:BuyerReference> <ram:ContractReferencedDocument> <ram:IssuerAssignedID>V-2026-0815</ram:IssuerAssignedID> </ram:ContractReferencedDocument></ram:ApplicableHeaderTradeAgreement>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the KoSIT XRechnung Schematron, v2.6.0 (for XRechnung 3.0) (Apache-2.0), compiled from upstream commit 7e3ddbe. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. KoSIT XRechnung Schematron v2.6.0 (for XRechnung 3.0)