200Successful Response
Schema: SuccessEnvelope_InvoiceResponse_
successbooleanmessagestringcodestringdataInvoiceResponse
/api/v1/invoices/{invoice_id}Update invoice details. Optionally include 'recurring' config to create a recurring template.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
invoice_idstring · uuidrequiredSchema: InvoiceUpdateRequest
idstringrequiredUUID of the invoice to update.
customer_idstringChange the customer.
line_itemsarray · LineItemRequestReplace line items (draft invoices only).
due_datestringNew due date (YYYY-MM-DD).
descriptionstringUpdate description/notes.
fulfillment_location_idstringUpdate the default warehouse for inventory deductions. Ignored once the invoice has been delivered.
recurringInvoiceRecurringConfigIf provided, creates a recurring template from this invoice.
Schema: SuccessEnvelope_InvoiceResponse_
successbooleanmessagestringcodestringdataInvoiceResponse