VRBL-INV-SA-1p2-36

Basic Info

Rule The Seller Postal Zone must be 5 digits.
Context /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
Pattern vrbl-invoice-sa-1p2
Severity fatal

Implementation

string-length(cbc:PostalZone) = 5 and string-length(translate(cbc:PostalZone,'0123456789','')) = 0