VRBL-INV-FR-CIUS-1p0-86

Basic Info

Rule When the Sub Invoice Line Group does not contain a Sub Invoice Line Sub Invoice Line Group, the Sub Invoice Line Price Amount must not be negative.
Context /ubl:Invoice/cac:InvoiceLine/cac:SubInvoiceLine/cac:Price/cbc:PriceAmount
Pattern vrbl-invoice-fr-cius-1p0-min
Severity fatal

Implementation

not(boolean(cac:SubInvoiceLine)) or (. >= 0)