PintLint

Rules / IBR-043

IBR-043 error

Each Invoice line charge

Each Invoice line charge (ibg-28) must have an Invoice line charge amount (ibt-141).

Fails when this is false

exists(cbc:Amount) or not(exists(ancestor::cac:InvoiceLine|ancestor::cac:CreditNoteLine))

The schematron test, verbatim. Context: cac:AllowanceCharge[cbc:ChargeIndicator = true()]

Fix

Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.

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

Check an invoice