PintLint

Rules / ALIGNED-IBRP-057

ALIGNED-IBRP-057 error

Either both or neither Allowance base amount must be provided

Either both or neither Allowance base amount (ibt-093) and percentage (ibt-094) must be provided.

Fails when this is false

not(cbc:MultiplierFactorNumeric or cbc:BaseAmount) or (cbc:MultiplierFactorNumeric and cbc:BaseAmount)

The schematron test, verbatim. Context: cac:AllowanceCharge[cbc:ChargeIndicator = false()][not(ancestor::cac:Price)]

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 AE (UAE) rules. Severity: error. Runs on UBL XML.

Check an invoice