Community mailing list archives


Re: Tax Retencion / Tax Withholding :: Common approach

KMEE, Luis Felipe Miléo
- 21/10/2014 20:18:12

We are from Brazil and in recent days we work in something that seems similar to what happens in Argentina:

    Federal taxes: For eg: PIS/COFINS/CSLL that have a floor amount R$ 5000,00.  

If all the invoices of the current month above this floor amount there's no Withholding. Then in the finalize_invoice_move_lines we have to check the current month WH.

    Municipal taxes: Some cities have WH and others not.

Some screen-shoots:

Account Invoice:


Partner Fiscal Type:

The code:

The amount of WH should be discounted of amount_total / residual and sended to the government webservices. However today we following the voucher approach.

David's mockups looks great. I will take a look later in Equador hack.


2014-10-21 21:12 GMT-02:00 Ovnicraft <>:

On Sat, Oct 18, 2014 at 8:12 PM, Nhomar Hernández <> wrote:

2014-10-18 18:09 GMT-04:30 Juan José Scarafía (ADHOC) <>:
* Retentions / withholdings: we refer to amounts been retained on PAYMENTS. It depends in receiver, issuer and sum of amount that has been paid on month or similar. 
* Perceptions: amounts being "retained" on INVOICE (depends on receiver, issuer and invoice amounts)

Just to compliment:

In México withholding is "On the tax".
In Venezuela withholding is "On the tax" but on "Invoice time"
In Colombia is like Venzuela AFAICK.
In Brazil other apply.

IMHO, withholding must to be:

- Configured on "Tax Level".
- Have into account the variable David mentioned (Partners (You and customer - You and supplier, Products and Document(s) [Payment, receipt and Invoices])
- Computed as a tax on Account Move Line.
- It need to be recorded ad a "Document" not as a "Tax".
- frquently as Argentina (in Venezuela it happen too!) your Withholding is different even in different cities on th country and the amounts are taken from a no-monetary currency called "Fiscal Unit" (Unidad Tributaria).

In our experience even the computing the withholding itself it really complex (for some of them) and so trivials in other documents, we tried without success build an unique model for Colombia and Venezuela and the "IF's" where too much than we decided do 2 development.

IMO in Odoo is so simple, in Ecuador we have many withdrawing cases so taxes engine works really good, with a simple hint: negative percent in tax, this solve all problems with accounting and tax reports.

The complex side for us is get totals in invoice document, we hack _compute_all method and all works. obviously we create a new document to control all around.


Saludos Cordiales
Nhomar Hernandez

Post to:

Cristian Salamea on
Cristian Salamea

Post to:

Luis Felipe Miléo

+55 35 8876-3662
+55 21 4063-8872
Você sabia que o OpenERP agora é odoo? 
Saiba mais em: