VRBL-INV-IN-1p0-24

Basic Info

Rule When Delivery Location Street Name or Delivery Party Group are provided, the Delivery Location Postal Zone must exist within the Delivery Location Address Group.
Context /ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address
Pattern vrbl-invoice-in-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cbc:PostalZone

Implementation

(
	not(boolean(cbc:StreetName) or boolean(../../cac:DeliveryParty))
)
or
(
	boolean(cbc:PostalZone)
)