mcpField
R
roll-forward

roll-forward

github.com/anthropicsData & databases40.9k1.3k installsUpdated today
Repository

About roll-forward

An accounting skill that builds a beginning-to-ending balance roll-forward for an account or account group. It ties activity lines to GL queries or documents, checks that the schedule foots, and surfaces any unexplained difference.

Key features

  1. 01Beginning-to-ending balance schedule
  2. 02GL query citations for activity
  3. 03Prior-period and ending balance ties
  4. 04Foot check with unexplained delta

Use cases

  1. 01Reconciliation of period account activity
  2. 02Investigating a roll-forward that does not foot

MCP support

Uses the internal-gl MCP to retrieve activity by account, date range, and journal-source filter, and to verify period-end balances.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/anthropics/financial-services --skill roll-forward

After installing, type/roll-forwardin Claude Code to confirm it loaded.

Details

From the project README

Roll-forward

Given an account (or account group), entity, and period, produce a roll-forward that ties beginning to ending.

Structure

Beginning balance (per prior-period close)      X
  + Additions / new activity                    A
  + Accruals booked this period                 B
  − Reversals of prior accruals                (C)
  − Payments / settlements                     (D)
  ± Reclasses / adjustments                     E
  ± FX translation                              F
Ending balance (per GL at period end)           Y

Tie each line

  • Beginning — prior-period close package, or GL balance at prior-period end date.
  • Each activity line — a GL query (account + date range + journal-source filter) via the internal-gl MCP. Cite the query.
  • Ending — GL balance at period-end date.

The schedule must foot: X + A + B − C − D + E + F = Y. If it doesn't, the gap is an unexplained item — surface it, don't plug it.

Output

The roll-forward table with a "ties to" column citing the GL query or document for every line, plus a foot check (pass/fail and the unexplained delta if any).

Comments

Markdown supported