Single document (accountant read)
The accountant document DTO for one document, plus autoMatchLastDecision — the auto-matcher's last recorded decision for the document (outcome, reason, candidateCount, source, at), null when the auto-matcher has never abstained on it. A document not assigned to an entity yet (forwarded mail, held in Documents) opens too, with entityId null (MI-073/MI-089), except at a patient-data client, where it answers 404 as the list withholds its name (#1122); the other accountant document reads and writes still answer 404 for it. 404 for a missing document or another client's. statement (#2587 p11, #4940): for a statement document, the bank or card account (bankAccountId, name, institutionName, last4) and the statement month (month YYYY-MM, with periodStart, periodEnd) from the statement evidence of the newest completed reconciliation that names this document, plus that reconciliationId. account is null when the bank account row is gone; statement is null for any other document or when no completed reconciliation names it. downloadUrl (P11-b): the same per-reader signed /files/download link the document queue carries (15 minutes), signed for the calling user, so a document opened from its month row shows its source preview. The download re-checks the reader's company and entity access before serving. Absent when the document has no stored file, file URL or external view URL, since nothing could be served.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Response
Accountant document DTO + downloadUrl (string, absent when the document has nothing to serve) + autoMatchLastDecision (object | null) + statement (object | null)
Changes
No recorded changes to this operation across all 110 revisions of this API.