Tax rates

Get tax rate

The Get tax rate endpoint returns a single tax rate for a given taxRateId.

Tax rates are a set of taxes and associated rates within the SMB's accounting software.

Before using this endpoint, you must have retrieved data for the company.

get/companies/{companyId}/data/taxRates/{taxRateId}

Response

Success

idstring

Identifier for the tax rate, unique for the company in the accounting software.

namestring nullable

Codat-augmented name of the tax rate in the accounting software.

codestring nullable

Code for the tax rate from the accounting software.

statusTaxRateStatus — unresolved $ref
effectiveTaxRatenumber nullable

See Effective tax rates description.

totalTaxRatenumber nullable

Total (not compounded) sum of the components of a tax rate.

componentsTaxRateComponent[] nullable— unresolved $ref
modifiedDatestring

The date when the record was last fetched from the accounting software, commerce software, or open banking provider and updated in Codat’s data cache.

Use it to identify and retrieve records that have changed since your last fetch. For example, filtering modifiedDate to today will provide new records updated in Codat today.

This date is populated for all data types except for attachments, balance sheets, company information, and profit & loss reports (read more).

In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>.

sourceModifiedDatestring

The date when a record was last modified in the accounting software, usually by the business or a business process. For example, when payments are made against an invoice.

It is not populated (read more) when:

  • Pulling attachments
  • The accounting software does not provide modification dates for a data type
  • A record has been deleted from the source platform and Codat doesn't have a record of when the deletion occurred
  • A record has been voided. For certain platforms that soft delete records, isDeleted metadata is used to identify void records

In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>.