Community mailing list archives

Re: how to use tax base amount in invoice odoo 9 ?

Apertoso, Jos De Graeve
- 03/11/2016 03:48:44

You can look at the fields "tax_ids" and "tax_line_id" m2o fields on account.move.line. The field "tax_ids" contains the taxes that need to be applied to this line, typically on a move line on an  earnings account.  The field "tax_line_id" contains the taxes that were applied to generate this line, typically on an account containing the taxes to pay.

When you have a tax "X", the line containing the base amount will have X in "tax_ids" and the tax amount move line will have X in "tax_line_id"

These fields are hidden in the views.  You will probably want to make these visible while trying to figure out what is going on.

For more complex cases where the base amount is not equal to the debit or credit amount, there is the concept of tax groups.  You can look at the l10n_be localisation for an example: "Frais de voitures".  In Belgium, when purchasing car related services and goods, only 50% of VAT is deductible in some cases.  The vat amount is 21%, so there is a tax group that splits the 21% amount in two 10,5% taxes, one that is deductible and one that is not.


Jos De Graeve - Apertoso business ICT

Guido Gezellelaan 16 - B-9800 Deinze - Belgium
Direct: +32 9 381 64 51
General:+32 9 381 64 50
Mobile: +32 475 54 68 80
mail/im/skype: - apertoso

2016-03-04 16:09 GMT+01:00 omar frikha <>:
hello community,

in odoo 9, the tax base field does not exist

my question is: how I can get the income tax base în Odoo 9?

Post to: