CII-FIX-LINE-AMOUNTS:CII line total amount recalculation
Fix: Recalculate line total from price × quantity ± allowances/charges.
Each invoice line total (ram:LineTotalAmount) must equal the unit price times quantity, plus charges minus allowances. When the declared amount differs from the calculated amount by more than 1 cent, the system can recalculate it. This changes a financial value and requires your confirmation.
Engine Classification
Requires user confirmation before application
What is CII-FIX-LINE-AMOUNTS?
CII-FIX-LINE-AMOUNTS is a fatal validation rule defined in the cii-d16b specification. It validates the ram:LineTotalAmount element in the UBL invoice XML.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Target path: ram:LineTotalAmount
Why This Error Matters
CII-FIX-LINE-AMOUNTS is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
Incorrect line totals cause the invoice to fail EN 16931 calculation rules. The receiver cannot reconcile the invoice against purchase orders.
Validator Behavior
- ·Causes invoice rejection
- ·Fails CII schema validation
- ·Error returned: CII-FIX-LINE-AMOUNTS
- ·Specification: cii-d16b
How to Fix It
Identify the calculation mismatch
Check ram:LineTotalAmount at ram:LineTotalAmount. The value does not match the expected sum or formula result.
Recalculate the value
Recalculate line total from price × quantity ± allowances/charges.
Re-validate your invoice
Upload the corrected invoice to confirm CII-FIX-LINE-AMOUNTS is resolved. Calculation errors can cascade — check related totals too.
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Triggers validation error --> <ram:LineTotalAmount></ram:LineTotalAmount>
<!-- Corrected --> <ram:LineTotalAmount>VALID_VALUE</ram:LineTotalAmount>
Technical Reference
ram:LineTotalAmountCommon Causes
- ·Rounding error in ERP calculation
- ·Manual override of line total
- ·Allowances/charges added after total was calculated
Seeing this in production? The API handles CII-FIX-LINE-AMOUNTS automatically. See the fix response →
Commonly Seen In
Frequently Asked Questions
Each invoice line total (ram:LineTotalAmount) must equal the unit price times quantity, plus charges minus allowances. When the declared amount differs from the calculated amount by more than 1 cent, the system can recalculate it. This changes a financial value and requires your confirmation.
Recalculate line total from price × quantity ± allowances/charges. You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.
Yes, CII-FIX-LINE-AMOUNTS is a critical error that will cause invoice rejection. It must be fixed before submission.
Many instances of CII-FIX-LINE-AMOUNTS can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.
CII-FIX-LINE-AMOUNTS is commonly seen in exports from ZUGFeRD generators, Factur-X converters. These packages sometimes generate invoices that need adjustment.
Related Content
Last updated: 14 April 2026
Validate your invoice
Drop your XML here to check for CII-FIX-LINE-AMOUNTS
Fix CII-FIX-LINE-AMOUNTS with one click
Upload your invoice and we'll suggest a fix for your review before applying it.