Bills API
Extract report suggestions
Extract review-only bill suggestions from one report PDF without saving or submitting a bill.
https://app.mindbill.org/partner/v2/report-autofillOffer optional report-assisted entry after written agreement and operator provisioning of the organization's reportAutofill capability.
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.
Request body
reportRequiredfile (multipart/form-data)Exactly one non-empty, unencrypted PDF. Do not send JSON or additional multipart fields.
1–100 pages; at most 25 MiBExamples
curl https://app.mindbill.org/partner/v2/report-autofill \
--header "Authorization: Bearer $MINDBILL_API_KEY" \
--form 'report=@synthetic-report.pdf;type=application/pdf'Response
200 OK
{
"data": {
"model": "gpt-5.6-luna",
"requiresReview": true,
"fields": [
{
"key": "dos",
"value": "2026-09-01",
"sourceText": "Date of service: September 1, 2026",
"confidence": "high"
}
],
"matches": {
"patient": {
"status": "none",
"candidates": []
},
"billingProvider": {
"status": "none",
"candidates": []
},
"renderingProvider": {
"status": "none",
"candidates": []
},
"serviceLocation": {
"status": "none",
"candidates": []
}
},
"warnings": []
}
}data.modelRequired"gpt-5.6-luna"Extraction model.
data.requiresReviewRequiredtrueEvery suggestion requires human review before applying it.
data.fieldsRequiredReportField[]Explicitly supported report facts; missing or uncertain values are omitted.
data.fields[].keyRequiredstringpatientFirstName, patientLastName, dob, claimNumber, doi, adjNumber, employer, dos, bodyParts, dxCode, renderingProvider, claimsAdminName, evaluationLocation, addressLine, city, state, zip, billingProvider, billingProviderNpi, or renderingProviderNpi.
data.fields[].valueRequiredstringSuggested value. Dates use real YYYY-MM-DD calendar dates. Address fields describe the patient, not the service facility.
data.fields[].sourceTextRequiredstringSource excerpt to display during review.
data.fields[].confidenceRequired"high" | "medium"Extraction confidence; does not replace human review.
data.matchesRequiredobjectpatient, billingProvider, renderingProvider, and serviceLocation match results.
data.matches.*.statusRequired"matched" | "ambiguous" | "none"Whether existing authorized records provide a unique, ambiguous, or absent match.
data.matches.*.candidatesRequired{ id: string; name: string }[]Authorized saved-record candidates.
data.matches.*.selectedIdstringPresent only for a unique match. Do not replace existing form selections automatically.
data.warningsRequiredstring[]Issues that must remain visible during review.