Overview
The Reports API provides comprehensive attendance reporting capabilities, including detailed attendance records, inconsistencies, monthly summaries, and Excel exports. Reports can be filtered by employee, unit, zone, position, and supervisor.Report Types
Attendance Reports
Detailed attendance records showing clock-in/clock-out times, breaks, and total hours worked. Available in:- JSON format: For programmatic access and web display
- Excel format: For detailed analysis with nested break information
Inconsistency Reports
Identify attendance issues such as:- Missing clock-out times
- Overlapping shifts
- Excessive break times
- Schedule violations
Monthly Summaries
Aggregate attendance data for a specific month:- Total days worked
- Days absent
- Average hours per day
- Tardiness count
Absence Reports
Identify employees without attendance records in a given date range, grouped by date.Base URL
All report endpoints are prefixed with:Authentication
All report endpoints require JWT authentication. Include the Bearer token in the Authorization header:Common Filtering Parameters
Most report endpoints support the following filters:| Parameter | Type | Description |
|---|---|---|
empleadoId | integer | Filter by specific employee |
unidadId | integer | Filter by organizational unit |
zonaId | integer | Filter by geographic zone |
puestoId | integer | Filter by job position |
supervisorId | integer | Filter by supervisor |
desde | datetime | Start date/time (ISO 8601) |
hasta | datetime | End date/time (ISO 8601) |
Date Range Examples
Response Format
JSON report endpoints return data in the standardResponseData wrapper:
Performance Considerations
Recommended Limits
- Date Range: Maximum 90 days for detailed reports
- Employee Count: Filter by unit/zone when possible
- Excel Exports: Use for analysis, not real-time display
Report Data Structure
EmpleadoReporte (Employee Report)
Inconsistency (Incidencia)
Next Steps
Attendance Reports
Generate detailed attendance reports
Excel Export
Export reports to Excel format
Attendance System
Learn about attendance tracking