Record what the bookkeeping agent would have done in shadow
Changed onThe bookkeeping agent's key only (a person gets 403 AGENT_ONLY, the shared cloud-bookkeeping service token 404). One verdict per company, capability and subject: a repeat returns the first (200), a new one 201. For transfers.pairs the blocker must be this company's open, unambiguous unresolved_transfer_pair close blocker whose pairKey is the two transactions' ids, sorted (422 otherwise; 404 for no such blocker). For documents the pair must be the document match policy's own match verdict with writeAllowed for that document, on that bank row, as the agent's key reads it: never a match of that document a person unmatched or rejected, and only once its date window has settled (not window_open; 422 otherwise; 404 for no such document); the API records the policy's version itself. If expectedDocumentType is supplied, the fresh judgment must also report a receipt (422 otherwise). 409 AGENT_CAPABILITY_NOT_SHADOW when the capability is not in shadow. Touches no books and spends no write allowance. Ids and codes only.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Response
The verdict already recorded for this pair
Changes
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
blockerId - warning
removed the request property
capability
6 more changes in this revision
- breaking