VRBL-APR-FR-1p0-21

Basic Info

Rule For outbound messages, the Document Reference Issuer Party Identification ID must exist within the Document Reference Group.
Context /ubl:ApplicationResponse/cac:DocumentResponse/cac:DocumentReference
Pattern vrbl-ar-fr-1p0
Severity fatal

Used Template: Exists

Parameter Value
probe = cac:IssuerParty/cac:PartyIdentification/cbc:ID

Implementation

(
	not(starts-with(/ubl:ApplicationResponse/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:ApplicationResponseExtension/vrbl:RoutingDetails/vrbl:Receiver, 'GENERIC_PPF'))
)
or
(
	boolean(cac:IssuerParty/cac:PartyIdentification/cbc:ID)
)