VRBL-INV-FR-CIUS-1p0-54
Basic Info
| Rule | When the Invoice Subtype Code represents a special contract and the Invoice Line Group contains a Sub Invoice Line Group, a Invoice Line Document Reference Group must be provided with Invoice Line Document Reference Scheme ID equal to 'AFL'. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-fr-cius-1p0 |
| Severity | warning |
Implementation
not($isSpecialContract) or not(boolean(cac:SubInvoiceLine)) or boolean(cac:DocumentReference[cbc:ID/@schemeID = 'AFL'])