Fetch Statements Reporting
Extracts commission statement records from a statement reporting data structure. Statements represent the final calculated commissions—what each person earned in each period. Use this endpoint for payroll integration, commission reports, earnings history analysis, and compliance audit trails.
Documentation Index
Fetch the complete documentation index at: https://docs.qobra.co/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint extracts commission statement records from a statement reporting data structure. Statements represent the final calculated commissions — what each person earned in each period. Use this endpoint for:- Payroll integration (sending commissions to payroll systems)
- Commission reports and dashboards
- Earnings history analysis
- Compliance and audit trails
Pagination
This endpoint uses ID-based pagination for consistent performance with large datasets.Basic Pagination Pattern
Filtering by modification date
Uselast_modified_after to implement incremental sync (only fetch new/updated records).
Incremental sync pattern
- ✅ 10-100x faster than full extracts
- ✅ Reduces API load
- ✅ Keeps your data warehouse up-to-date with minimal overhead
Performance & best practices
Use ID-based pagination
next_url for large datasets (10K+).Implement incremental sync
last_modified_after for daily/hourly updates.Use Limit 2000
Authorizations
Your Qobra API key. Generate it from Settings > API Keys in Qobra.
Path Parameters
ID of a statement reporting structure (from /v2/data-structures)
Query Parameters
Start after this record ID (for ID-based pagination, recommended)
Number of records per page (1-2000)
1 <= x <= 2000ISO 8601 datetime - Only return records modified after this date (for incremental sync)
ISO 8601 datetime - Only return records modified before this date