This sounds like a major undertaking but a major opportunity for Brazilian software developers.
The simple way to do this would be to: 1) Create a set of tax tables. 2) Create a stored procedure that looks up the rate from the tax tables and updates the other tax record appropriately. 3) Create a cron job that calls the stored procedure. 90% of the work is going to be in creating and maintaining the tax tables. My suggestion is to team up with an accountant who is willing to sell tax table updates on a subscription basis. This way there is continuing money to be spent on maintenance when the tax rates change. A business would be free to enter and/or maintain the tax tables themselves and still use your modifications, but they would also have the option of paying someone else (the accountant) to do that work for them. The accountant would of course require some infrastructure assistance (getting the data into PostgreSQL formats) and this is where your opportunity would exist. Best Wishes, Chris Travers ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ledger-smb-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
