Reconcile my accounts

From gethouston/houston · View interactive version

Reconcile my accounts is an AI agent skill from the GitHub repository gethouston/houston. Reconcile a single account — bank, credit card, payment processor, or subledger — for the period you pick. I tie the general ledger one side, the external statement the other, surface unmatched items aged into 0–30 / 31–60 / 61–90 / >90 day buckets, and render a three-way proof with the real numbers

How to use this skill

Skill file

Reconcile My Accounts

A three-way reconciliation on one account for one period. General ledger balance on one side, external statement or feed on the other, unmatched items aged in the middle. Every difference is either explained by a timing item, surfaced as an unmatched item, or escalated as a named break. I never silently plug.

Drafts only: I never adjust your general ledger, never force-match in QuickBooks Online or Xero. I write the reconciliation doc and surface the breaks.

When to use

March" / "reconcile Stripe for Q1".

check list".

context-ledger.domains.banks.accounts[] for close period.

March" / "tag the internal transfer pairs so they fall out of

P&L". Runs across all accounts at once, not single account.

Connections I need

I run external work through Composio. Before this skill runs I check that the categories below are linked. Missing → I name the category, ask you to connect it from the Integrations tab, stop.

If neither accounting nor banking is connected I fall back to a dropped CSV / PDF. If you have nothing to share I stop and ask you to connect one or drop the period statement.

Information I need

I read your bookkeeping context first. For every required field that's missing I ask ONE plain-language question (best modality: connected app > file drop > URL > paste) and wait.

Steps

<!-- houston-workflow:v1 -->

  1. Parse inputs. Required: account_last4 (or all for

mode=transfer-detect) and period (YYYY-MM or YYYY-QN).

Resolve {periodStart, periodEnd} from period slug.

  1. Read context. Load context/bookkeeping-context.md (stop if

missing - ask user to run set-up-my-books

first), config/context-ledger.json, and

config/chart-of-accounts.json.

  1. Identify account. Look up account_last4 in

context-ledger.domains.banks.accounts[]. Capture `{bank, type,

glCode, glName}` (account code and account name). If account not registered, ask ONE

targeted question to register - never guess.

  1. mode=transfer-detect branch. If triggered:

Source order: connected app (QuickBooks Online / Xero / bank feed

via Composio - discover slug with composio search accounting

/ composio search banking) > runs/{period}/run.json if

present > CSV drop.

all other accounts for credit with same absolute amount

on date D ± 2 days. Amount tolerance: 1 cent.

Transfer", source = "transfer"`. Excluded from

P&L SUMIFS downstream.

reconciliations/_transfers/{period}.md with each pair's

{date_a, account_a, date_b, account_b, amount, confidence}.

if already exist.

  1. Pull two sides.

accounting`, pick QuickBooks Online / Xero slug, pull general ledger register

for {glCode, periodStart, periodEnd}. Discover schema with

--get-schema; never hardcode. Fall back to CSV / paste

if unconnected.

statements/{account_last4}/{YYYY-MM}.pdf if already

dropped during process-my-statements run.

for period.

plus opening + closing balances.

  1. Match items. Exact match on (date, amount) first; then

(amount, date ± 2 days) tolerance. Description similarity

(token-set ratio ≥ 0.75) breaks ties when multiple candidates

tie on amount. Confidence thresholds:

  1. Classify unmatched items.

checks (if account checking and amount negative),

deposits in transit (positive), or erroneous general ledger entry. Age

each: daysOld = runDate - transactionDate.

fees / interest / subscription charges. Usually become

journal entry suggestion for draft-a-journal-entry type=adjustment.

amount. Flag each with delta.

  1. Compute three-way proof.

```

gl_ending_balance

± amount_differences

= statement_ending_balance (within 1 cent)

```

If proof doesn't land within 1 cent, do NOT plug. Flag

named break in report and upsert to recon-breaks.json with

status: "unresolved".

  1. Age unmatched items. Bucket each into 0-30d, 31-60d,

61-90d, >90d. Items > 90d old escalate - flag in

report header.

  1. Write reconciliation doc to

reconciliations/{account_last4}/{YYYY-MM}.md. Structure:

statement balance, computed difference, status

(clean / has-items / unresolved-break).

numbers.

vs. statement-side), with `{date, description, amount,

daysOld, ageBucket}`.

statementAmount, delta}`.

(confidence 0.80–0.94).

draft-a-journal-entry type=adjustment (unrecorded fees,

interest, forex rounding).

line per break with dollar amount and best-guess cause.

  1. Update indexes.

For each unresolved item upsert

`{id, accountLast4, period, date, description, amount,

direction, daysOld, status, addedAt, updatedAt}`. Age-update

existing entries rather than duplicate.

`{type: "reconciliation", title: "Recon {bank} {last4}

{YYYY-MM}", summary, path, status: "draft", domain: "close"}`.

  1. Summarize to user. Two-line recap: three-way proof

result, and count + dollar total of unmatched items by age

bucket. Include path to full doc.

Outputs

mode=transfer-detect.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.