I've been given the task to design a system that has a product's price have different amounts of different taxes based on different factors.
For example in the US you would get a few - one based on region and another on state and such, while in the EU you get VAT. I'm trying to figure out a non-hardcoded way of different taxes being applied based on different factors for the customer and the product and the location or store.
Does anyone have an idea as to an exiting solution that would easily apply to this problem?
I also would accept general answers on how to learn to solve such design questions in general (like a book that guides you through creating a structured approach)