Convert estimate to invoice

POST /api/v1/estimates/{estimate_id}/convert

Convert an accepted or draft estimate to an invoice.

Operation ID: convert_estimate_api_v1_estimates__estimate_id__convert_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

estimate_id string required

Responses

201 Successful Response

id string required
business_id string required
customer_id string required
number string
status string required
currency string required
total integer
total_in_dollars string
description string
internal_notes string
line_items object
due_date string · date-time
expiration_date string · date-time
converted_invoice_id string
sent_at string · date-time
accepted_at string · date-time
declined_at string · date-time
converted_at string · date-time
pdf_url string
created_at string · date-time required
updated_at string · date-time required
customer_name string
can_be_sent boolean
can_be_accepted boolean
can_be_declined boolean
can_be_converted boolean
can_be_updated boolean
can_be_deleted boolean

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object