VRBL-INV-HR-CIUS-1p0-93
Basic Info
| Rule | In case the Legal Monetary Total Payable Amount is positive and the Invoice Type Code is not '381', either the Due Date or the Payment Due Date must be present. |
| Context |
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount
|
| Pattern | vrbl-invoice-hr-cius-1p0 |
| Severity | fatal |
Implementation
../../cbc:InvoiceTypeCode = '381' or ( (. > 0) and ( boolean(../../cbc:DueDate) or boolean(../../cac:PaymentMeans/cbc:PaymentDueDate) ) ) or (. <= 0)