Team Tax

Update a team tax profile

Changed on

Update a reusable organiser tax profile.

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

Request

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

Path parameters

teamId, string required

Team that owns the tax profile

profileId, string required

Tax profile to update

Request body

object required

Update a reusable team tax profile

supplier, object required

Legal supplier details used on customer receipts

collection, object required

Tax collection configuration for ticket sales

Example request

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

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

    • breaking

      the collection/taxName request property's minLength was increased from 0 to 1

    23 more changes in this revision