views:

46

answers:

1

I finishing the engine of my iPhone App, and need a flexible setup for tax handling.

This is for LatinAmerica, USA & Europe markets.

The App is a POS system. I support right now 2 taxes, and store the taxes in a table with Code, Name, Percent, FixedValue and if is included or excluded of the price.

In this enough? Exist some sample or rules that let me see how code this? Exist a engine or sourcecode of tax in Obj-C or Python that is solid for a POS?

Is possible that a single product have 2 taxes: One included and other excluded at same time?

A: 

For configuring static data (like how taxes are calculated in a particular country) the best thing to do is use a plist. You can very easily load this into a NSArray or NSDictionary by using initWithContentsOfFile.

Nimrod