Update estimate
update_estimateChange an estimate's lines, tax, discount, deposit, expiry, notes or PO number. Nothing is sent. Changes only the fields you pass. line_items replaces every line (the tax stays unless you pass tax_rate, tax_id or remove_tax). tax_rate or tax_id alone re-taxes the current lines. discount or deposit null removes it. Joist recomputes the total. Nothing is sent; a client who already got the estimate sees the change behind the same link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes shown on the document. | |
| tax_id | No | A saved tax rate from list_items (taxes) instead of tax_rate. | |
| deposit | No | null removes it. | |
| discount | No | null removes it. | |
| tax_rate | No | Tax percent on every line, e.g. 7.25. Uses your tax rate with that percent, or adds one. | |
| po_number | No | PO number. | |
| expires_on | No | New last valid day. | |
| line_items | No | Replaces every line. Leave out to keep the lines. | |
| remove_tax | No | true takes the tax off every line. | |
| estimate_id | Yes | From list_estimates. |