BR-DE-CVD-03

In einer Rechnung muss mindestens eine … INVOICE LINE (BG-25) enthalten sein, in der der Scheme identifier von … "Item classification identifier" (BT-158) den Wert 'CVD' und der … "Item attribute name" (BT-160) den Wert 'cva' enthält.

In English An invoice must contain at least one invoice line (BG-25) with an item classification identifier (BT-158) whose scheme identifier is 'CVD' and an item attribute name (BT-160) of 'cva'.

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:InvoiceLine/cac:Item | cac:CreditNoteLine/cac:Item)[cac:CommodityClassification/cbc:ItemClassificationCode/@listID = 'CVD' and cac:AdditionalItemProperty/cbc:Name = 'cva']

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

Context
/rsm:CrossIndustryInvoice[$isCVD]/rsm:SupplyChainTradeTransaction
Test
ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct[ram:DesignatedProductClassification/ram:ClassCode/@listID = 'CVD' and ram:ApplicableProductCharacteristic/ram:Description = 'cva']

Checked with XRechnung 3.0 Invoice (CII)