PintLint

Rules / IBR-015

An Invoice must have the Amount due for payment

An Invoice must have the Amount due for payment (ibt-115).

Fails

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

Fix

Add cbc:PayableAmount to cac:LegalMonetaryTotal.

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

Official text: An Invoice MUST have the Amount due for payment (ibt-115).

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

Check your invoice for this rule