Rules
VRBL-INV-PL-B2B-3-89
Basic Info
| Rule | The Invoice Document Reference UUID must be a valid KSeF number, with a format like 9999999999-YYYYMMDD-FFFFFF(-)FFFFFF-FF and a length between 35 and 36 characters, or 'NA' if the corrected invoice was not issued via KSeF. |
| Context |
/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID
|
| Pattern | vrbl-invoice-pl-b2b-3p0 |
| Severity | fatal |
Implementation
normalize-space(.) = 'NA'
or (string-length(.) >= 35 and string-length(.) <= 36)