VRBL-INV-IN-1p0-18
Basic Info
| Rule | When the Buyer Country Identification Code is 'IN', the Buyer Country Subentity Code must exist within the Buyer Address Group. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
|
| Pattern | vrbl-invoice-in-1p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cbc:CountrySubentityCode
|
Implementation
(
not(cac:Country/cbc:IdentificationCode = 'IN')
)
or
(
boolean(cbc:CountrySubentityCode)
)