Bills API
Retrieve a bill
Read the complete frozen claim snapshot and payer packet for one bill.
https://app.mindbill.org/partner/v2/bills/{billId}Inspect the exact immutable snapshot and payer packet behind a lifecycle or receivables record.
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.
Path parameters
billIdRequiredstringThe MindBill bill identifier returned after atomic submission.
Examples
curl https://app.mindbill.org/partner/v2/bills/$BILL_ID \
--header "Authorization: Bearer $MINDBILL_API_KEY"Response
200 OK
{ "id": "bill_01J6Y7F4Q4XK6P3J9G2C8A1B5D", "externalId": "report_9f7a", "state": "submitted", "billingMode": "med_legal", "documents": [], "amounts": { "charged": 2015, "paid": 0, "balance": 2015 } }idRequiredstringStable MindBill bill identifier.
externalIdRequiredstring | nullYour supplied source-system identifier.
stateRequiredstringCurrent native lifecycle state.
billingModeRequired"med_legal" | "professional"Billing rule set used by the bill.
billNumberRequirednumber | nullHuman-readable MindBill bill number when assigned.
patientRequiredPatientSnapshotFrozen patient values on this bill.
claimRequiredClaimSnapshotFrozen claim and payer values, including diagnoses.
serviceRequiredobjectPrimary service date, optional end date, and authorization number.
serviceLinesRequiredServiceLine[]Procedure lines and calculated allowed amounts.
documentsRequiredBillDocument[]Documents currently included in the payer packet.
amountsRequiredobjectCharged, paid, and balance amounts.