Bills API
List bills
List bills belonging to the authenticated organization.
https://app.mindbill.org/partner/v2/billsUse filters to reconcile source records, build receivables views, or recover a bill ID from your external IDs.
Use this URL with a server API key or a browser session and its exact allowed Origin. Both credentials use the same request and response contract. See the component API inventory for exact paths and SDK methods.
Query parameters
cursorstringOpaque cursor returned by the previous page.
limitnumberMaximum records to return.
externalIdstringFilter by your bill/report/work-item identifier.
patientExternalIdstringFilter by your patient identifier.
patientIdstringFilter by the canonical MindBill patient ID, not a name or host external ID.
Maximum 200 charactersclaimExternalIdstringFilter by your claim or injury identifier.
qstringCase-insensitive search across patient, administrator, bill/claim identifiers, external IDs, status, procedure codes, and dates. Every word must match; words may match different fields.
At most 160 characters after trimmingdateField"service" | "submitted"Choose the date used by the range filter; defaults to submitted.
fromstringInclusive start of the selected date range.
Real YYYY-MM-DD date; from must not be after totostringInclusive end of the selected date range.
Real YYYY-MM-DD date; from must not be after tostatestringFilter by native lifecycle state.
Examples
curl "https://app.mindbill.org/partner/v2/bills?claimExternalId=claim_17&limit=25" \
--header "Authorization: Bearer $MINDBILL_API_KEY"Response
200 OK
{
"data": [{ "id": "bill_01J6Y7F4Q4XK6P3J9G2C8A1B5D", "externalId": "report_9f7a", "state": "submitted", "amounts": { "charged": 2015, "paid": 0, "balance": 2015 } }],
"nextCursor": null
}dataRequiredBill[]Bills in this page.
nextCursorRequiredstring | nullCursor for the next page, or null when complete.