VRBL-APR-FR-1p0-5

Basic Info

Rule For outbound messages, the value of the Sender Party Identification Scheme ID must be contained in ISO 6523 ICD [VRBL-CL-AR-IdentificationSchemeID]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/2025-Q4/codelist/ICD/
Context /ubl:ApplicationResponse/cac:SenderParty/cac:PartyIdentification/cbc:ID
Pattern vrbl-ar-fr-1p0
Severity fatal

Used Template: CodeList

Parameter Value
probe = @schemeID
codeList = $VRBL-CL-AR-IdentificationSchemeID

Implementation

(
	not(starts-with(/ubl:ApplicationResponse/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:ApplicationResponseExtension/vrbl:RoutingDetails/vrbl:Receiver, 'GENERIC_PPF'))
)
or
(
	not(boolean(@schemeID))
	or
	(
		(
			not(
				contains(
					normalize-space(@schemeID),
					substring($VRBL-CL-AR-IdentificationSchemeID, 1, 1)
				)
			)
			and
			contains(
				$VRBL-CL-AR-IdentificationSchemeID,
				concat(
					substring($VRBL-CL-AR-IdentificationSchemeID, 1, 1),
					normalize-space(@schemeID),
					substring($VRBL-CL-AR-IdentificationSchemeID, 1, 1)
				)
			)
		)
	)
)