WooCommerce Sales Tax API
If you run WooCommerce and need accurate US sales tax at checkout, TaxLite provides an API to calculate sales tax by address (or lat/lng), then export filing-ready totals from recorded sales.
- Fast checkout path: call
/api/calculateduring checkout. - Reporting path: call
/api/record-saleafter payment succeeds. - Filing-ready exports: bucket totals you can export for returns.
Example request
curl -X POST https://taxlite.io/api/calculate \
-H "Content-Type: application/json" \
-H "x-company-key: tl_trial_your_key" \
-d '{
"state_code": "FL",
"address": "200 S Orange Ave",
"city": "Orlando",
"zip_code": "32801",
"taxable_base_cents": 10000
}'