Create Estimate
Headers
Request
Required: Customer UUID - must exist in customers table
Optional: Expiry date - must be after estimate_date - YYYY-MM-DD
Optional: Estimate date - YYYY-MM-DD format - defaults to today
Optional: Link to existing work order - must exist in work_orders table
Optional: Notes visible to customer - max 2000 chars
Optional: Internal notes not visible to customer - max 2000 chars
Optional: Billing location UUID - must exist in customer_locations table
Optional: Line item notes - max 1000 chars
Required with line_items: Quantity - numeric min 0.01
Optional: Whether item is taxable - boolean - default true
Required with line_items: Unit price - numeric min 0
Required with line_items: Line item description - max 500 chars
Optional: Whether item is optional - boolean - default false
Optional: Whether customer signature is required - boolean - false
Required with line_items: Type - labor|parts|equipment_rental|service_fee|travel|discount|ad_hoc
Optional: Discount amount - numeric min 0
Optional: PriceBook item UUID - must exist in pricebook_items table

