VRBL-INV-RS-1p0-4
Basic Info
|
Rule
|
When the Seller Group is Serbian, then the Buyer Reference must begin with "JN-JBKJS:" followed by five digits from the JBKJS of the ordering party that carried out the public procurement, and can be followed by a hyphen and additional characters. |
|
Context
|
/ubl:Invoice/cbc:BuyerReference
|
|
Pattern
|
vrbl-invoice-rs-1p0 |
|
Severity
|
fatal |
Implementation
not($RSSupplierCountry = 'RS')
or
(
substring(normalize-space(.), 1, 9) = 'JN-JBKJS:'
and
(
string-length(substring(normalize-space(.), 10)) = 5
or
substring(normalize-space(.), 15, 1) = '-'
)
and
string-length(translate(substring(normalize-space(.), 10, 5), $Numerics, '')) = 0
)