Skip to content
Developers
Pilot. The API is open to a small number of organisations and may change — every change is in the changelog.

Reference · Taxes

List tax groups

GET/v1/sites/{siteId}/tax-groups

A site's tax groups: named sets of taxes applied together. A page at a time; retired ones only with includeInactive.

Needs Catalogue: read

Path

  • siteIdrequired

    The site, from GET /v1/sites.

    string

Query

  • limit

    How many records to return, at most.

    integer · ≥ 1 · ≤ 200 · default 50

  • cursor

    nextCursor from the previous page. Omit for the first page.

    string

  • updatedSince

    Only records changed at or after this time (RFC 3339). For a sync, pass the time your previous sync started.

    string · date-time

  • includeInactive

    Include retired records (active false). Off by default.

    boolean

Headers

  • Authorizationrequired

    An API key from Automation > Access in the Dnero portal, sent as Authorization: Bearer <key>.

    string

Responses

200 OK

  • datarequired

    The records, in a stable order.

    array of objects

    5 fields in each
    • activerequired

      False for a retired tax group.

      boolean

    • coderequired

      The tax group's code.

      string

    • namerequired

      The tax group's name.

      string

    • taxCodesrequired

      The taxes in the group, by code.

      array of string

    • updatedAt

      When the tax group last changed.

      string · date-time

  • nextCursor

    Pass as cursor to get the next page. Absent on the last page.

    string