Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) or an Item attribute code (BT-X-11), or both.
The ApplicableProductCharacteristic contains neither Description nor TypeCode. Both the item attribute name and code are missing.
An item attribute must be identifiable by a name, a code, or both.
An item attribute is missing both its name and its code. Either detail is enough to identify the attribute.
- Add a description in
Descriptionor a code inTypeCodefor the item attribute. - Check
ApplicableProductCharacteristic.Description. - Generate the invoice again and validate it again.
<ram:ApplicableProductCharacteristic/>
<ram:ApplicableProductCharacteristic> <ram:Description>Colour</ram:Description> </ram:ApplicableProductCharacteristic>
ApplicableProductCharacteristic.Description(BT-160)TradeLineItem.ApplicableProductCharacteristics(BG-32)
Technical details
The test requires Description or TypeCode to exist; both elements may also be present.
The rule applies to each ApplicableProductCharacteristic, an item attribute within the invoice line.
rule/@context)assert/@test)