Page Properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Purpose
This endpoint allows buyers to accurately calculate the tax to be collected on a purchase from Ticket Evolution. Calling this service is the first of two steps to ensure an Order associated with a Ticket Group has the correct tax to be collected; the second is creating the Order itself after the tax quote has been generated passing tax_signature
alongside the payload (see Orders / Create for instructions on the second step).
Info |
---|
IMPORTANT: The Tax Quote endpoint is set up as a convenience to you to determine how much tax Ticket Evolution will charge you if this order is created. Ticket Evolution will charge you tax during the order creation even if you choose not to pre-calculate using this endpoint as part of your checkout flow. If you feel you are exempt from tax collection and can provide an exemption certificate, please get in touch. |
Parameters
Name | Description | Type | Required |
---|---|---|---|
| ID of the ticket group for which a tax quote is required. | Integer | Required |
| Number of tickets being purchased. | Integer | Required |
| The | String | Optional |
| An object containing values for the retail sale portion of a Buy/Sell Order. If included, a | Object | Optional |
Retail Object
If included in the request, a retail
object will be included in the response with tax data for the the retail sale portion of a Buy/Sell order.
Name | Description | Type | Required |
---|---|---|---|
| The price per ticket the retail customer is being charged. | Float | Yes |
| The amount the retail customer is being charged for shipping. | Float | No |
| The amount the retail customer is being charged for a service fee. | Float | No |
| The amount the retail customer is being charged for additional expense. | Float | No |
| The amount being discounted for the retail customer. | Float | No |
Response
The response to a successful request will be a tax quote for the given Ticket group, alongside a signature that will be required in further calls to the Create Order endpoint to include the tax.
Attribute | Always present? | Data type | Description |
---|---|---|---|
| Yes | integer | The |
| Yes | integer | The |
| Yes | string | Unique identifier for this tax quote. This should be passed as |
| Yes | float | The |
| Yes | float | The subtotal for the wholesale order |
| Yes | float | Amount of tax to be collected on the wholesale portion of the purchase. |
| Yes | float | Final price after tax has been applied. |
| No | object | The |
| Yes, if | float | The retail price of the tickets provided in the request |
| Only if present in original request | float | The shipping amount if provided in the request |
| Only if present in original request | float | The service_fee if provided in the request |
| Only if present in original request | float | The additional_expense if provided in the request |
| Only if present in original request | float | The discount if provided in the request |
| Yes, if | float | The subtotal of the retail portion of the purchase |
| Yes, if | float | The amount of tax that should be charged on the the retail portion of the purchase |
| Yes, if | float | The summed total of values for the retail portion of the request |
Examples
Request | Response | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Wholesale Only Request
|
| ||||||||||
Wholesale and Retail Minimal Request
|
| ||||||||||
Wholesale and Retail Full Request
|
|
...
As part of Orders Parameters, we’ll have a new field to pass over the signature associated with a tax_quote:
...
Parameter
...
Description
...
Type
...
Presence
...
Other
...
tax_signature
...
Unique identifier
...
String
...
Optional
...