Create estimate
create_estimateNew saved estimate with line items, tax, discount, deposit and expiry. Nothing is sent to the client. Creates an estimate for a client with the next estimate number, copying the client's name, email, phone and address as Joist does. tax_rate applies one percent to every line, reusing your saved rate with that percent or adding one; tax_id picks a saved rate. A deposit shows as Deposit Due. expires_on cannot be in the past. Nothing is sent: the client sees it only after send_estimate. Joist computes the total.
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 | Requested deposit, shown as Deposit Due: percent or amount. | |
| discount | No | Discount on the subtotal: percent or amount. | |
| tax_rate | No | Tax percent on every line, e.g. 7.25. Uses your tax rate with that percent, or adds one. | |
| client_id | Yes | From list_clients or add_client. | |
| po_number | No | PO number. | |
| expires_on | No | Last day the estimate is valid. | |
| line_items | Yes | Lines: name, rate, optional quantity, description, item_id. | |
| document_date | No | Estimate date. Default: today. |