errorEN 16931

BR-CO-11:Line amount calculation error

Line net amount must equal quantity × price, adjusted for any line allowances/charges.

Severity
Fatal
Rule set
EN 16931
Country
All EU
Fix type
BLOCKED

Engine Classification

Financial or legal field · Modification blocked by policy

Reason: Line amount calculations (quantity x price) must match your order/delivery documents. Discrepancies may indicate pricing or quantity errors.

What is BR-CO-11?

BR-CO-11 is a fatal validation rule defined in the EN 16931 specification. It validates the LineExtensionAmount element under Invoice > InvoiceLine 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: XPath: /Invoice/cac:InvoiceLine/cbc:LineExtensionAmount

This error requires manual correction — financial fields are protected by policy.Test This Error ↓

Why This Error Matters

Invoice rejected. Calculation errors prevent proper total verification.

BR-CO-11 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
  • ·Error returned: BR-CO-11
  • ·Specification: EN 16931

How to Fix It

1.

Get base amount

Quantity × PriceAmount

2.

Apply allowances

Subtract line-level AllowanceCharge where ChargeIndicator=false

3.

Apply charges

Add line-level AllowanceCharge where ChargeIndicator=true

4.

Set LineExtensionAmount

Result should match exactly (watch rounding)

Before / After

Failing XML
<cac:AllowanceCharge[ChargeIndicator=false]>
  <cbc:Amount>999.99</cbc:Amount>
  <!-- Does not match expected calculation -->
</cac:AllowanceCharge[ChargeIndicator=false]>
Corrected XML
<cac:AllowanceCharge[ChargeIndicator=false]>
  <cbc:Amount>100.00</cbc:Amount>
  <!-- Matches expected calculation -->
</cac:AllowanceCharge[ChargeIndicator=false]>

Technical Reference

XPathXPath: /Invoice/cac:InvoiceLine/cbc:LineExtensionAmount
SpecEN 16931
StrategyBLOCKED: This is a calculation mismatch. We cannot know if the individual allowances or the sum is wrong. Source system must recalculate allowance totals.

Code Example

<cac:InvoiceLine>
  <cbc:InvoicedQuantity unitCode="C62">10</cbc:InvoicedQuantity>
  <cbc:LineExtensionAmount currencyID="EUR">90.00</cbc:LineExtensionAmount>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:Amount currencyID="EUR">10.00</cbc:Amount>
  </cac:AllowanceCharge>
  <cac:Price>
    <cbc:PriceAmount currencyID="EUR">10.00</cbc:PriceAmount>
  </cac:Price>
  <!-- 10 × 10.00 - 10.00 = 90.00 ✓ -->
</cac:InvoiceLine>

Common Causes

  • ·Sum of document allowances does not match BT-107
  • ·AllowanceTotalAmount calculation mismatch
  • ·Individual allowance amounts don't sum to total
  • ·Allowance added/removed without updating total
  • ·Rounding error in allowance sum calculation

Seeing this in production? The API handles BR-CO-11 automatically. See the fix response →

Commonly Seen In

All invoicing software

Frequently Asked Questions

Line net amount must equal quantity × price, adjusted for any line allowances/charges.

Verify: LineExtensionAmount = Quantity × UnitPrice ± Allowances/Charges. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.

Yes, BR-CO-11 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted by the recipient's system.

Many instances of BR-CO-11 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including line amount calculation error.

BR-CO-11 is commonly seen in exports from All invoicing software. These software packages sometimes generate invoices that need adjustment to meet full compliance standards.

See Also

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle BR-CO-11 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.