VRBL-INV-IN-1p0-22

Basic Info

Rule When Delivery Location Street Name or Delivery Party Group are provided, the Delivery Location Street Name 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:StreetName

Implementation

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