PintLint

Rules / IBR-018

The Seller tax representative name must be provided in the Invoice, if the Seller has a Seller tax representative party

The Seller tax representative name (ibt-062) must be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11).

Fails

<cac:TaxRepresentativeParty>
  <!-- no cac:PartyName/cbc:Name -->
</cac:TaxRepresentativeParty>

Fix

Add cac:PartyName/cbc:Name to cac:TaxRepresentativeParty.

Schematron
Context
cac:TaxRepresentativeParty
Test
normalize-space(cac:PartyName/cbc:Name) != ''

Official text: The Seller tax representative name (ibt-062) MUST be provided in the Invoice, if the Seller (ibg-04) has a Seller tax representative party (ibg-11)

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

Check your invoice for this rule