Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Create a tax rate

Add a tax rate.

POST/v1/tax_rates

Add a tax rate.

Endpoint

http
POST /v1/tax_rates

Request body

NameTypeRequiredDescription
display_namestringRequiredShown beside the tax.
percentage_ppmintegerRequiredThe rate in millionths: 88750 is 8.875%.
inclusivebooleanRequiredWhether prices include it.
tax_typeenumRequiredsales_tax, vat or gst.
countrystringOptionalWhere it applies.
statestringOptionalA state or region code.
jurisdictionstringOptionalThe region's name on invoices.
applies_to_shippingbooleanOptionalDefault false.
descriptionstringOptionalFor your team.

Example request

bash
curl -X POST https://api.sovgate.com/v1/tax_rates \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: 83fd5e6c-4b2a-4c1d-9e3f-4a88e1ef2259" \  -H "Content-Type: application/json" \  -d '{  "display_name": "Sales tax",  "percentage_ppm": 88750,  "inclusive": false,  "tax_type": "sales_tax",  "country": "US",  "state": "NY",  "jurisdiction": "New York City"}'

Example response

json
{  "id": "txr_b5beb37de0416b8b2e136f68",  "object": "tax_rate",  "livemode": false,  "display_name": "Sales tax",  "description": null,  "percentage_ppm": 88750,  "inclusive": false,  "country": "US",  "state": "NY",  "jurisdiction": "New York City",  "tax_type": "sales_tax",  "applies_to_shipping": false,  "status": "active",  "created": "2026-11-20T09:30:00Z"}