Peppol BIS Billing 3.0.21 · UBL

BR-54: Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item…

Peppol BIS Billing 3.0.21 · UBL

fatalbusiness

Original rule text

[BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161).

Stored validation assertion
exists(cbc:Name) and exists(cbc:Value)

BR-54 is a fatal rule in the business layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BG-32, BT-160, BT-161.

What this rule requires

The rule requires that every item attribute element contains both a name and a value. In UBL, each cac:AdditionalItemProperty must have a cbc:Name child element and a cbc:Value child element. In CII, each ram:ApplicableProductCharacteristic must have a ram:Description child element and a ram:Value child element. The test only checks that the elements are present; it does not require them to be non-empty. A document fails if either required child element is missing.

How to fix

In UBL, add the missing cbc:Name or cbc:Value element inside the affected cac:AdditionalItemProperty. In CII, add the missing ram:Description or ram:Value element inside the affected ram:ApplicableProductCharacteristic. Use the actual item attribute name or value for the line item. If the element is present but empty, the rule as written still passes, but you may want to fill it with a meaningful value.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to BR-54.

Validate an invoice against these rules · All release changes