tax_rate
Look up the correct consumption-tax rate for a given date and location, accounting for historical changes in UK VAT and US state sales-tax rates.
Instructions
Look up the correct consumption-tax rate. USE THIS before calculating VAT or sales tax on an invoice or quote — never recall the rate from memory, it is DATE-SENSITIVE. GB returns the UK standard VAT rate that applied on the given date (handles historical/temporary changes). US has no national VAT (returns 0); pass a state code like 'CA' for the state base sales-tax rate. Always pass the invoice date for GB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | GB | |
| date | No | ||
| state | No |