cURL
curl --request GET \ --url https://getbill.io/external-api/v1/reports \ --header 'Authorization: <authorization>'
{ "error": false, "data": [ { "id": "report_abc123", "type": "financial", "title": "Monthly Financial Summary - January 2024", "description": "Comprehensive financial report including debt amounts, collection rates, and revenue analysis", "status": "completed", "filename": "financial_summary_2024_01.pdf", "file_size": 245760, "mime_type": "application/pdf", "period_from": "2024-01-01", "period_to": "2024-01-31", "generated_at": "2024-02-01T09:30:00Z", "created_at": "2024-02-01T09:00:00Z", "download_available": true }, { "id": "report_def456", "type": "collection", "title": "Collection Performance Report - Q4 2023", "description": "Quarterly analysis of collection activities, success rates, and team performance", "status": "completed", "filename": "collection_performance_q4_2023.xlsx", "file_size": 186420, "mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "period_from": "2023-10-01", "period_to": "2023-12-31", "generated_at": "2024-01-15T14:22:00Z", "created_at": "2024-01-15T14:00:00Z", "download_available": true } ], "pagination": { "total": 47, "page": 1, "limit": 50, "pages": 1 } }
Retrieve a paginated list of generated reports
reports:read
curl -X GET "/external-api/v1/reports?type=financial&status=completed&limit=50" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
false
Show report object
Financial Reports
Collection Reports
Performance Reports
Custom Reports
{ "error": true, "message": "Authentication credentials are missing or invalid", "code": 401 }