Skip to main content

Create a new taxe

Create a new taxe

Request Body — REQUIRED
name string — REQUIRED
type integer — REQUIRED

Possible values: [1, 2]

amount float — REQUIRED
label string — REQUIRED

Tax label display in document

tax_sign boolean — REQUIRED

false sign (-) , true sign (+)

tax_group integer — REQUIRED

Possible values: [1, 2, 3]

is_vat_tax boolean — REQUIRED

true if tax is calculated from vat amount

is_product_tax_only boolean — REQUIRED

true if tax is applied on product

enabled boolean — REQUIRED
belong_vat boolean — REQUIRED
Responses
201

Returns the created taxe

Schema — OPTIONAL
id integer — OPTIONAL
name string — OPTIONAL
type integer — OPTIONAL
amount float — OPTIONAL
label string — OPTIONAL
tax_sign boolean — OPTIONAL
weight integer — OPTIONAL
tax_group integer — OPTIONAL
is_vat_tax boolean — OPTIONAL
is_product_tax_only boolean — OPTIONAL
enabled boolean — OPTIONAL
belong_vat boolean — OPTIONAL
400

Taxe not valid