PintLint

Rules / IBR-013

An Invoice must have the Invoice total amount without Tax

An Invoice must have the Invoice total amount without Tax (ibt-109).

Fails

<cac:LegalMonetaryTotal>
  <!-- no cbc:TaxExclusiveAmount -->
</cac:LegalMonetaryTotal>

Fix

Add cbc:TaxExclusiveAmount to cac:LegalMonetaryTotal.

Schematron
Context
cac:LegalMonetaryTotal
Test
exists(cbc:TaxExclusiveAmount)

Official text: An Invoice MUST have the Invoice total amount without Tax (ibt-109).

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

Check your invoice for this rule