BR-DE-CVD-01: Contract reference (BT-12) is missing in the CVD invoice
Official message
[BR-DE-CVD-01] Das Element … "Contract reference" (BT-12) muss übermittelt werden.
[BR-DE-CVD-01] Das Element … "Contract reference" (BT-12) muss übermittelt werden.
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- XRechnung (CII), XRechnung (UBL)
- Affected fields
- BT-12
What does this mean?
In an XRechnung invoice of the CVD variant (Clean Vehicles Directive, identifier in BT-24) the contract reference (BT-12) must be provided. It is missing or empty.
Typical causes
The invoice is marked as CVD invoice, but the number of the underlying contract was not entered.
The contract number only appears in a note or in another reference, e.g. the purchase order reference (BT-13).
How to fix the error
Enter the contract number from the order (CII: ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:IssuerAssignedID, UBL: cac:ContractDocumentReference/cbc:ID).
If no CVD invoice is intended, use the regular XRechnung identifier in BT-24.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form ("Experte" view), section "Referenzen (Bestell-, Vertrags-, Projektnummern)" (references), fill in the field "Vertragsreferenz (BT-12)".
Example
Wrong
<ram:ApplicableHeaderTradeAgreement>
<ram:BuyerReference>04011000-12350-85</ram:BuyerReference>
...
</ram:ApplicableHeaderTradeAgreement>
Correct
<ram:ApplicableHeaderTradeAgreement>
<ram:BuyerReference>04011000-12350-85</ram:BuyerReference>
...
<ram:ContractReferencedDocument>
<ram:IssuerAssignedID>V-2026-0815</ram:IssuerAssignedID>
</ram:ContractReferencedDocument>
</ram:ApplicableHeaderTradeAgreement>
For developers: test expression per syntax
XRechnung (CII) (CII)
Context: /rsm:CrossIndustryInvoice[$isCVD]/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
ram:ContractReferencedDocument/ram:IssuerAssignedID[boolean(normalize-space(.))]
XRechnung (UBL) (UBL)
Context: (/ubl:Invoice | /cn:CreditNote)[$isCVD]
cac:ContractDocumentReference/cbc:ID[boolean(normalize-space(.))]
Related validation rules
- BR-DE-CVD-02: Tender or lot reference (BT-17) is missing in the CVD invoice
- BR-DE-CVD-03: No invoice line with CVD vehicle details
- BR-DE-CVD-04: Invalid vehicle category in the CVD classification (BT-158)
- BR-DE-CVD-05: Invalid value of the attribute cva (BT-161)
- BR-DE-CVD-06-a: Line with CVD classification without exactly one attribute cva
- BR-DE-CVD-06-b: Line with attribute cva without exactly one CVD classification
Last updated:
Explanation of the validation rule, not legal or tax advice.