English
cURL
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 } }
WRITE
ADMIN
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Standard tax model that returns all properties by default
Name of the Tax
"GST"
Tax Rate in decimal format (0 -> 100)
"10"
An external number or code that identifes this tax
"CAP: Capital Purchase"
Compound taxes are calculated on top of primary taxes
false
Successful Operation
Show child attributes
The ID of the newly created object
2384