Tax Rates

List tax rates

Lists the taxes your account charges, such as a sales tax or VAT. Deleted tax rates are left out.

This is where you turn a tax name into the id a pricing table row takes in tax_rate_ids.

Reading tax rates takes the same access as in Bonsai: company admin, or permission to create invoices.

get/public-api/v1/tax_rates

Request

  • Base URL
    https://app.hellobonsai.com
  • URL
    https://app.hellobonsai.com/public-api/v1/tax_rates
  • Auth
    • OAuth 2
      Authorization code: https://app.hellobonsai.com/oauth/authorize
      Token URL: https://app.hellobonsai.com/oauth/token
    • or HTTP bearer

Query parameters

page[number]integer

Page to return, starting at 1.

page[size]integer

Records per page. Defaults to 25; anything above 100 is reduced to 100.

Response

A page of tax rates, ordered by name.

Example response

{
  "data": [
    {
      "id": 12,
      "name": "Sales tax",
      "rate": "8.25"
    }
  ],
  "meta": {
    "request_id": "b1f0d2c4-7a9e-4c3b-8d5f-1e2a3b4c5d6e",
    "pagination": {
      "page": 1,
      "page_size": 25,
      "has_more": true
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.