VRBL-INV-DK-OIOUBL-2p0-34

Basic Info

Rule If there is a Tax Total Rounding Amount, then the Legal Monetary Total Payable Rounding Amount must be provided.
Context /ubl:Invoice/cac:LegalMonetaryTotal
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

not(boolean(../cac:TaxTotal/cbc:RoundingAmount)) or boolean(cbc:PayableRoundingAmount)