CII-FIX-TOTALS:CII invoice totals recalculation
The invoice header totals must be internally consistent: LineTotalAmount must equal the sum of line totals, TaxBasisTotalAmount must equal LineTotalAmount + charges - allowances, GrandTotalAmount must equal TaxBasisTotalAmount + TaxTotalAmount, and DuePayableAmount must equal GrandTotalAmount - prepaid amounts. This recalculates the entire cascade and requires your confirmation because it modifies financial values.
Engine Classification
Requires user confirmation before application
What is CII-FIX-TOTALS?
CII-FIX-TOTALS is a fatal validation rule defined in the cii-d16b specification. It validates the ram:SpecifiedTradeSettlementHeaderMonetarySummation element in the UBL invoice XML.
When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.
Target path: ram:SpecifiedTradeSettlementHeaderMonetarySummation
Why This Error Matters
CII-FIX-TOTALS is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.
Validator Behavior
- ·Causes invoice rejection
- ·Fails CII schema validation
- ·Error returned: CII-FIX-TOTALS
- ·Specification: cii-d16b
XML Example
Generic example based on the rule's target XPath. Your actual XML structure may differ.
<!-- Triggers validation error --> <ram:SpecifiedTradeSettlementHeaderMonetarySummation></ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<!-- Corrected --> <ram:SpecifiedTradeSettlementHeaderMonetarySummation>VALID_VALUE</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Technical Reference
ram:SpecifiedTradeSettlementHeaderMonetarySummationCommon Causes
- ·Line amounts changed without updating totals
- ·Allowances/charges added without recalculating
- ·Rounding drift across multiple lines
- ·Partial invoice updates
Seeing this in production? The API handles CII-FIX-TOTALS automatically. See the fix response →
Commonly Seen In
Last updated: 18 February 2026
Handle CII-FIX-TOTALS Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.