BR-DE-CVD-01

Das Element … "Contract reference" (BT-12) muss übermittelt werden.

In English The contract reference (BT-12) must be given.

error: the document is invalid XRechnung Fehlermeldungen und ihre Lösung →

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element

Context
(/ubl:Invoice | /cn:CreditNote)[$isCVD]
Test
cac:ContractDocumentReference/cbc:ID[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)

Context
/rsm:CrossIndustryInvoice[$isCVD]/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement
Test
ram:ContractReferencedDocument/ram:IssuerAssignedID[boolean(normalize-space(.))]

Checked with XRechnung 3.0 Invoice (CII)