import * as utils from "../internal/utils"; import * as operations from "../sdk/models/operations"; import { SDKConfiguration } from "./sdk"; import { AxiosRequestConfig } from "axios"; /** * Tax rates */ export declare class TaxRates { private sdkConfiguration; constructor(sdkConfig: SDKConfiguration); /** * Get tax rate * * @remarks * The *Get tax rate* endpoint returns a single tax rate for a given taxRateId. * * [Tax rates](https://docs.codat.io/accounting-api#/schemas/TaxRate) are a set of taxes and associated rates within the SMB's accounting package. * * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=taxRates) for integrations that support getting a specific tax rate. * * Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data). * */ get(req: operations.GetTaxRateRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise; /** * List all tax rates * * @remarks * The *List tax rates* endpoint returns a list of [tax rates](https://docs.codat.io/accounting-api#/schemas/TaxRate) for a given company's connection. * * [Tax rates](https://docs.codat.io/accounting-api#/schemas/TaxRate) are a set of taxes and associated rates within the SMB's accounting package. * * Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data). * */ list(req: operations.ListTaxRatesRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise; }