Team Tax

Set the default team tax profile

Changed on

Use this profile by default for future events.

put/teams/{teamId}/tax-profiles/{profileId}/default

Request

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

Path parameters

teamId, string required

Unique team identifier

profileId, string required

Unique tax profile identifier

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

    • breaking

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

    • info

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

    3 more changes in this revision