Some inconsistency have been found in current (december 2009) base_amount category design.
Table of Contents
Some inconsisytency have been found in current (december 2009) base_amount category design.
The issue was that, for trade, there is a notion of taxable, wherease for payroll, there was no such notion. This meant that either one or the other was wrong.
The conclucion is that the right approach is in trade. There are 2 kinds of base amounts :
In most countries the contribution base is equal salary, but it happens sometimes that some parts of salary are not taken into account in the contribution base.
It is the same idea as saying that the the base of vat calculation is the total price of an invoice line. However, some lines are not submitted to vat sometimes in an invoice.
All this gives a structure of categories in which we separate 2 notions: base and report.
means the base amount on which vat is calculated from the invoice lines of products. Whereas
means the amount of vat in the invoice lines of tax.
One will notice by the way that the total quantities of lines of (/trade/report/tax/vat) is different from the total of price of lines of (/trade/base/tax/vat) due to rounding.
'base' is used for base_amounts which are needed by trade model lines to compute something else.
'report' is used for base amounts which must be displayed in a report.
In some cases, specific categories are needed and are related to localisation. That's why we introduce a structure for localisation and specialisation:
stores category definitions for countries in TioLive. This is very useful.
some exceptions to the standard categories (this can be useful in a group of companies). This is less useful.