Mark Invoice Unpaid

PUT/api/v1/invoices/{invoice_id}/unpaid

Revert a manually-marked-paid invoice back to open/partially paid.

Path Parameters:

  • invoice_id: UUID of the invoice

Effect: 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.

Operation ID: mark_invoice_unpaid_api_v1_invoices__invoice_id__unpaid_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

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

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject