VRBL-INV-ES-B2G-76

Basic Info

Rule The Seller Administrative Center Postal Zone must only include digits, and allows up to 5 digits.
Context /ubl:Invoice/cac:AccountingSupplierParty/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:AccountingSupplierPartyExtension/vrbl:AdministrativeCentre/cac:PostalAddress/cbc:PostalZone
Pattern vrbl-invoice-es-b2g
Severity fatal

Used Template: VRBL-ES-B2G-PostalZone

Implementation

string-length(translate(normalize-space(.), $Numerics, '')) = 0
and
string-length(normalize-space(.)) <= 5