submissions.tripSuggestions
Suggest visible trips for one receipt using submissionId and sourceFactIndex. Compares the receipt date and printed location even when currency is unknown; returns confidence and a reason without linking anything.
GETPOST
/api/v1/accounting/submissions.tripSuggestionsPermissions
accounting:read
Who can call it
admin, finance, contributor
Retries
Safe to retry: it only reads
MCP
accounting_submission_trip_suggestionsFields
submissionIdstring (ID)RequiredThe ID of an upload, returned by uploads.prepare or uploads.inline.
sourceFactIndexintegerRequired0 to 19
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/submissions.tripSuggestions \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'submissionId=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d' \
--data-urlencode 'sourceFactIndex=1'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
GET/api/v1/accounting/submissions.tripSuggestions
curl -G https://app.getoatmilk.com/api/v1/accounting/submissions.tripSuggestions \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'submissionId=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d' \
--data-urlencode 'sourceFactIndex=1'More in Inbox and uploads.