E-invoice error explained
The VAT in the invoice header (BT-110) must equal the sum of the tax amounts of all VAT breakdown rows (BT-117).
The VAT in the invoice header (BT-110) must equal the sum of the tax amounts of all VAT breakdown rows (BT-117). The breakdown has one row per VAT category and rate.
Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).
Source: KoSIT configuration XRechnung 3.0.2 (31 Jan 2026).
Compute the tax for each breakdown row (BT-116 times the rate, rounded to two decimals, see BR-CO-17) and set ram:TaxTotalAmount (BT-110) to the sum of these ram:CalculatedAmount values. BT-110 carries the currencyID attribute with the invoice currency.
Wrong (CII)
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>180.50</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>950.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
<!-- ... -->
<ram:TaxTotalAmount currencyID="EUR">180.51</ram:TaxTotalAmount>Right (CII)
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>180.50</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>950.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
<!-- ... -->
<ram:TaxTotalAmount currencyID="EUR">180.50</ram:TaxTotalAmount>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.
Check your invoice for free. The validator shows every finding with an explanation and its location in the XML.