Double-Entry Bookkeeping for Any Chart of Accounts

    1

    Post entries, letter accounts and build indicative income statement, balance sheet and margin cascade on any chart of accounts.

    $49

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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
    Charges3 000.00
    Income6 000.00
    Result3 000.00

    Balance sheet

    AssetsEquity & liabilities
    Fixed assets4 800.00Equity and loans10 600.00
    Receivables7 200.00Payables0.00
    Deductible VAT200.00VAT collected1 200.00
    Cash2 600.00Result for the period3 000.00
    Total14 800.00Total14 800.00

    Margin cascade (SIG)

    LineAmount
    Commercial margin0.00
    Production for the period6 000.00
    Third-party consumption1 000.00
    Value added5 000.00
    Gross operating surplus3 000.00
    Operating result3 000.00
    Pre-tax current result3 000.00
    Exceptional result0.00
    Net result3 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.py in your closing routine, so a rule that breaks in March is found in March.
    • For France, export the ledger with the companion skill fec-france and 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.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Requires

    Python 3
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed27 days ago

    What's inside

    Frequently Asked Questions

    Amounts are handled as Decimal, never as float, so no difference appears that nobody can trace. Then two refusals, both verified: an unbalanced trial balance stops the run and produces nothing at all, because nothing honest is built on it; and when the balance sheet does not close, the engine prints the exact gap and exits with an error rather than inventing a balancing entry. A plugged difference is the error you find three years later, in an audit, with interest. The nine journal checks run before any of this, and the margin cascade is reconciled against the income statement so an account sitting in a class the cascade misses is named instead of silently dropped.

    The engine is built on a logic layer that communicates via JSON entry contracts, making it compatible with any AI agent or automation framework that supports Python execution. It does not require a specific database, allowing you to integrate it into your existing tech stack easily.

    No, this skill is a specialized logic engine and does not include OCR or document scanning features. It is designed to process the structured data extracted from your documents, providing the validation and financial structuring that OCR tools typically lack.

    Four files. SKILL.md holds the operating rules, EXPERT.md is the expert reference (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), and two tested Python scripts: valider_ecritures.py for the journal and etats_financiers.py for the income statement, balance sheet and margin cascade. Standard library only, no third-party package, no network. There is no OCR engine and no spreadsheet template: what you get is the engine, a reference chart mapping in the documentation, and the method to write your own.

    The engine supports multi-chart mapping, meaning you can define your own custom chart of accounts or use specific jurisdictional standards. You simply configure your activity and account mappings during the environment setup phase.

    New in Finance & Accounting