Rules / IBR-015
IBR-015 error
An Invoice must have the Amount due for payment
An Invoice must have the Amount due for payment (ibt-115).
Fails
<cac:LegalMonetaryTotal>
<!-- cbc:PayableAmount is missing -->
</cac:LegalMonetaryTotal>
Fix
Add cbc:PayableAmount inside cac:LegalMonetaryTotal.
Schematron
- Context
cac:LegalMonetaryTotal- Test
exists(cbc:PayableAmount)
Official text: An Invoice MUST have the Amount due for payment (ibt-115).