VRBL-INV-SA-1p2-103
Basic Info
| Rule | If the Invoice Line Document Reference ID is provided, then Invoice Line Extension Amount, Invoice Line Tax Amount, Invoice Line Tax Rounding Amount and Invoice Line Price Amount must be 0 (Zero), if exist. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-sa-1p2 |
| Severity | fatal |
Implementation
count(cac:DocumentReference/cbc:ID) = 0 or (count(cac:DocumentReference/cbc:ID) >0 and cbc:LineExtensionAmount=0.00 and cac:TaxTotal/cbc:TaxAmount=0.00 and cac:TaxTotal/cbc:RoundingAmount=0 and cac:Price/cbc:PriceAmount=0.00)