IBR-137-OM

[IBR-137-OM] - All the invoice amounts and quantities must be zero or positive.

About

ID
IBR-137-OM
Flag
fatal
Context
ubl:Invoice | cn:CreditNote
Test
not( //*[ self::cbc:TaxExclusiveAmount or self::cbc:TaxInclusiveAmount or self::cbc:AllowanceTotalAmount or self::cbc:ChargeTotalAmount or self::cbc:PrepaidAmount or self::cbc:PayableAmount or self::cbc:Amount or self::cbc:PriceAmount or self::cbc:BaseAmount or self::cbc:Quantity or self::cbc:BaseQuantity or self::cbc:CreditedQuantity or self::cbc:TaxAmount or self::cbc:LineExtensionAmount ] [ normalize-space(.) != '' and . castable as xs:decimal and xs:decimal(.) < 0 ] )