Quotes
Quotes and estimates sent to clients. They can be modified and deleted only while they are drafts.
Module: Quotes & estimates (quotes).
Endpoints
Section titled “Endpoints”GET /api/v1/quotes- List with filters, sorting and pagination (scopequotes:read)GET /api/v1/quotes/{id}- A record by id (scopequotes:read)POST /api/v1/quotes- Create a record (scopequotes:write)PATCH /api/v1/quotes/{id}- Modify the submitted fields (scopequotes:write)DELETE /api/v1/quotes/{id}- Delete or deactivate (scopequotes:write)POST /api/v1/quotes/{id}/send- Marks the quote as sent. With email=true it also sends it to the client, with the acceptance link. (scopequotes:write)POST /api/v1/quotes/{id}/decide- Records the client’s response. (scopequotes:write)POST /api/v1/quotes/{id}/duplicate- Makes a new draft from the quote. (scopequotes:write)POST /api/v1/quotes/{id}/to_invoice- Draft invoice from the accepted quote. (scopequotes:write, invoices:write)POST /api/v1/quotes/{id}/to_project- Project with stages from the accepted quote. (scopequotes:write, projects:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).number(string; read)party_id(string, uuid; write, required)title(string; write, required)status(string; read)issue_date(string, date; write)valid_until(string, date; write)currency(string; read): Currency (ISO code, e.g. RON).intro(string; write)terms(string; write)project_id(string, uuid; read)invoice_id(string, uuid; read)sent_at(string, date-time; read)decided_at(string, date-time; read)decided_via(string; read)decided_by(string; read)decided_note(string; read)created_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).lines(array; write, required)
Events
Section titled “Events”quotes.createdquotes.updatedquotes.deleted