PintLint

Rules / IBR-SR-58

IBR-SR-58 error

The Invoiced item TAX category code must be present

The Invoiced item TAX category code (ibt-151) must be present.

Fails

<cac:ClassifiedTaxCategory>
  <!-- cbc:ID is missing -->
</cac:ClassifiedTaxCategory>

Fix

Add cbc:ID inside cac:ClassifiedTaxCategory.

Schematron
Context
cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory
Test
exists(cbc:ID)

Official text: The Invoiced item TAX category code (ibt-151) MUST be present.

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

Check an invoice