VRBL-INV-AE-1p0-1
Basic Info
| Rule | The Allowance Tax ID used as VAT ID must exist within the Allowance Group. |
| Context |
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:TaxCategory[cac:TaxScheme/cbc:ID = 'VAT']/cbc:ID
|
| displayName_probe | = |
%{cac:TaxCategory/cbc:ID} used as VAT ID
|
Implementation
boolean(cac:TaxCategory[cac:TaxScheme/cbc:ID = 'VAT']/cbc:ID)