Invoice Payments
Manage invoice payments along with analytical charts and reports.
Available Endpoints
| Method |
Path |
Description |
| GET |
/api/invoice-payments |
List payments |
| POST |
/api/invoice-payments |
Record new payment |
| GET |
/api/invoice-payments/clients/{client_id} |
Client payments |
| GET |
/api/invoice-payments/projects/{project_id} |
Project payments |
| GET |
/api/invoice-payments/orders/{order_id} |
Order payments |
| PUT |
/api/invoice-payments/{id} |
Full update of a payment |
| PATCH |
/api/invoice-payments/{id} |
Partial update of a payment |
| DELETE |
/api/invoice-payments/{id} |
Delete a payment |
| GET |
/api/invoice-payments/yearly-chart |
Yearly payment chart |
| GET |
/api/invoice-payments/yearly-summary |
Yearly payment summary |
| GET |
/api/invoice-payments/clients-summary |
Client payment summary |
| GET |
/api/invoice-payments/amount-suggestion/{invoice_id} |
Payment amount suggestion |
Example Request
curl -X GET "https://example.com/api/invoice-payments" \
-H "Authorization: Bearer {token}"
Success Response (200)
{
"records": [],
"meta": {
"total": 0,
"current_page": 1,
"per_page": 20
}
}
Errors
| Code |
Description |
| 401 |
Invalid token |
| 403 |
Access denied |
| 404 |
Record not found |
| 422 |
Validation error |