i am building a custom ecommerce system. how do i get the most current tax rates based on the zipcode? i was thinking of just creating a table and listing all the state tax rates but the thing is the info changes yearly and it might be hard to track and update. would their be any apis that i can use? btw im using php
the one thing i need to be clear in us when a product is purchased, is the taxes applied only for shipping? or it needs to be applied for the item as well?
so would the total be calculated like this?
product: $100
shipping(ground) $4.75
tax(ca): 5%
total: 104.99