PintLint

Rules / IBR-014

IBR-014 error

An Invoice must have the Invoice total amount with Tax

An Invoice must have the Invoice total amount with Tax (ibt-112).

Fails

<cac:LegalMonetaryTotal>
  <!-- cbc:TaxInclusiveAmount is missing -->
</cac:LegalMonetaryTotal>

Fix

Add cbc:TaxInclusiveAmount inside cac:LegalMonetaryTotal.

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

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

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

Check an invoice