VRBL-INV-NL-1p0-5
Basic Info
| Rule | If the Seller Country Code is from the Netherlands, the Seller Tax Representative Party must contain the Seller Tax Representative Address Line 1, the Seller Tax Representative City and the Seller Tax Representative Postal Zone. |
| Context |
/ubl:Invoice/cac:TaxRepresentativeParty
|
| 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)
)