VRBL-APR-FR-1p0-7

Basic Info

Rule The value of the Receiver 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:ReceiverParty/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(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)
			)
		)
	)
)