VRBL-INV-SA-1p2-9
Basic Info
| Rule | If the Legal Monetary Total Prepaid Amount is provided, the Invoice Line Document Reference Document Type Code = '386' |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-sa-1p2 |
| Severity | fatal |
Implementation
count(cac:LegalMonetaryTotal/cbc:PrepaidAmount)=0 or count(cac:InvoiceLine/cac:DocumentReference[cbc:DocumentTypeCode='386']) > 0