Balance sheet

From WellApp-ai/Well · View interactive version

Balance sheet is an AI agent skill from the GitHub repository WellApp-ai/Well. Build a balance sheet (bilan) from a Well workspace. Use when the user asks for a balance sheet, bilan, assets/liabilities/equity, or financial position at a point in time.

How to use this skill

Skill file

Balance sheet (bilan) from Well

Like the P&L, the balance sheet comes from the posted ledger, not from raw documents. It is a point-in-time snapshot: balances of the balance-sheet accounts as of a date.

Do this

  1. Discover the schema (well:querying-well-data):
  1. As-of date: filter postings with date _lte <as_of> (a balance sheet is cumulative from inception, not a period).
  2. Compute each account balance (sum of debits − credits, or read account_balances), then group by class:
  1. Check it balances: total Actif must equal total Passif. If it doesn't, surface the gap rather than hiding it — it usually means unposted entries or a period filter mistake.

Do NOT

If the ledger is empty

Say the books aren't posted yet. A bank accounts + account_balances snapshot can give a cash position (not a balance sheet) as a clearly-labelled fallback.

Present it

Two columns — Actif and Passif — grouped by class with subtotals, the as-of date, the currency, and an explicit "Actif = Passif ✓/✗" balance check.

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.