VRBL-INV-FR-CIUS-1p0-103

Basic Info

Rule If the Payment Means Payment Mandate Payer Party Identification ID is marked as a SIRET-CODE, it must be consistent with the reported SIREN in Payment Means Payment Mandate Payer Party Legal Entity Company ID.
Context /ubl:Invoice/cac:PaymentMeans/cac:PaymentMandate/cac:PayerParty/cac:PartyIdentification/cbc:ID
Pattern vrbl-invoice-fr-cius-1p0
Severity warning

Used Template: VRBL-FR-schemeID-0009-and-SIREN

Parameter Value
probeSIREN = ../../cac:PartyLegalEntity/cbc:CompanyID

Implementation

not(@schemeID = '0009')
or
not(boolean(../../cac:PartyLegalEntity/cbc:CompanyID))
or
substring(., 1, 9) = ../../cac:PartyLegalEntity/cbc:CompanyID