200Successful Response
Schema: SuccessEnvelope_InvoiceResponse_
successbooleanmessagestringcodestringdataInvoiceResponse
/api/v1/invoices/{invoice_id}/unpaidRevert a manually-marked-paid invoice back to open/partially paid.
Path Parameters:
invoice_id: UUID of the invoiceEffect: Recomputes status and totals from actually-recorded payments
and credit memos, and reverses the mark-paid AR-relief journal entry.
Only invoices in manual_paid status can be reverted; a 400 is returned
when recorded payments already cover the total.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
invoice_idstring · uuidrequiredSchema: SuccessEnvelope_InvoiceResponse_
successbooleanmessagestringcodestringdataInvoiceResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject