Work with your bank relationship manager to establish a sweep agreement that defines the sweep target (money market fund or interest-bearing deposit), the sweep direction (zero-balance account sweeping to a master, or a master sweeping excess above a target balance), minimum and maximum sweep thresholds, and the sweep execution time window
Implement an end-of-day balance collection step: call your bank's balance reporting API or retrieve a BAI2 intraday report after the day's payment activity settles to determine the available balance in the operating account before the sweep execution window
If your bank's sweep is fully automated (bank-side automation), configure the sweep parameters through the treasury portal rather than API calls; monitor the sweep result in the next-day prior-day statement by identifying sweep debit and credit transaction codes in the BAI2 or camt.053 file
For API-driven sweeps where you control the transfer, calculate the sweep amount as available balance minus your target operating balance minimum; originate an outbound ACH or book transfer to the investment vehicle account for the calculated amount, capturing the transaction reference
Each morning before payment runs begin, read the prior-day sweep credit transaction from the bank statement to confirm funds swept back; post matching journal entries in your general ledger: debit operating account, credit money market investment account for the overnight period
Model interest earned on swept funds: the money market fund will post an interest credit at period end; capture this as a separate journal entry (debit investment account, credit interest income) and reconcile it against the fund statement
Known gotchas
Sweep execution times are bank-defined and often occur late in the evening after Fedwire closes — if your end-of-day payment processing runs later than the sweep cutoff, the sweep will execute on a lower balance than expected, leaving uninvested cash overnight
Money market fund NAV is typically $1.00 per share but is not guaranteed; accounting for swept funds as a cash equivalent rather than as a short-term investment with fair-value measurement may require accounting policy review, particularly for entities subject to ASC 946 or similar standards
Reverse sweep failures (where funds do not return to the operating account in the morning) are rare but can cause same-day payment failures if your payment runs begin before confirming the sweep return; always verify the morning BAI2 intraday balance confirms expected sweep proceeds before releasing large payment batches
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp