Withholding Tax

Withholding tax codes with the debit and credit accounts used when posting.

Path Parameter::AUTOKEY (integer) — internal ID, not a code

Endpoints

GET
/whtax

List withholding tax codes with pagination and filters

GET
/whtax/:AUTOKEY

Get a single withholding tax code by autokey

POST
/whtax

Create a new withholding tax code

PUT
/whtax/:AUTOKEY

Update a withholding tax code by autokey

DELETE
/whtax/:AUTOKEY

Delete a withholding tax code by autokey

Fields

FieldTypeRequiredNotes
autokeyintegerNoInternal auto-numbered ID used in the URL path.
codestring
Yes
Withholding tax code. Proven: "WHT-10".
descriptionstring
Yes
Description. Proven: "WHT 10%".
taxaccountdrstring
Yes
Debit account code. Proven: "310-000".
taxaccountcrstring
Yes
Credit account code. Proven: "310-000".
taxratedecimalNoTax rate percentage.
isdefaultbooleanNoDefault flag.
isactivebooleanNoActive flag.
lastmodifiedintegerNoUnix timestamp, read-only.

Examples

POST — Create Withholding Tax

POST /whtax
{
  "code": "WHT-10",
  "description": "WHT 10%",
  "taxaccountdr": "310-000",
  "taxaccountcr": "310-000"
}

GET — List Withholding Tax Codes

GET /whtax?offset=0

Notes