BR-DE-CVD-02

Das Element … "Tender or lot reference" (BT-17) muss übermittelt werden.

In English The tender or lot reference (BT-17) 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:OriginatorDocumentReference/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:AdditionalReferencedDocument[normalize-space(ram:TypeCode) = '50' and normalize-space(ram:IssuerAssignedID)]

Checked with XRechnung 3.0 Invoice (CII)