Rules
VRBL-INV-TR-1p2-84
Basic Info
| Rule | If the Invoice Type Code is VRBL:TR:SARJANLIK, every Invoice Line must contain at least one non-empty Invoice Line Item Instance Serial ID. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-tr-1p2 |
| Severity | fatal |
Implementation
not(../cbc:InvoiceTypeCode = concat($VRBL-TR-Prefix, 'SARJANLIK'))
or
count(
cac:Item/cac:ItemInstance[
string-length(normalize-space(cbc:SerialID)) > 0
]
) >= 1