VRBL-INV-IT-1p2-110
Basic Info
|
Rule
|
When identifying a tax representative, the Buyer Agent Tax Company ID must exist within the Buyer Power of Attorney Group. |
|
Context
|
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PowerOfAttorney
|
|
Pattern
|
vrbl-invoice-it-1p2 |
|
Severity
|
fatal |
Used Template: Exists
| Parameter |
|
Value |
| probe |
= |
cac:AgentParty/cac:PartyTaxScheme/cbc:CompanyID
|
Implementation
(
not(cbc:Description = concat($VRBL-IT-Prefix, 'TaxRepresentative'))
)
or
(
boolean(cac:AgentParty/cac:PartyTaxScheme/cbc:CompanyID)
)