POST
/
accounting
/
tax_rates
curl --request POST \
  --url https://api.rootfi.dev/v3/accounting/tax_rates \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data": [
    {
      "name": "Rootfi Test Tax Rate",
      "code": "1234567890",
      "effective_tax_rate": 10,
      "total_tax_rate": 10,
      "tax_type": "VAT",
      "components": [
        {
          "name": "Rootfi Test Tax Rate Component",
          "is_compound": false,
          "rate": 10,
          "tax_agency": "igst"
        }
      ]
    }
  ]
}'
{
  "data": [
    {
      "code": "6609425",
      "components": [
        {
          "is_compound": false,
          "name": "Victoria Wilson",
          "rate": null,
          "tax_agency": null
        }
      ],
      "effective_tax_rate": null,
      "name": "Victoria Wilson",
      "platform_id": "6609425",
      "rootfi_company_id": 1109,
      "rootfi_created_at": "2024-01-24T11:12:02.641Z",
      "rootfi_id": 25177,
      "rootfi_updated_at": "2024-01-24T11:12:02.000Z",
      "tax_type": "VAT",
      "total_tax_rate": null,
      "updated_at": "2023-12-21T10:14:26.353Z"
    }
  ]
}

A Tax Rate is the percentage at which an individual or corporation is taxed.

[he 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
company_id
integer
required

The ID of the company in the accounting platform

data
object[]
required

The data of the tax rates endpoint

Response

200 - application/json
data
object[]
required

The list of tax rates