VRBL-INV-PL-B2B-3-45

Basic Info

Rule The allowed maximum number of characters for the Invoice Line Quantity Unit Code is 256.
Context /ubl:Invoice/cac:InvoiceLine/cbc:InvoicedQuantity
Pattern vrbl-invoice-pl-b2b-3p0
Severity fatal

Implementation

not(boolean(@unitCode))
or
string-length(normalize-space(@unitCode)) <= 256