Rules / IBR-116
Italian VAT Code (Partita Iva) must be stated in the correct format for endpoints,, party identification,,, legal entities,,
Italian VAT Code (Partita Iva) must be stated in the correct format for endpoints (ibt-034), (ibt-049), party identification (ibt-029), (ibt-046), (ibt-060), legal entities (ibt-030), (ibt-047), (ibt-061).
Fails when this is false
u:checkPIVAseIT(normalize-space())The schematron test, verbatim. Context: cbc:EndpointID[@schemeID = '0211'] | cac:PartyIdentification/cbc:ID[@schemeID = '0211'] | cbc:CompanyID[@schemeID = '0211'] | cbc:EndpointID[@schemeID = '9906'] | cac:PartyIdentification/cbc:ID[@schemeID = '9906'] | cbc:CompanyID[@schemeID = '9906']
Fix
Change the data so the condition below holds. Paste the invoice into the validator to see the exact element that fails.