--- title: maintenance.setPrice | Doing Work API description: Replace a plan's priced lines (owner or office), and optionally its tax rate. An agent can only propose the lines: they wait until the owner or office. url: https://doingwork.work/docs/reference/maintenance-setprice/ --- # maintenance.setPrice Replace a plan's priced lines (owner or office), and optionally its tax rate. An agent can only propose the lines: they wait until the owner or office confirms them with maintenance.confirmPrice. A person who is the owner or office writes them now. Applies from the next term's invoice; invoices already made keep their price. | | | |---|---| | Who | Agents can call this | | REST | `POST /v1/maintenance-plans/price` | | MCP tool | `maintenance_setPrice` | | Writes | yes, send an Idempotency-Key | | Area | [Scheduling and visits](https://doingwork.work/docs/reference/#scheduling-and-visits) | ## When to use it Replace a plan's priced lines (owner or office), and optionally its tax rate. An agent can only propose the lines: they wait until the owner or office confirms them with maintenance.confirmPrice. ## What to tell the owner Say what you did in plain words and what happens next. ## Input | Field | Type | Required | |---|---|---| | `plan_id` | string (uuid) | yes | | `lines` | array | yes | | `lines[].description` | string | yes | | `lines[].quantity` | number | yes | | `lines[].unit_price_minor` | integer | yes | | `lines[].kind` | string (one of item, fee, discount) | no | | `lines[].taxable` | boolean | no | | `tax_rate_id` | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | no | ## Example ```http POST https://doingwork.work/v1/maintenance-plans/price content-type: application/json Idempotency-Key: 3f1c... { "plan_id": "00000000-0000-4000-8000-000000000000", "lines": [ { "description": "40 gallon gas heater, installed", "quantity": "...", "unit_price_minor": 50000 } ] } ``` ## Output JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are `{code, message, status}`. ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |