<!-- Generated from libs/designer-mcp-protocol/guides/. -->

# Fragment Ledger design guides

Use these references to model accounts, entries, and scenarios for one agreed funds flow.
The accounting concepts apply to both CLI and MCP workflows. MCP examples use schema designer tools; CLI users follow the quickstart.
For application integration, use the [coding-agent quickstart](https://fragment.dev/skills/quickstart.md).

## Where to start

1. Read [Ledger Fundamentals](https://fragment.dev/skills/mcp-guides/basics.md) for account types, template paths, and balancing.
2. Use [Schema Design Methodology](https://fragment.dev/skills/mcp-guides/design-methodology.md) to choose one small event and expected balances.
3. Verify expected balances with [Testing with Scenarios](https://fragment.dev/skills/mcp-guides/design-methodology.md#testing-with-scenarios) before proposing publication.

Start the ledger-design section with [Ledger Design Principles](https://fragment.dev/skills/mcp-guides/patterns.md), then follow its links when the selected flow needs more detail.

## Fundamentals

- [Ledger Fundamentals](https://fragment.dev/skills/mcp-guides/basics.md): Account types, template paths, entry types, amount expressions, and balancing rules with examples.
- [Schema Design Methodology](https://fragment.dev/skills/mcp-guides/design-methodology.md): Choose one funds flow, model its accounts and entries, and verify expected balances with CLI or MCP scenarios.
- [Starting From an Example Use-Case Schema](https://fragment.dev/skills/mcp-guides/example-schemas.md): The built-in example schemas, how to pick one for the user's business, and how to instantiate a project from it.

## Ledger design

- [Ledger Design Principles](https://fragment.dev/skills/mcp-guides/patterns.md): Model custody, obligations, balance states, and financial events; choose detailed guides for consistency, currencies, reconciliation, and business patterns.
- [Consistency Configuration](https://fragment.dev/skills/mcp-guides/consistency.md): How to configure strong vs eventual consistency for balances, lines, and entry conditions.
- [Multi-Currency and Custom Currencies](https://fragment.dev/skills/mcp-guides/multi-currency.md): How to handle multiple currencies, custom assets (stocks, crypto), forex exposure, and the per-currency balancing rule.
- [Reconciliation and Linked Accounts](https://fragment.dev/skills/mcp-guides/reconciliation.md): How to link ledger accounts to external financial systems and reconcile transactions.
- [Card Issuing Pattern](https://fragment.dev/skills/mcp-guides/card-issuing.md): Auth holds, captures, settlements, and returns for debit and credit card programs.
- [B2B Invoicing and Receivables](https://fragment.dev/skills/mcp-guides/invoicing.md): Accounts receivable lifecycle, invoice aging, merchant advances, and bad debt write-offs.
- [Revenue Recognition](https://fragment.dev/skills/mcp-guides/revenue-recognition.md): How to track earned revenue using pending and settled sub-accounts, and drive periodic revenue sweep processes.

## Maintaining a schema

- [Schema Evolution and Migrations](https://fragment.dev/skills/mcp-guides/schema-evolution.md): How to version entry types, disable and archive accounts, and migrate historical data safely.
