BR-DE-CVD-01: CVD invoice without contract reference (BT-12)
An XRechnung declared for the Clean Vehicles Directive reporting (the CVD use of XRechnung, for vehicles procured under the Saubere-Fahrzeuge-Beschaffungs-Gesetz) must carry the contract reference, BT-12. Below: the message, the cause and the fix.
- Specification: XRechnung 3.0 rules, XRechnung 3.0.2 schematron 2.6.0
- Severity: error
- Business terms: BT-12
- Reported by
POST /einvoice/validateand our free validators, with a link to this page
The message validators print
BR-DE-CVD-01 is a rule of the XRechnung 3.0 rules (xrechnung-schematron 2.6.0 (XRechnung 3.0.2)) for UBL and CII. It is an error (fatal): a validator rejects the invoice.
[BR-DE-CVD-01] Das Element … "Contract reference" (BT-12) muss übermittelt werden.What it checks
An XRechnung declared for the Clean Vehicles Directive reporting (the CVD use of XRechnung, for vehicles procured under the Saubere-Fahrzeuge-Beschaffungs-Gesetz) must carry the contract reference, BT-12.
Why invoices fail it
The CVD identifier is used in BT-24 but the contract number is not mapped.
How to fix it
Write the contract reference (cac:ContractDocumentReference/cbc:ID, ram:ContractReferencedDocument/ram:IssuerAssignedID), or use the plain XRechnung identifier if the invoice is not a CVD report.
No checked example yet
A CVD invoice classifies the vehicle with listID="CVD", which the CEN rule BR-CL-13 (UNTDID 7143 only) rejects: with the published files no CVD invoice passes both rule sets at once, so no valid fix can be shown. The page is not indexed until that is resolved.
The rule as published
Where the rule applies (context) and what must hold (test), unmodified from XRechnung 3.0.2 schematron 2.6.0. An assert fails when its test is false.
Text and test: © KoSIT, Apache License 2.0. Quoted unmodified; the explanations on this page are Veriport’s.
context: (/ubl:Invoice | /cn:CreditNote)[$isCVD]
test: cac:ContractDocumentReference/cbc:ID[boolean(normalize-space(.))]context: /rsm:CrossIndustryInvoice[$isCVD]/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
test: ram:ContractReferencedDocument/ram:IssuerAssignedID[boolean(normalize-space(.))]Check your own invoice
Drop your XRechnung, ZUGFeRD or Peppol file into a free validator (Peppol BIS, XRechnung, Factur-X): each runs the same rule files and links every finding to its rule page. From your own code, POST /einvoice/validate (reference) returns the same check as JSON, each finding with an explanation field pointing here (5 calls a check, anonymous within the daily allowance).
Sources
- XRechnung — the German CIUS of EN 16931 (standard, versions and bundles; version 3.0.2 in force) — KoSIT (Koordinierungsstelle für IT-Standards), Bremen, consulted 2026-10-28
- Validator configuration XRechnung v2026-08-31 (XRechnung 3.0.2, CEN schematron 1.3.16, xrechnung-schematron 2.6.0) — KoSIT, consulted 2026-10-28
- XRechnung schematron (xrechnung-schematron) and the XRechnung validator configuration: licence, Apache License 2.0 (LICENSE files; NOTICE of the configuration: « Copyright 2020 Koordinierungsstelle für IT-Standards ») — KoSIT (Koordinierungsstelle für IT-Standards), Bremen, consulted 2026-11-17. Apache 2.0 permits redistribution with the licence and the notices kept. KoSIT’s LICENSE adds that the copyright in the EN 16931 standard lies with CEN. The rule library quotes the BR-DE-*, BR-DEX-* and BR-TMP-* messages unmodified, in KoSIT’s German.