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": [
{
"rootfi_id": 123,
"rootfi_created_at": "2021-01-01T00:00:00Z",
"rootfi_updated_at": "2021-01-01T00:00:00Z",
"rootfi_integration_type": "QUICKBOOKS_SANDBOX",
"rootfi_company_id": 1234,
"rootfi_organisation_id": 12,
"platform_id": "3770712000001298001",
"name": "Track Categories",
"code": "GST",
"effective_tax_rate": 12,
"total_tax_rate": 12,
"tax_type": "igst",
"components": [
{
"name": "Track Categories",
"rate": 12,
"tax_agency": "igst",
"is_compound": false
}
],
"updated_at": "2000-12-31T18:30:00.000Z"
}
],
"total_count": 1
},
"request_timestamp": "2000-12-31T18:30:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}Retrieve Tax Rates from the database based on the ID
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": [
{
"rootfi_id": 123,
"rootfi_created_at": "2021-01-01T00:00:00Z",
"rootfi_updated_at": "2021-01-01T00:00:00Z",
"rootfi_integration_type": "QUICKBOOKS_SANDBOX",
"rootfi_company_id": 1234,
"rootfi_organisation_id": 12,
"platform_id": "3770712000001298001",
"name": "Track Categories",
"code": "GST",
"effective_tax_rate": 12,
"total_tax_rate": 12,
"tax_type": "igst",
"components": [
{
"name": "Track Categories",
"rate": 12,
"tax_agency": "igst",
"is_compound": false
}
],
"updated_at": "2000-12-31T18:30:00.000Z"
}
],
"total_count": 1
},
"request_timestamp": "2000-12-31T18:30:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}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"
}
}
}'
Show child attributes
asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc asc, desc Show child attributes
Show child attributes
Show child attributes
The ID that the accounting platform uses to identify this tax rate
The unique ID we assign for that data's information
The RootFi designated id for the company
The RootFi designated id for the organisation
The accounting platform from which the data is being retrieved
ZOHO_BOOKS, QUICKBOOKS_SANDBOX, QUICKBOOKS, XERO, TALLY, SAGE_CLOUD_ACCOUNTING, MS_DYNAMICS_365, SAGE_ZA_CLOUD_ACCOUNTING, MYOB_BUSINESS, WAVE, ODOO_ACCOUNTING, NETSUITE, WAFEQ, MEKARI_JURNAL, BUSY, ROOTFI_SANDBOX, QOYOD The latest date at which RootFi updated this data
The date at which RootFi first synced this data
Display name of the tax rate
Simple ID for the tax rate
The total tax rate after accounting for the compounding effects of all tax components
The sum of all the tax rate components
The type of tax as mentioned in the accounting platform
An array of all the tax components
Show child attributes
The name of the component
The tax rate of the component
Whether the tax component is compounded or not
The tax agency of the component
The last ISO 8601 timestamp that the data was updated at
Total Count of response object
The time at which the request was received by the server
The time at which the response was sent by the server
The unique ID of the request