E-invoice error explained

BR-CO-15: Invoice total with VAT does not match

The gross total (BT-112) must be exactly the net total (BT-109) plus VAT (BT-110).

What the rule checks

The gross total (BT-112) must be exactly the net total (BT-109) plus VAT (BT-110). Prepayments go in BT-113, rounding amounts in BT-114 and cash discounts in the payment terms (BT-20).

Official rule text

Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).

Source: KoSIT configuration XRechnung 3.0.2 (31 Jan 2026).

Typical causes

  • A prepayment was already subtracted from BT-112. It belongs in BT-113.
  • A rounding amount is included in BT-112. It belongs in BT-114.
  • The gross total comes from the ERP and includes amounts that are not lines in the file, such as deposits or fees.

How to fix it

Set ram:GrandTotalAmount (BT-112) to ram:TaxBasisTotalAmount plus ram:TaxTotalAmount. Write prepayments to ram:TotalPrepaidAmount (BT-113) and rounding to ram:RoundingAmount (BT-114). The amount to pay goes in ram:DuePayableAmount (BT-115).

Example

Wrong (CII)

<ram:TaxBasisTotalAmount>950.00</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">180.50</ram:TaxTotalAmount>
<ram:GrandTotalAmount>630.50</ram:GrandTotalAmount>
<!-- 500.00 prepayment subtracted here -->
<ram:DuePayableAmount>630.50</ram:DuePayableAmount>

Right (CII)

<ram:TaxBasisTotalAmount>950.00</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">180.50</ram:TaxTotalAmount>
<ram:GrandTotalAmount>1130.50</ram:GrandTotalAmount>
<ram:TotalPrepaidAmount>500.00</ram:TotalPrepaidAmount>
<ram:DuePayableAmount>630.50</ram:DuePayableAmount>

In Dynamics 365, Business Central and Finance

Sales / Project Operations: Sales and Project Operations have no e-invoice output out of the box. In the WBS Invoice Accelerator for Dynamics 365 the Accelerator computes every total of the e-invoice from the lines it writes to the file. If this rule appears for a file from the Accelerator, send the whole message to WBS.

Related error codes

E-invoicing from Dynamics 365

Check your invoice for free. The validator shows every finding with an explanation and its location in the XML.