Tax Rates

Endpoint for retrieving a list of tax rates.

get/tax-rates/

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/tax-rates/
  • Auth
    API key in header Authorization

Query parameters

created_ts_afterstring date-time

The timestamp in UTC when the tax rate was created

created_ts_beforestring date-time

The timestamp in UTC when the tax rate was created

external_idstring

External identifier

modified_ts_afterstring date-time

The timestamp in UTC when the tax rate was last modified

modified_ts_beforestring date-time

The timestamp in UTC when the tax rate was last modified

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

tax_type'OUT_OF_SCOPE' | 'PURCHASES' | 'REVERSE_CHARGE' | 'SALES' | '__null__'
  • OUT_OF_SCOPE - OUT_OF_SCOPE
  • PURCHASES - PURCHASES
  • REVERSE_CHARGE - REVERSE_CHARGE
  • SALES - SALES
  • __null__ - null

Tax type

  • SALES - Sales
  • PURCHASES - Purchases
  • REVERSE_CHARGE - Reverse Charge
  • OUT_OF_SCOPE - Out of Scope

Response

countinteger required

The total number of results across all pages.

nextstring uri nullable

The URL of the next page of results, or null on the last page.

previousstring uri nullable

The URL of the previous page of results, or null on the first page.

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

    • info

      added to the // response property allOf list for the response status

    • info

      removed from the // response property allOf list for the response status