|
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 |
|
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
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
|
Administrator
|
In reply to this post by Luis Alfredo Harriss Maranesi
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@... 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 |
|
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 < [hidden email]> 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@... > > 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 >> > > > |
| Free forum by Nabble | Edit this page |
