PintLint

Rules / IBR-013

IBR-013 error

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>
  <!-- cbc:TaxExclusiveAmount is missing -->
</cac:LegalMonetaryTotal>

Fix

Add cbc:TaxExclusiveAmount inside 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 an invoice