Message

Italian VAT Code (Partita Iva) must be stated in the correct format

Context
cbc:EndpointID[@schemeID = '0211'] | cac:PartyIdentification/cbc:ID[@schemeID = '0211'] | cbc:CompanyID[@schemeID = '0211']
Test
u:checkPIVAseIT(normalize-space())
Usage
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cbc:EndpointID
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cbc:EndpointID
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:Invoice / cac:AccountingCustomerParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cbc:EndpointID
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:CreditNote / cac:AccountingSupplierParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cbc:EndpointID
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cac:PartyIdentification / cbc:ID
/ ubl:CreditNote / cac:AccountingCustomerParty / cac:Party / cac:PartyTaxScheme / cbc:CompanyID