Team Tax
Create a team tax profile
Changed onCreate a reusable organiser tax profile.
post/teams/{teamId}/tax-profiles
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
teamId, string required
Team that owns the tax profile
Request body
object required
Create 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 thepathrequest parameterteamId - breaking
the
collection/taxNamerequest property's minLength was increased from0to1 - breaking
the
supplier/address/addressrequest property's minLength was increased from0to1
22 more changes in this revision
- breaking