Transactions

accountant.work.preview

Resolve an exact transaction or a financial report line, total, account, general ledger, uncategorized scope or reconciliation component to its current original record IDs/revisions. Returns an immutable preview, exact saved records, currency-separated totals and unavailable or omitted source blockers. No work is assigned and no notification is sent. A report amount alone never establishes record membership.

GETPOST/api/v1/accounting/accountant.work.preview

Permissions

accounting:read

Who can call it

Retries

Safe to retry: it only reads

MCP

accounting_accountant_work_preview

Fields

  • kindenumRequired

    Which kind of record or job this is.

    classifyreconcile
  • sourceobjectRequired

    Where the record came from.

Example

curl https://app.getoatmilk.com/api/v1/accounting/accountant.work.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "classify",
  "source": {
    "type": "entry",
    "entryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
    "expectedRevision": 3
  }
}'
Response
{
  "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.

POST/api/v1/accounting/accountant.work.preview
curl https://app.getoatmilk.com/api/v1/accounting/accountant.work.preview \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "classify",
  "source": {
    "type": "entry",
    "entryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
    "expectedRevision": 3
  }
}'

More in Transactions.