30,997
edits
(Created page with "This page explains how vat calculation works (or can work depending of options you choose) into Dolibarr. = Standard usage = Let's start with the example we will use. Imagine in...") |
|||
| Line 7: | Line 7: | ||
||Desc||Qty||Unit price||Vat rate||Tax amount||Exact price inc tax||Price inc tax on 2 decimals | ||Desc||Qty||Unit price||Vat rate||Tax amount||Exact price inc tax||Price inc tax on 2 decimals | ||
|- | |- | ||
||Product 1||1|| | ||Product 1||1||1.24||10%||10/100*1.24=0.124||1.24+0.124=1.354||1.24+0.12=1.36 (rounded to nearest to have price on 2 decimals) | ||
|- | |- | ||
||Product 2||1|| | ||Product 2||1||1.24||10%||10/100*1.24=0.124||1.24+0.124=1.354||1.24+0.12=1.36 (rounded to nearest to have price on 2 decimals) | ||
|} | |} | ||
| Line 27: | Line 27: | ||
* Total tax 10%: (1.24 + 1.24) * 10% = 0.124 + 0.124 = 0.248 rounded to nearest to have a total on 2 decimals give '''0.25''' (we sum amount for each lines, calculate vat rate and after we round value on 2 decimals) | * Total tax 10%: (1.24 + 1.24) * 10% = 0.124 + 0.124 = 0.248 rounded to nearest to have a total on 2 decimals give '''0.25''' (we sum amount for each lines, calculate vat rate and after we round value on 2 decimals) | ||
* Total inc tax (we sum total without tax + total tax): 3.73 + 0.25 + 0.25 = '''4.23''' | * Total inc tax (we sum total without tax + total tax): 3.73 + 0.25 + 0.25 = '''4.23''' | ||
= For Spain = | = For Spain = | ||