- Home
- Skills
- Finance & Accounting
- Double-Entry Bookkeeping for Any Chart of Accounts
Double-Entry Bookkeeping for Any Chart of Accounts
Post entries, letter accounts and build indicative income statement, balance sheet and margin cascade on any chart of accounts.
$49
Works with the AI Agents you already use
Double-Entry Bookkeeping for Any Chart of Accounts
Example session with this skill installed
I keep the books for my consulting company myself. Set up the activity for the 2026 financial year on the French chart of accounts, check the journal I exported, and give me the income statement, the balance sheet and the margin cascade so I can see where the year stands before I send anything to my accountant.
- Read your context and instructions
- Compiled the double-entry bookkeeping
Summary
Journal checked, then statements built from the resulting trial balance. The journal is sound and the balance sheet closes. Figures below are
indicative - see the note at the end.
1. Journal check - valider_ecritures.py
entries 5, lines 13, lettered groups 1
total debit 22200.00 / credit 22200.00, suspense 0.00
journal sound: balanced, accounts known, dates in period, lettering clears.
Nine checks passed: each entry balances, every account exists in your chart, no date falls outside 2026, no line carries both a debit and a credit, no entry number or document reference is used twice, every entry has a document reference, lettered group A12 clears (1 200.00 / 1 200.00), and account 471 is empty.
2. Indicative statements - etats_financiers.py
Income statement
| Amount | |
|---|---|
| Charges | 3 000.00 |
| Income | 6 000.00 |
| Result | 3 000.00 |
Balance sheet
| Assets | Equity & liabilities | ||
|---|---|---|---|
| Fixed assets | 4 800.00 | Equity and loans | 10 600.00 |
| Receivables | 7 200.00 | Payables | 0.00 |
| Deductible VAT | 200.00 | VAT collected | 1 200.00 |
| Cash | 2 600.00 | Result for the period | 3 000.00 |
| Total | 14 800.00 | Total | 14 800.00 |
Margin cascade (SIG)
| Line | Amount |
|---|---|
| Commercial margin | 0.00 |
| Production for the period | 6 000.00 |
| Third-party consumption | 1 000.00 |
| Value added | 5 000.00 |
| Gross operating surplus | 3 000.00 |
| Operating result | 3 000.00 |
| Pre-tax current result | 3 000.00 |
| Exceptional result | 0.00 |
| Net result | 3 000.00 |
The cascade ends on the same 3 000.00 as the income statement, so no account sits in a class the cascade fails to pick up. Had it differed, the gap would be printed rather than hidden.
What this does not cover
Nothing here reflects cut-off, accrued charges, deferred income, depreciation on the 4 800.00 of fixed assets, inventory, provisions or corporate tax. Those are judgements about your business, not readings of your documents - which is why the result above is a management figure, not a set of accounts.
Next steps
- Send your accountant the trial balance and this report, not a reconstructed ledger.
- Decide the depreciation schedule for the fixed assets: it is the largest missing item above.
- Keep
valider_ecritures.pyin your closing routine, so a rule that breaks in March is found in March. - For France, export the ledger with the companion skill
fec-franceand validate it before anyone asks for it.
Indicative statements, built on the entries supplied, requiring validation by a qualified professional. Not statutory financial statements: cut-off, accruals, depreciation, inventory, provisions and deferred tax are judgements, not documents.
Connects securely to your tools. The creator never sees your data.
About this skill
Bookkeeping that refuses to build on sand.
Two rules carry this skill. An extracted document proposes; a human posts - OCR on an invoice or a photo gets a digit wrong often enough that an unchecked pipeline will put a wrong VAT rate into a balance sheet, silently, and nobody will find it for a year. And nothing is built on an unbalanced trial balance: the statement generator refuses outright rather than producing figures that look finished.
The chart of accounts is data, not code
The engine knows debit and credit; it knows nothing about your chart. The mapping from accounts to statement lines is a file you replace. Proven by execution: the same scripts, with no code change, produced correct statements for a French PCG chart and for an invented chart with accounts 1000/2000/6000/7000 and the lines "Ce que je possede" and "Ce que je dois".
That is how one skill covers more than one jurisdiction honestly. It does not ship two hundred national charts; it ships the engine, a reference mapping, and the method to write yours.
Two tested scripts
valider_ecritures.py - nine checks, verified on twelve journals: entry balance, accounts present in the chart, dates inside the period, debit and credit never on one line, duplicate entry numbers, a document reference on every entry, the same reference reused across entries, lettered groups that do not clear, and the suspense account nobody emptied. That last one matters: an amount parked on a suspense account means the period is not closed, whatever the statements say.
etats_financiers.py - income statement, balance sheet and the French SIG cascade (commercial margin, production, value added, gross operating surplus, operating result, pre-tax result, exceptional result, net result), each line reconciled against the income statement and the gap reported when it does not reconcile. Verified on a ten-account trial balance: charges 3 000, income 6 000, result 3 000, assets 14 800 against equity and liabilities 14 800, cascade closing on the same 3 000. Five refusals and two reconciliation gaps verified.
Amounts are Decimal, never float. 0.1 + 0.2 is a defect in accounting software, not a curiosity.
The gap is reported, never plugged
When the balance sheet does not close, the engine says by how much. It never creates a balancing entry. A plugged difference is the error you find three years later, in an audit, with interest.
What the skill does not claim
The extraction contract is defined - a value and a confidence per field, the document's own HT + VAT = total check, and a a_valider status only a human changes - but no OCR engine is bundled, because the right one depends on your volume, language and privacy constraints.
And a trial balance is not a set of accounts. Cut-off, accrued charges, deferred income, depreciation, inventory, provisions and deferred tax are judgements, not documents. The skill names them instead of pretending to produce them.
Every output carries the same sentence: indicative statements, built on the entries supplied, requiring validation by a qualified professional. Not statutory financial statements.
Ships SKILL.md (the operating rules) and EXPERT.md (the mapping file field by field, the shipped SIG cascade, why each of the nine checks exists, what goes wrong with photographed invoices, and a failure-diagnosis table).
Not legal or accounting advice. Charts of accounts, valuation rules and filing obligations differ by country and by entity; the judgements, and the signature, belong to a qualified professional.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.
Requires external OCR for document reading. Does not automate year-end adjustments like depreciation or tax provisions. Uses Python 3 standard library only.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 27 days ago
- Software
Python 3