Update invoice

PUT/api/v1/invoices/{invoice_id}

Update invoice details. Optionally include 'recurring' config to create a recurring template.

Operation ID: update_invoice_api_v1_invoices__invoice_id__put·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

invoice_idstring · uuidrequired

Request body

idstringrequired

UUID of the invoice to update.

customer_idstring

Change the customer.

line_itemsarray · LineItemRequest

Replace line items (draft invoices only).

due_datestring

New due date (YYYY-MM-DD).

descriptionstring

Update description/notes.

fulfillment_location_idstring

Update the default warehouse for inventory deductions. Ignored once the invoice has been delivered.

recurringInvoiceRecurringConfig

If provided, creates a recurring template from this invoice.

Responses

200Successful Response

successboolean
messagestring
codestring
dataInvoiceResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error - Invalid data format