BR-AE-08: Taxable amount wrong for category "AE"
This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.
Why this code appears
For category AE (reverse charge), the taxable amount declared in the VAT breakdown does not equal the sum of the line net amounts at that rate, plus document-level charges, minus document-level allowances carrying the same category and rate.
How to fix it
Recalculate the taxable base rate by rate: add the net amounts of the lines concerned, add document-level charges, subtract document-level allowances. A global discount left out of that sum is the most common cause of the gap.
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-116.