VRBL-INV-PH-1p0-6

Basic Info

Rule When the Document Currency Code is PHP, the Tax Total expects a minimum of one Tax Breakdown.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]
Pattern vrbl-invoice-ph-1p0
Severity fatal

Used Template: CountGreaterEqualOne

Parameter Value
probe = cac:TaxSubtotal

Implementation

    (     not(../cbc:DocumentCurrencyCode = 'PHP')    )    or    (     count(cac:TaxSubtotal) >= 1    )