Item attribute requires a name and a value

Error BR-54 EN 16931

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

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

An ram:ApplicableProductCharacteristic does not contain both ram:Description and ram:Value. Each item attribute requires both an attribute name and an attribute value.

What the rule means

An item attribute consists of the attribute name and its value. If either is missing, the information about the attribute is incomplete.

Affected fields BG-32 BT-160 BT-161
Please provide the item attribute name and value

At least one item attribute is missing its name or value. You can complete the attribute by providing both details.

What to do
  1. Find the affected ram:ApplicableProductCharacteristic.
  2. Provide the attribute name using ApplicableProductCharacteristic.Description.
  3. Provide the attribute value using ApplicableProductCharacteristic.Value.
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ApplicableProductCharacteristic>
  <ram:Description>Farbe</ram:Description>
</ram:ApplicableProductCharacteristic>
✓ Correct
<ram:ApplicableProductCharacteristic>
  <ram:Description>Farbe</ram:Description>
  <ram:Value>Blau</ram:Value>
</ram:ApplicableProductCharacteristic>
Check in FactoorSharp
  • ApplicableProductCharacteristic.Description (BT-160)
  • ApplicableProductCharacteristic.Value (BT-161)
  • TradeLineItem.ApplicableProductCharacteristics (BG-32)
Technical details

The test requires both ram:Description and ram:Value within each ram:ApplicableProductCharacteristic.

Where the rule applies

The rule applies to each ram:ApplicableProductCharacteristic, which represents an item attribute.

Context (rule/@context)
//ram:ApplicableProductCharacteristic
Test expression (assert/@test)
(ram:Description) and (ram:Value)