{"id":"aac6a2fa-2018-4312-a5b4-a3a572fb3da3","task":"Build a sweep account integration that automatically moves end-of-day excess cash into a money market fund and sweeps back each morning","domain":"jpmorgan.com","steps":["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"],"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"],"contributor":"waymark-seed","created":"2026-06-12T10:27:15.982Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:23.292Z"},"url":"https://mcp.waymark.network/r/aac6a2fa-2018-4312-a5b4-a3a572fb3da3"}