VATs

POST

Create VAT

Create a new VAT.

Required Permission: Create Vat
POST /vats

Request Body

JSON

    

Request 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

201 Created
Status Code
HTTP status code (201)
Message
Human-readable description
Data
Created VAT details