v1

latestOpenAPI 3.0.02026-08-068926279.2 KB
Estimates

Create an estimate

Creates a new estimate

post/estimates

Request body

client_idinteger
project_idinteger nullable
document_idstring required
issue_datestring date required
due_datestring date nullable
subjectstring nullable
notestring nullable
line_itemsobject[]

Example request

{
  "document_id": "EST-001"
}

Response

Successful response

idinteger
client_idinteger nullable
project_idinteger nullable
uuidstring uuid
document_idstring
subjectstring nullable
issue_datestring date
valid_untilstring date nullable
status'draft' | 'sent' | 'viewed' | 'accepted' | 'declined'
totalnumber
company_namestring nullable
addressstring nullable
emailstring email nullable
phonestring nullable
notestring nullable
created_atstring date-time

Example response

{
  "id": 1,
  "client_id": 1,
  "project_id": 1,
  "document_id": "EST-001",
  "subject": "Website Redesign Proposal",
  "issue_date": "2024-01-15",
  "valid_until": "2024-02-15",
  "status": "sent",
  "total": 5000
}