Hacker News new | ask | show | jobs
by jakejohnson 2926 days ago
When using a sales tax API, the merchant configures their product catalog by assigning products to specific tax categories or tax codes based on the sales tax provider. Some tax categories are extremely granular to accommodate the scenario you mentioned. The logic on whether or not the product is taxable in a specific state based on a certain threshold is done completely within the API when passing over tax codes for each line item.