Reverse a ticket invoice and return all items to the originating ticket
DELETE/psac/api/v1/tickets/:ticketId/invoices/:invoiceId
Reverses the BPS invoice, resets Invoiced_Amount and Invoice_ID on all associated parts/labor rows, removes tblTicketPartsLaborInvoice records, and sets the ticket billing status to Not Sent if no other invoices remain. Returns 422 if the invoice spans multiple tickets, or if BPS rejects the reversal (e.g. payments applied, locked billing period).
Request
Responses
- 204
- 403
- 404
- 422
- 500
No Content
Forbidden
Not Found
Unprocessable Content
Internal Server Error