BR-DE-CVD-02

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

error: the document is invalid

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)