Home/Tools/@tpmjs/reconciliation-match

reconciliationMatchTool

@tpmjs/reconciliation-match

Matches bank transactions to ledger entries for reconciliation. Uses amount, date proximity, and description similarity to identify matches with confidence scoring.

Official
finance
v0.1.1
MIT

Interactive Playground

Test @tpmjs/reconciliation-match (reconciliationMatchTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/reconciliation-match
pnpm add @tpmjs/reconciliation-match
yarn add @tpmjs/reconciliation-match
bun add @tpmjs/reconciliation-match
deno add npm:@tpmjs/reconciliation-match

2. Import the tool

import { reconciliationMatchTool } from '@tpmjs/reconciliation-match';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { reconciliationMatchTool } from '@tpmjs/reconciliation-match';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { reconciliationMatchTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

AI Agent Integration

How AI agents can use this tool

Use Case

Use this tool for bank reconciliation, matching financial transactions, identifying discrepancies between bank statements and accounting ledgers.

Limitations

Requires structured transaction data. Match confidence is heuristic-based and may need manual review for low-confidence matches.

Examples

  • Match bank transactions to QuickBooks entries
  • Reconcile monthly bank statements
  • Identify unmatched transactions for investigation

Signature

(ledgerEntries: { id: string; date: string; amount: number; description: string }[], bankTransactions: { id: string; date: string; amount: number; description: string }[]) => Promise<unknown>

Tags

accounting
amount
bank
banking
date
description
entries
finance
ledger
match
matches
proximity
reconciliation
tpmjs
transactions

Parameters

Available configuration options

Auto-extracted
bankTransactions
Required
Type: object[]

Bank transactions with date, amount, and description

ledgerEntries
Required
Type: object[]

Ledger entries to match against

Schema extracted: 2/27/2026, 4:20:42 AM

README

ERROR: No README data found!

Statistics

Downloads/month

23

GitHub Stars

0

Quality Score

79%

Bundle Size

NPM Keywords

tpmjs
finance
reconciliation
accounting
banking

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai