Delete invoice
DELETE/truckers/invoices/delete/:id
Permanently delete an invoice from the system. It is verified that the invoice belongs to the authenticated carrier.
Important notes:
- Deletion is permanent and cannot be undone
- Only invoices with 'draft' or 'cancelled' status can be deleted
- The exact invoice ID is required
Usage example: DELETE /truckers/invoices/delete/507f1f77bcf86cd799439011
Request
Responses
- 200
- 401
- 404
Delete confirmation
Unauthorized
Invoice not found