PintLint

Rules / ALIGNED-IBRP-058

ALIGNED-IBRP-058 error

Either both or neither Charge base amount must be provided

Either both or neither Charge base amount (ibt-100) and percentage (ibt-101) 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 = 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 AE (UAE) rules. Severity: error. Runs on UBL XML.

Check an invoice