POST
/
accounting
/
tax_rates
/
all
curl --request POST \
  --url https://api.rootfi.dev/accounting/tax_rates/all \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "take": 10,
  "skip": 0,
  "orderBy": {
    "name": "asc"
  },
  "filter": {
    "name": {
      "eq": "Track Categories"
    }
  }
}'
{
  "data": {
    "data": [
      {
        "code": "GST",
        "components": [
          {
            "is_compound": false,
            "name": "Track Categories",
            "rate": 12,
            "tax_agency": "igst"
          }
        ],
        "effective_tax_rate": 12,
        "name": "Track Categories",
        "platform_id": "3770712000001298001",
        "rootfi_company_id": 1234,
        "rootfi_created_at": "2021-01-01T00:00:00Z",
        "rootfi_id": 123,
        "rootfi_integration_type": "QUICKBOOKS_SANDBOX",
        "rootfi_organisation_id": 12,
        "rootfi_updated_at": "2021-01-01T00:00:00Z",
        "tax_type": "igst",
        "total_tax_rate": 12,
        "updated_at": "2000-12-31T18:30:00.000Z"
      }
    ],
    "total_count": 1
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
  "request_timestamp": "2000-12-31T18:30:00.000Z",
  "response_timestamp": "2021-06-01T00:00:00.000Z"
}

The Tax Rates Data Model is designed to provide a unified representation of tax rates across various accounting platforms.

Authorizations

api_key
string
headerrequired

Body

application/json
filter
object
orderBy
object
skip
integer | null
take
integer | null

Response

200 - application/json
data
object
required
request_id
string
required

The unique ID of the request

request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server