Taxes

Create a tax

POST
/api/v1/taxes
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/taxes" \  -H "Content-Type: application/json" \  -d '{    "name": "Example Tax Name",    "rate": 7.5  }'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "Example Tax Name",
  "isActive": true,
  "businessId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "rate": 7.5,
  "createdAt": "2025-05-08T13:24:12.211Z",
  "updatedAt": "2025-05-08T13:24:12.211Z"
}
Empty
Empty
Empty

How is this guide?

Last updated on