tax_rates table
The tax_rates table in the E-commerce Database Schema schema has 5 columns, keyed by id.
Basis points, so 8.25 percent is 825. Integer arithmetic all the way through.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| country_code | char(2) | not null | |
| region | varchar(120) | ||
| name | varchar(120) | not null | |
| rate_basis_points | integer | not null |
Indexes (1)
(country_code, region)