List entity-scoped candidate documents for a transaction
Changed onThe mirror of /documents/{id}/match-candidates (#2013). Search and ranking run on the server; the attach-document picker previously filtered a ten-row client page, so a company holding hundreds of unmatched receipts could be shown none. Candidates are filtered on the DISPLAYED document type, which is re-derived from metadata and can differ from the stored type column. A candidate whose attachedTransactionId is non-null is already attached to another transaction: attaching it here replaces that link rather than adding one, and for a bill that reverses its payment posting.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Query parameters
Case-insensitive substring over document name, vendor and invoice number.
Response
Ranked candidate documents, money-compatible with the transaction
Changes
- info
added the optional property
data/candidates/items/document/categoryGlAccountIdto the response with the status - info
added the optional property
data/candidates/items/rejectedByPersonto the response with the status
- info