Add a deduction type
Custom types can be fixed, percentage or loan. The built-in types (PAYE tax table, pension, NHF,
staff loan, salary advance, cooperative savings) exist for every business and cannot be created.
A type that applies_to: everyone is taken from everyone from the next run (percentage only; a fixed
amount or loan for everyone must be added per person).
A fixed amount or loan with applies_to: everyone is 400 parameter_invalid (param: applies_to).
Error codes: invalid_api_key, parameter_invalid, parameter_missing, scope_missing, csrf_token_invalid, idempotency_key_reused, rate_limited.
Authorizations
Server API key, scoped. pk_test_ keys hit the sandbox tenant.
Headers
Optional on non-money POSTs; honoured when sent.
1 - 255Optional client correlation id, up to 128 characters. It is not echoed: the response's X-Request-Id is always
our own req_… id. We log your value with the request as client_request_id, so support can find a request by
either id. A longer value is refused with 400 parameter_invalid.
128Body
Shown on payslips.
1 - 60Kinds a custom type can be.
fixed, percentage, loan everyone is only allowed for percentage.
everyone, selected_people Required for percentage (250 = 2.5%).
0 <= x <= 10000Required for percentage.
basic, basic_housing_transport, gross Where the money goes, listed on the run report. Omit if it stays in the business (e.g. a loan repayment).
120Response
The new deduction type.
A deduction set up once for the business (ded_…).
ded_…
Always deduction_type.
"deduction_type"RFC 3339, UTC.
"2026-10-27T08:41:00Z"
RFC 3339, UTC.
"2026-10-27T08:41:00Z"
Shown on payslips.
How a deduction is worked out. tax_table = PAYE from yearly pay and reliefs (built-in only);
percentage = rate × base; fixed = same amount each run; loan = same amount each run until a total is
repaid; one_off = taken from the next run only (built-in "Salary advance").
tax_table, percentage, fixed, loan, one_off Human description of how it is worked out.
Company-wide or added per person.
everyone, selected_people Taken from runs when true.
False for built-in types.
People it currently applies to.
Short tag for tables.
For percentage.
0 <= x <= 10000For percentage.
basic, basic_housing_transport, gross Where the money goes. Absent when it stays in the business.