List reimbursements
Filter by applicant identifier. Accepts a comma-separated list of values (e.g.
applicant_id=12345,67890).Filter by supplier CNPJ or CPF. Accepts formatted (e.g.
11.111.111/1111-11) or digits-only (11111111111111) values.Filter by reimbursement document number. Accepts a comma-separated list of values.
Filter reimbursements issued on or after this date (inclusive). Format:
YYYY-MM-DD.Filter reimbursements issued before this date (exclusive). Format:
YYYY-MM-DD.Filter by month number (1–12).
Filter by year (e.g.
2016).Filter by Brazilian state abbreviation (e.g.
SP, RJ).Filter by subquota ID. Use the subquotas endpoint to look up valid IDs.
Filter by whether Rosie flagged this reimbursement as suspicious. Pass
1 for true, 0 for false.Filter by whether a digitalized receipt URL is available. Pass
1 for true, 0 for false.Filter to only reimbursements present in the most recently loaded dataset. Pass
1 for true, 0 for false.Full-text search across multiple fields:
congressperson_name, supplier, cnpj_cpf, party, state, receipt_text, passenger, leg_of_the_trip, subquota_description, subquota_group_description.Sort order for results. Accepted values:
issue_date— sort by issue date, descending (default)probability— sort by Rosie’s suspicion probability, descending
Response
The response is paginated. Each page contains acount, optional next and previous cursor URLs, and a results array.
Total number of reimbursements matching the query.
URL of the next page of results, or
null if this is the last page.URL of the previous page of results, or
null if this is the first page.Array of reimbursement objects.
Examples
Example response
Get reimbursement detail
GET /api/chamber_of_deputies/reimbursement/{document_id}/
Returns full details for a single reimbursement identified by its document_id.
If the receipt URL has not been fetched yet, this endpoint will not attempt to retrieve it automatically. Use the receipt endpoint to trigger a fetch.
The public document number of the reimbursement.
Example
results array.
Get receipt URL
GET /api/chamber_of_deputies/reimbursement/{document_id}/receipt/
Returns the URL of the digitalized receipt for a reimbursement. If the receipt URL has not been fetched yet, the server will attempt to retrieve it automatically.
Not all receipts are digitally available. The
url field may be null even after a fetch attempt.The public document number of the reimbursement.
Pass
force=1 to force the server to re-fetch the receipt URL even if one was already retrieved previously.The receipt URL, or
null if no receipt is available.Examples
Fetch receipt URL
Force re-fetch
Example response
Same-day reimbursements
GET /api/chamber_of_deputies/reimbursement/{document_id}/same_day/
Returns all reimbursements whose expense date matches the issue date of the given document_id. Useful for identifying cases where a congressperson made multiple purchases on the same day.
The public document number of the reference reimbursement.
Total number of same-day reimbursements found.
Pagination cursor URL, or
null.Pagination cursor URL, or
null.Array of same-day reimbursement summary objects.
Example
Example response
