You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Luís Maranesi <lu...@gmail.com> on 2011/01/10 23:41:17 UTC
Tax
Hello,
I'd like to if any of you can point me some document to understand better
how the taxation is dealt in OFBiz. I've already read this document
https://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++
Internationalisation+of+OFBiz but there is nothing written there yet.
If I needed, for example, to adapt it for Brazilian taxation what would be
the first step? Could someone indicate me where in the code I can start my
investigation?
Thanks,
Luís Maranesi
Re: Tax
Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
Hi Luis,
If you are talking about tax on business transactions (sales tax, VAT, GST
etc) here are some thoughts.
See https://cwiki.apache.org/confluence/display/OFBIZ/VAT. Please add to it
how retail taxes work in Brazil. See also the Jira issue
http://issues.apache.org/jira/browse/OFBIZ-366 for some of the work that's
been done for VAT/GST.
The keys are the TaxAuthorityRateProduct entity and the services calcTax and
calcTaxForDisplay. The services both execute methods in
applications/accounting/src/org/ofbiz/accounting/tax/TaxAuthorityServices.java
.
TaxAuthorityRateProduct instances have a ProductStore (null means the tax
applies to all product stores), a GeoId for the region the tax authority
governs, a GeoId for the location of the payer, the taxable ProductCategory
(null means all products are taxed, but individual products can opt out
because there's a taxable attribute on the Product entity).
Hope this helps
Paul Foxworthy
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Tax-tp3208155p3208556.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.
Re: Tax
Posted by Luís Maranesi <lu...@gmail.com>.
Thanks. That's exactly what was looking for. The information about calcTax
and calcTaxForDisplay and the documents about VAT already helped me to learn
a lot.
Luís
On Tue, Jan 11, 2011 at 5:59 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> Hi Luis,
>
> You could be interested by
>
> https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz%27s+Tax+Authority+Data+Model
> https://cwiki.apache.org/confluence/display/OFBENDUSER/08+Tax+Authorities
> https://cwiki.apache.org/confluence/display/OFBIZ/VAT
>
> The code behind all is in TaxAuthorityServices.java
>
> But please use rather user ML for such questions, see why here :
>
> http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@ofbiz.apache.org
>
> Also please help yourself searching in the wiki. It's explained at the
> bottom of the mail list page (last link above). For instance simply looking
> for vat, gave me the links above in seconds...
>
> Thanks
>
> Jacques
>
>
> Luís Maranesi wrote:
>
>> Hello,
>>
>> I'd like to if any of you can point me some document to understand better
>> how the taxation is dealt in OFBiz. I've already read this document
>> https://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++
>> Internationalisation+of+OFBiz but there is nothing written there yet.
>>
>> If I needed, for example, to adapt it for Brazilian taxation what would be
>> the first step? Could someone indicate me where in the code I can start my
>> investigation?
>>
>> Thanks,
>> Luís Maranesi
>>
>
>
>
Re: Tax
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Luis,
You could be interested by
https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz%27s+Tax+Authority+Data+Model
https://cwiki.apache.org/confluence/display/OFBENDUSER/08+Tax+Authorities
https://cwiki.apache.org/confluence/display/OFBIZ/VAT
The code behind all is in TaxAuthorityServices.java
But please use rather user ML for such questions, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@ofbiz.apache.org
Also please help yourself searching in the wiki. It's explained at the bottom of the mail list page (last link above). For instance
simply looking for vat, gave me the links above in seconds...
Thanks
Jacques
Luís Maranesi wrote:
> Hello,
>
> I'd like to if any of you can point me some document to understand better
> how the taxation is dealt in OFBiz. I've already read this document
> https://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++
> Internationalisation+of+OFBiz but there is nothing written there yet.
>
> If I needed, for example, to adapt it for Brazilian taxation what would be
> the first step? Could someone indicate me where in the code I can start my
> investigation?
>
> Thanks,
> Luís Maranesi