ibr-093
If there is a paid amount (ibt-180) then total paid amount (ibt-113) MUST exist.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
cac:PrepaidPayment[1]
exists(../cac:LegalMonetaryTotal/cbc:PrepaidAmount)
Checked with PINT SG Invoice, PINT SG Credit Note, PINT JP Invoice, PINT A-NZ Invoice, PINT A-NZ Credit Note, PINT MY Invoice, PINT MY Credit Note