VATs
PATCH
Update VAT
Update an existing VAT.
Required Permission:
Edit Vat
PATCH
/vats/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required, max:255, unique | The name of the VAT |
| code | String | Optional | string, nullable, max:255 | The code of the VAT |
| type | Integer | Required | integer, required, in:1,2 | The type of VAT (1 = Percentage, 2 = Fixed) |
| rate | Numeric | Required | numeric, required, min:0 | The rate of the VAT |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated VAT details