Update Tax
PUT/api/accounting/taxes/:id
Update Tax
Request
Path Parameters
id integerrequired
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
name stringrequired
rate numberrequired
type TaxTypeEnum (string)required
Possible values: [included
, excluded
]
enabled booleanrequired
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
company_id stringrequired
created_by_id stringrequired
name stringrequired
rate numberrequired
type TaxTypeEnum (string)required
Possible values: [included
, excluded
]
enabled booleanrequired
created_at stringrequired
updated_at stringrequired
deleted_at stringnullablerequired
{
"id": "string",
"company_id": "string",
"created_by_id": "string",
"name": "string",
"rate": 0,
"type": "included",
"enabled": true,
"created_at": "string",
"updated_at": "string",
"deleted_at": "string"
}
Loading...