PintLint

Rules / IBR-SR-57

Company identifier must exist in the party tax scheme class

Company identifier must exist in the party tax scheme class.

Fails

<cac:PartyTaxScheme>
  <!-- no cbc:CompanyID -->
</cac:PartyTaxScheme>

Fix

Add cbc:CompanyID to cac:PartyTaxScheme.

Schematron
Context
//cac:PartyTaxScheme
Test
exists(cbc:CompanyID)

Official text: Company identifier MUST exist in the party tax scheme class.

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

Check your invoice for this rule