Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) or an Item attribute code (BT-X-11), or both.
The item attribute contains neither a name in ram:Description nor a code in ram:TypeCode. At least one of these elements must be present.
A name or code identifies which attribute of the item is being described. This makes the item attribute identifiable.
An item attribute is missing both a name and a code. Add at least one of these details.
- For
ram:ApplicableProductCharacteristic, provide a name inDescriptionor a code inTypeCode. - If you use the model, check the
ApplicableProductCharacteristic.Descriptionproperty. - Regenerate the invoice and validate it again.
<ram:ApplicableProductCharacteristic/>
<ram:ApplicableProductCharacteristic> <ram:Description>Farbe</ram:Description> </ram:ApplicableProductCharacteristic>
ApplicableProductCharacteristic.Description(BT-160)TradeLineItem.ApplicableProductCharacteristics(BG-32)
Technical details
The test uses exists to check whether ram:Description or ram:TypeCode is present under ram:ApplicableProductCharacteristic.
This rule applies to each item attribute ram:ApplicableProductCharacteristic of an invoice line.
rule/@context)assert/@test)