Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
Tax
Create Tax
WRITE
access to the ADMIN
module is required to access this endpointPOST
/
v2
/
tax
curl --request POST \
--url https://api.sonderplan.com/v2/tax \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "GST",
"rate": "10",
"code": "CAP: Capital Purchase",
"compound": false
}'
{
"success": {
"id": 2384
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Standard tax model that returns all properties by default
Response
200
application/json
Successful Operation
The response is of type object
.
curl --request POST \
--url https://api.sonderplan.com/v2/tax \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "GST",
"rate": "10",
"code": "CAP: Capital Purchase",
"compound": false
}'
{
"success": {
"id": 2384
}
}