Sales tax on a job
quote_sales_taxWhat sales tax to charge on a job, line by line, with the jurisdiction, the rate and the statute behind each decision — the same engine that prices the real invoice, so this quote IS what the customer will be charged. Tax on work at a property is sourced to the JOB SITE, never the billing address. WARNING: an undetermined result is NOT zero tax — it means the rate could not be sourced and the document must not be issued.
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": {
"lines": "<lines>",
"service_address": "<service_address>"
},
"name": "quote_sales_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Price it as at this date. Defaults to today. | |
| lines | Yes | The job broken into lines. Whether labor is taxable depends on what kind of work it is, so split labor from materials rather than sending one total. | |
| job_id | No | The job this is for (from list_work_orders). Send it whenever you have it: a capital-improvement certificate (e.g. NY ST-124) is held per job, and only a quote that names the job finds it. A job that is not this business's is ignored. | |
| contract_type | No | lump_sum or time_and_materials, where the contract form decides the treatment. | |
| customer_email | No | The paying customer's email. A customer with an exemption certificate on file (an exempt organization, direct pay) is only found when the quote names them; with a job_id and no email, the customer who dispatched the job is used. | |
| property_class | No | ||
| service_address | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |