Community mailing list archives
Re: how to use tax base amount in invoice odoo 9 ?by
Apertoso, Jos De Graeve
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.
2016-03-04 16:09 GMT+01:00 omar frikha <firstname.lastname@example.org>:
hello community,in odoo 9, the tax base field does not existmy question is: how I can get the income tax base în Odoo 9?