🧾 Invoices
Filter by client unique_id
Filter invoices from this invoice_date (YYYY-MM-DD)
Filter overdue invoices (true/false)
Search invoice_number or title
Filter by invoice status
Filter invoices up to this invoice_date (YYYY-MM-DD)
Unauthorized
Forbidden
Comprehensive serializer for Invoice model.
draft- Draftsent- Sentviewed- Viewed by Clientpaid- Paidpartially_paid- Partially Paidoverdue- Overduecancelled- Cancelledrefunded- Refunded
^-?\d{0,13}(?:\.\d{0,2})?$Client unique_id (required)
Bad Request
Unauthorized
Forbidden
Unauthorized
Forbidden
Not Found
Comprehensive serializer for Invoice model.
draft- Draftsent- Sentviewed- Viewed by Clientpaid- Paidpartially_paid- Partially Paidoverdue- Overduecancelled- Cancelledrefunded- Refunded
^-?\d{0,13}(?:\.\d{0,2})?$Client unique_id (required)
Bad Request
Unauthorized
Forbidden
Not Found
Comprehensive serializer for Invoice model.
draft- Draftsent- Sentviewed- Viewed by Clientpaid- Paidpartially_paid- Partially Paidoverdue- Overduecancelled- Cancelledrefunded- Refunded
^-?\d{0,13}(?:\.\d{0,2})?$Client unique_id (required)
Bad Request
Unauthorized
Forbidden
Not Found
**Available Actions:**
- `send` - Mark a draft invoice as sent to the client
- `mark_as_paid` - Mark an invoice as fully paid
- `cancel` - Cancel an invoice
- `duplicate` - Create a duplicate of the invoice
- `record_payment` - Record a payment received for the invoice (requires `amount` parameter)
**Examples:**
- `/invoices/{id}/action?action=send`
- `/invoices/{id}/action?action=mark_as_paid`
- `/invoices/{id}/action?action=cancel`
- `/invoices/{id}/action?action=duplicate`
- `/invoices/{id}/action?action=record_payment&amount=1000.00`The action to perform on the invoice
Payment amount (required when action=record_payment)
Payment date in YYYY-MM-DD format (optional, defaults to today)
Bad Request - Invalid action or missing required parameters
Unauthorized
Forbidden
Not Found
Last updated
