Skip to content

A bank reconciliation proves that the cash in your books is the cash in the bank, by matching every bank transaction to something in the ledger and explaining whatever is left. RareMargin imports bank lines from Mercury, Stripe, a CSV file or its API, suggests a match for each one with the reasons behind its score, and posts the entry when a person confirms it.

What RareMargin doesWhat you do
Bank transactionsImports them from Mercury and Stripe every 6 hours, a CSV file or the REST API, skipping lines it already hasConnect Mercury or Stripe with a read-only key, upload a file from another bank, or send lines from your own script
MatchingSuggests invoices, bills, recorded payments, transfers and rules, each with a score from amount, name, reference and dateConfirm a suggestion, pick another, or categorize the line to an account
Auto-matchConfirms every suggestion above your threshold, 90 by default, that leads the next one by 10 pointsPreview it, then click Run now
EntriesPosts the payment, bill payment, transfer or categorized entry when a match is confirmedNothing
ChecksA control compares the bank balance with the ledger, and the close checklist ticks “Match all bank transactions” by itselfClear what the control flags

What is a bank reconciliation?

A bank reconciliation compares the bank’s record of an account with the cash account in your general ledger and explains every difference between them, so the cash in your books is cash you actually have.

The two rarely agree on their own. Some differences are timing: a deposit you recorded that the bank hasn’t cleared yet, or a payment you sent that the vendor hasn’t cashed. Others are things only the bank knew about, such as fees and interest, and a few are mistakes. Reconciling sorts each difference into one of those and fixes the books where they are wrong.

How do you do a bank reconciliation?

Match each bank transaction to a payment, invoice, bill or entry in the ledger, record the bank-only items such as fees, then check that the bank balance and the book balance agree once timing differences are added back.

  • Get the bank transactions for the period, from a statement or an export.
  • Match each one to what it pays or collects: a customer invoice, a vendor bill, a payment you already recorded, or a transfer between your own accounts.
  • Record what only the bank knew about, such as fees and interest, as journal entries.
  • List what is in your books but not yet in the bank: deposits in transit and payments not yet cleared.
  • Check that the adjusted balances agree, and investigate any difference that is left.
Bank sideAmountBook sideAmount
Bank statement balance$52,400Cash account in the ledger$53,610
Add a deposit in transit+$3,000Less a bank fee not yet recorded−$60
Less payments not yet cleared−$1,850
Adjusted bank balance$53,550Adjusted book balance$53,550

Both sides land on $53,550, so the account is reconciled once the $60 fee is posted. The deposit and the payments need no entry: they will clear the bank in the next few days.

What does bank reconciliation software do?

It brings bank transactions into the ledger, suggests what each one matches, posts the entry when you accept, and shows what is still unexplained, so reconciling becomes reviewing suggestions instead of ticking lines off a statement.

Tools differ in where the bank data comes from (a direct bank connection or a file), how they explain a suggestion, and whether they confirm matches on their own. RareMargin explains every score and confirms nothing unless a person accepts a match or runs auto-match.

How do bank transactions get into RareMargin?

From Mercury, which RareMargin syncs every 6 hours with a read-only token; from Stripe, whose charges, fees and payouts arrive in a Stripe clearing account; from a CSV file exported from any other bank; or through the REST API.

Mercury: an owner or admin pastes a read-only Mercury API token in Settings, Bank feeds, and picks the bank account each Mercury account feeds. Posted transactions arrive as bank lines waiting for a match; pending ones arrive once Mercury posts them. The setup guide has the steps.

The CSV needs a date, a description and an amount, or separate debit and credit columns, and can carry a counterparty and a reference. Uploading the same file again is safe: lines RareMargin already has are skipped. The setup guide lists the column names it accepts and the formats for dates and amounts.

From a script, POST /v1/bank-accounts/{id}/transactions takes up to 5,000 lines at a time, each with a date, a signed amount (positive for money in) and a description, and an external_id so a line sent twice is stored once. The REST API guide covers keys and conventions.

How does RareMargin match bank transactions?

It scores each possible match out of 100 from the amount, the name, any invoice or bill number in the bank text, and the date, shows the best five above 40 with the reason for every point, and suggests transfers and rules alongside invoices and bills.

EvidencePoints
Amount: exact45
Amount: within 0.5%, which usually means fees30
Amount: a partial payment of at least 10%12
Invoice or bill number found in the bank text35, or 25 for the digits alone
Payer or vendor name, by similarity8, 18 or 25
Date: within 3, 15 or 45 days of the due date15, 10 or 5
Date: within 3 or 7 days of a payment you recorded20 or 12

Money in is matched to open invoices and to customer payments you recorded; money out to approved bills and bill payments. An invoice or bill is only suggested with real evidence: a close amount, its number, or a similar name. A transfer is an equal and opposite line on another of your bank accounts within 4 days. A rule matches words in the description and starts at 70 points, rising to 90 as it is used.

What happens when you accept a match in RareMargin?

RareMargin posts the entry the match means: a customer payment against the invoice, a payment of the bill, a transfer between bank accounts, or an entry to the account you chose, and marks the bank line matched.

  • Invoice: records the customer’s payment, debiting cash and crediting receivables. A deposit short of the invoice, for example by a processor fee, leaves the rest open.
  • Bill: pays it, debiting payables and crediting cash.
  • A payment you already recorded: links it to the bank line and posts nothing new.
  • Categorize: posts the line to the account you pick and can learn a rule from the payee’s name, so the next one is suggested.

These entries post straight away; approval rules don’t hold them, because a person chose the match. Unmatching reverses what the match posted. Auto-match confirms in one go every suggestion that scores at or above your threshold, 90 by default, and leads the next suggestion by at least 10 points; preview it first, then click Run now.

How does RareMargin check that the bank is reconciled?

Its “Bank accounts reconciled” control compares each bank account’s imported balance with the ledger, allowing for unmatched lines and payments still in transit, and fails on any difference it can’t explain.

The control warns while lines are unmatched or payments are in transit, and passes when everything is matched and the balances agree. It is one of 11 controls in RareMargin’s continuous close. The close checklist’s “Match all bank transactions” task, due on business day 2, ticks itself once every line dated in the period is matched or excluded. The AI assistant, and Claude or ChatGPT through RareMargin’s MCP server, can list unmatched lines with their best suggestions, but only a person confirms a match.

What doesn’t RareMargin’s bank reconciliation do yet?

It connects directly only to Mercury and Stripe, has no field for a statement’s ending balance and no printable reconciliation report, and auto-match runs when you start it, not in the background.

  • Bank data: Mercury syncs directly; every other bank is CSV or the API. Dates in a CSV are read as month/day/year or year-month-day, so convert day/month/year files first.
  • Processor payouts: nothing splits a Stripe payout into charges, refunds and fees. Run them through a clearing account by hand.
  • Fees: a deposit a little short of an invoice leaves the difference open on the invoice; post the fee to bank fees yourself.
  • A transfer between accounts in different currencies needs a manual journal entry.
  • Excluding a line, for one that isn’t a real cash movement, can’t be undone.

The month-end close checklist shows where bank reconciliation fits in the close. All of this is in the one plan at $99 a month per company, with a 14-day free trial and a sample company whose bank lines you can match.

Continuous close

Stop closing the books. Keep them closed.

Start a 14-day trial on your own data, or on a sample SaaS company with 14 months of history. No card needed.

Three desk objects on a green stage: a tray of blue month cubes, a console of toggle switches with a lit button, and a keyboard of keycaps under a monitor of code.