VRBL-INV-AE-1p0-30
Basic Info
| Rule | When the Seller Tax Scheme ID = 'VAT', the Seller Tax ID is expected no more than 1 times within the Seller Party Tax Scheme Group. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme
|
| Pattern | vrbl-invoice-AE-1p0 |
| Severity | fatal |
Used Template: CountLessEqualNumber
| Parameter | Value | |
|---|---|---|
| probe | = |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
|
| number | = |
1
|
Implementation
(
not(cac:TaxScheme/cbc:ID = 'VAT')
)
or
(
count(/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) <= 1
)