💳 Bills
Filter bills from this bill_date (YYYY-MM-DD)
Filter overdue bills (true/false)
Search bill_number, supplier_invoice_number, or bill title
Filter by bill status
Filter bills up to this bill_date (YYYY-MM-DD)
Filter by vendor unique_id
Unauthorized
Forbidden
Comprehensive serializer for Bill model.
received- Receivedapproved- Approved for Paymentpaid- Paidpartially_paid- Partially Paidoverdue- Overduedisputed- Disputedcancelled- Cancelled
^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,3}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$Scanned bill document (PDF, image)
Bad Request
Unauthorized
Forbidden
Comprehensive serializer for Bill model.
received- Receivedapproved- Approved for Paymentpaid- Paidpartially_paid- Partially Paidoverdue- Overduedisputed- Disputedcancelled- Cancelled
^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,3}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$Scanned bill document (PDF, image)
Bad Request
Unauthorized
Forbidden
Not Found
Comprehensive serializer for Bill model.
received- Receivedapproved- Approved for Paymentpaid- Paidpartially_paid- Partially Paidoverdue- Overduedisputed- Disputedcancelled- Cancelled
^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,3}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$^-?\d{0,13}(?:\.\d{0,2})?$Scanned bill document (PDF, image)
Bad Request
Unauthorized
Forbidden
Not Found
**Available Actions:**
- `mark_received` - Mark a pending bill as received
- `approve` - Approve a received bill for payment
- `mark_paid` - Mark an approved bill as fully paid
- `mark_partially_paid` - Mark a bill as partially paid
- `mark_disputed` - Mark a bill as disputed
- `mark_cancelled` - Mark a bill as cancelled
- `record_payment` - Record a payment made for the bill (requires `amount` parameter)
**Examples:**
- `/bills/{id}/action?action=mark_received`
- `/bills/{id}/action?action=approve`
- `/bills/{id}/action?action=mark_paid`
- `/bills/{id}/action?action=record_payment&amount=500.00`The action to perform on the bill
Payment amount (required when action=record_payment)
Payment date in YYYY-MM-DD format (optional, defaults to today)
Bad Request - Invalid action or invalid state transition
Unauthorized
Forbidden
Not Found
Last updated
