Reference
Markdown exportBR-54 Item attribute must have both a name and a value
Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
Problem Description
Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).
ERROR
XRechnung 3.0
Context and Significance
This rule comes from the EN16931 core semantic model enforced by the KoSIT XRechnung 3.0.2 Schematron, ensuring invoices carry the mandatory data needed for automated processing.
Solution
Provide both cac:AdditionalItemProperty/cbc:Name and cbc:Value for every item property.
Quick actions
Valid Examples
Use these points as the practical checks for this section.
- BT-160 = "Colour", BT-161 = "Blue"
Invalid Examples
Use these points as the practical checks for this section.
- Item property with a Name but no Value (BT-161 missing)
Code Examples
Valid XML
<cac:AdditionalItemProperty>
<cbc:Name>Colour</cbc:Name>
<cbc:Value>Blue</cbc:Value>
</cac:AdditionalItemProperty>Invalid XML
<cac:AdditionalItemProperty>
<cbc:Name>Colour</cbc:Name>
</cac:AdditionalItemProperty>