Set a PAYE earner's salary
set_contact_paye_salarySets the yearly salary or wages a person earns from an employer, taxed through PAYE, by their contact id from list_contacts. The contact must have the paye-earner contact type; add it with update_contact first if they do not. taxapp stacks their commission and rental income on top of it to work out the tax rate that applies; 0 when they have none. Only for an organisation where this connection may add and change records (list_organisations says which). The answer is the changed contact.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contact_id": "<contact_id>",
"annual_paye_salary": "<annual_paye_salary>"
},
"name": "set_contact_paye_salary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | The contact's id, from list_contacts (a contact with the paye-earner type). | |
| organisation_id | No | The id of the organisation to use, from list_organisations. Leave it out when the connection covers only one organisation; it is required when it covers more than one. | |
| annual_paye_salary | Yes | Their yearly PAYE salary in NZD, before tax. |