PintLint

Rules / IBR-054

IBR-054 error

Each Item attribute

Each Item attribute (ibg-32) must contain an Item attribute name (ibt-160) and an Item attribute value (ibt-161).

Fails

<cac:AdditionalItemProperty>
  <!-- cbc:Name and cbc:Value missing -->
</cac:AdditionalItemProperty>

Fix

Add cbc:Name and cbc:Value.

Schematron
Context
//cac:AdditionalItemProperty
Test
exists(cbc:Name) and exists(cbc:Value)

Official text: Each Item attribute (ibg-32) MUST contain an Item attribute name (ibt-160) and an Item attribute value (ibt-161).

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check an invoice