# Strange calculation with VAT

**URL:** <https://forum.manager.io/t/strange-calculation-with-vat/5920>\
**Category:** Uncategorized\
**Created:** [June 2, 2016, 5:45pm UTC](https://forum.manager.io/t/strange-calculation-with-vat/5920 "2016-06-02T17:45:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [June 2, 2016, 11:08pm UTC](https://forum.manager.io/t/strange-calculation-with-vat/5920/5 "2016-06-02T23:08:01Z")

</div>

> [@Marco](#):
>
> I think almost in every country it’s like you described. Including mine which is Belgium. That’s why I thought it’s a bug.

In every country both tax calculation methods are accepted.

For general purpose double-entry accounting system it’s actually necessity to calculate tax for each line item separately. That’s because each line item is posted to general ledger separately. After all every line item can be for different income or expense account. Or if you do divisional accounting, each line item could be for different division etc.

Quickbooks, Sage and others all calculate tax on line item level. So does Manager.

> [@Marco](#):
>
> The sum of all entries for a selected vat we call ‘Maatstaf van heffing’ or Mvh. If an invoice has lines with different VAT percentages, those totals schould be displayed seperately.

Can you have a look at this topic? It sounds similar to Dutch use case and that has been implemented.

> [@BTW (TAX) Subtotals on Invoices](https://forum.manager.io/t/btw-tax-subtotals-on-invoices/4383):
>
> Hey there, first of all, complements for this piece of software. Its great. I have the following question. Is there any code available (with example) for showing the subtotal (“grondslag” in Dutch) for each tax code in the invoice templates. I have made my own custom sales invoice template, but this issue i struggling with it. I used both BTW (TAX) codes for The Netherlands, and my prices are BTW included. This is what i want to realize: TOTAAL TE BETALEN: € 234,30 Inclusief BTW 21% …

---

_[View the full topic](https://forum.manager.io/t/strange-calculation-with-vat/5920)._
