Team Tax

List team tax profiles

Changed on

Retrieve reusable organiser tax profiles and the default.

get/teams/{teamId}/tax-profiles

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

teamId, string required

Team whose tax profiles should be retrieved

Response

OK

object required

Team tax profiles and the current default

profiles, object[] required

Reusable tax profiles owned by the team

defaultProfileId, string nullable required

Unique tax profile identifier

Example response

{
  "profiles": [
    {
      "supplier": {
        "address": {
          "countryCode": "AU"
        }
      },
      "collection": {
        "taxName": "GST",
        "ratePpm": 100000,
        "priceMode": "INCLUSIVE"
      }
    }
  ]
}

Changes

    • breaking

      added the pattern ^tem_[0-9a-z]{26}$ to the path request parameter teamId

    • info

      the defaultProfileId/anyOf[subschema #1] response's property pattern ^txp_[0-9a-z]{26}$ was added for the status

    • info

      the profiles/items/id response's property pattern ^txp_[0-9a-z]{26}$ was added for the status

    2 more changes in this revision