VRBL-INV-NL-1p0-3
Basic Info
| Rule | If the Seller Country Identification Code is from the Netherlands, the Buyer Party Group must contain the Buyer Street Name, the Buyer City Name and the Buyer Postal Zone. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
|
| Pattern | vrbl-invoice-nl-1p0 |
| Severity | fatal |
Used Template: VRBL-NL-PostalAddress-Minimum
Implementation
not(/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'NL')
or
(
boolean(cac:PostalAddress/cbc:StreetName)
and
boolean(cac:PostalAddress/cbc:CityName)
and
boolean(cac:PostalAddress/cbc:PostalZone)
)