VRBL-INV-IS-1p0-12
Basic Info
| Rule | When both the Seller Country Code and Buyer Country Code are 'IS', the Buyer Postal Zone must exist within the Buyer Party. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
|
| Pattern | vrbl-invoice-is-peppolbis-3p0 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:PostalAddress/cbc:PostalZone
|
Implementation
(
not(../../cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'IS' and cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'IS')
)
or
(
boolean(cac:PostalAddress/cbc:PostalZone)
)