Rules / IBR-SR-58
The Invoiced item TAX category code must be present
The Invoiced item TAX category code (ibt-151) must be present.
Fails
<cac:ClassifiedTaxCategory>
<!-- no cbc:ID -->
</cac:ClassifiedTaxCategory>
Fix
Add cbc:ID to cac:InvoiceLine/cac:Item/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.