Accountant Portal

Send a batch of transactions back to review ("Flag for re-review")

Changed on

Sends up to 500 transactions back to needs_review with one reason, each through the same send-back as the single-row POST .../transactions/{transactionId}/reject. A categorized, unsplit, unmatched row whose own entry is on a Revenue/Expense account other than 4999/6999 has that entry voided and its review entry posted (P08-b, so I12 stays clean), keeping its category as the suggestion. That void is refused for a person the approve rule does not admit (SEND_BACK_APPROVER_REQUIRED) and in a closed or filing-locked month (SEND_BACK_PERIOD_LOCKED); a service key's send-back never voids, and a row the void's review path cannot take back (unlinked bank account, QuickBooks review authority) stays status-only. Every other row only changes status. The decision logged is review_reopened, not a categorization correction, so it is not fed to correction learning. Rows are done one at a time and one failure does not stop the batch. A row already in review with no category is skipped ("already in review with no category"); a reconciled or locked row, or one that cannot be read, is failed with its reason. Duplicate ids are ignored.

post/accountant/companies/{customerId}/transactions/bulk-reject

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, string uuid required

Request body

object required
transactionIds, string[] required

Duplicates are ignored.

reason, string required

Why the rows go back to review; trimmed, required.

Response

Per-row outcome. Same summary shape as bulk-approve, bulk-recategorize and bulk-assign-class.

object required
success, boolean
data, object

Changes

    • breaking

      added the new required request property reason

    • breaking

      added the new required request property transactionIds

    • breaking

      request body became required

    3 more changes in this revision