Message

Total amount for payment SHALL be equal to the tax inclusive amount minus the prepaid amount plus rounding amount

Context
cac:LegalMonetaryTotal
Test
not(cbc:PayableAmount) or $payableAmount = $taxInclusiveAmount - $prepaidAmount + $payableRoundingAmount
Usage
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:TaxInclusiveAmount
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:PrepaidAmount
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:PayableRoundingAmount
/ ubl:OrderResponse / cac:LegalMonetaryTotal / cbc:PayableAmount