Skip to main content

Documentation Index

Fetch the complete documentation index at: https://integrations.docs.commenda.io/llms.txt

Use this file to discover all available pages before exploring further.

A Tax Rate is the percentage at which an individual or corporation is taxed. The Tax Rates Data Model is designed to provide a unified representation of tax rates across various accounting platforms.

Additional Required Fields

To successfully create a tax rate, certain fields must be included in the raw_data object of the request body. The required fields are as follows:
IntegrationFieldDescription
MEKARI_JURNALbuy_tax_account_idThe ID of the account that will be used to record the tax amount when a purchase is made.
MEKARI_JURNALsell_tax_account_idThe ID of the account that will be used to record the tax amount when a sale is made.
Pass data as a single object for synchronous writes (default). For writes with two or more records, pass data as an array and add ?run_async=true. You can also set ?run_async=true with a single record to run asynchronously and receive only a sync_id.
curl --request POST \
  --url https://api.integrations.commenda.io/v4/core/companies/1/tax-rates \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "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"
      }
    ]
  }
}'