BR-DE-CVD-03
XRechnung 2.6.0 · UBL
Original rule text
[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.
(cac:InvoiceLine/cac:Item | cac:CreditNoteLine/cac:Item)[cac:CommodityClassification/cbc:ItemClassificationCode/@listID = 'CVD' and cac:AdditionalItemProperty/cbc:Name = 'cva']What this rule requires
The rule applies only when the document is identified as a CVD invoice or credit note via the guideline ID. In such documents, at least one invoice line or credit note line must contain an item that has both a commodity classification with @listID equal to 'CVD' and an additional item property with the name 'cva'. If no line satisfies both conditions, the document fails validation with a fatal error.
How to fix
Add the missing data to at least one line's item. In UBL, under cac:InvoiceLine/cac:Item or cac:CreditNoteLine/cac:Item, set cac:CommodityClassification/cbc:ItemClassificationCode with @listID='CVD' and add cac:AdditionalItemProperty/cbc:Name = 'cva'. In CII, in ram:SpecifiedTradeProduct of at least one ram:IncludedSupplyChainTradeLineItem, set ram:DesignatedProductClassification/ram:ClassCode with @listID='CVD' and add ram:ApplicableProductCharacteristic/ram:Description = 'cva'.
Guidance on this rule. The original text above is authoritative.