Rules
VRBL-INV-PH-1p0-24
Basic Info
| Rule | When the Document Currency Code is different from PHP, the Tax Accounting Currency must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-ph-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cbc:TaxCurrencyCode
|
Implementation
(
normalize-space(/ubl:Invoice/cbc:DocumentCurrencyCode) = 'PHP'
)
or
(
boolean(cbc:TaxCurrencyCode)
)