Add a firm-scoped VAT rate
VAT Rates
Create VAT Rate
Add a firm-scoped custom VAT rate.
POST
Add a firm-scoped VAT rate
Overview
Adds a custom VAT rate row tofirm_vat. If a row with the same percent
already exists, the existing row is returned with created: false — the
endpoint is idempotent by percent.
When description is omitted, the standard description from
FirmVat::getOptions() is used for matching percents (e.g. 19% - TVA);
otherwise a generic <percent>% - TVA label is generated.
Preconditions
percentmust be between0and100.- Non-VAT-payer firms (
vat_type = noneon the parent) get400 non_vat_payer— standard rates from the catalog still appear in theavailablearray returned byGET /vat-rates, but custom rows are rejected.
Authorizations
Use your API key (sk_live_xxx or sk_test_xxx)