From 32bedb418551e48ea6b4cc8753930c20e0485e8d Mon Sep 17 00:00:00 2001 From: Gerard <289036782+splits-gerard@users.noreply.github.com> Date: Wed, 18 Nov 2026 18:16:38 +0000 Subject: [PATCH] docs: document accounting categorization and closing books --- src/pages.gen.ts | 5 ++++ src/pages/accounting/categories.mdx | 34 +++++++++++++++++++++ src/pages/accounting/closing.mdx | 36 +++++++++++++++++++++++ src/pages/accounting/index.mdx | 19 +++++++----- src/pages/solutions/crypto-accounting.mdx | 4 +-- src/pages/workspaces/settings.mdx | 1 + vocs.config.ts | 2 ++ 7 files changed, 91 insertions(+), 10 deletions(-) create mode 100644 src/pages/accounting/categories.mdx create mode 100644 src/pages/accounting/closing.mdx diff --git a/src/pages.gen.ts b/src/pages.gen.ts index adf0721..bd4f48e 100644 --- a/src/pages.gen.ts +++ b/src/pages.gen.ts @@ -8,6 +8,8 @@ type Page = | { path: '/_api/api/og'; render: 'static' } | { path: '/_mdx-wrapper'; render: 'static' } | { path: '/_slots'; render: 'static' } + | { path: '/accounting/categories'; render: 'static' } + | { path: '/accounting/closing'; render: 'static' } | { path: '/accounting'; render: 'static' } | { path: '/accounting/spam'; render: 'static' } | { path: '/accounts/earn'; render: 'static' } @@ -52,18 +54,21 @@ type Page = | { path: '/resources/security'; render: 'static' } | { path: '/solutions/ai-agents'; render: 'static' } | { path: '/solutions/business-banking'; render: 'static' } + | { path: '/solutions/crypto-accounting'; render: 'static' } | { path: '/solutions/family-wallet'; render: 'static' } | { path: '/solutions'; render: 'static' } | { path: '/solutions/passkey-wallet'; render: 'static' } | { path: '/solutions/revenue-automation'; render: 'static' } | { path: '/transactions/batch'; render: 'static' } | { path: '/transactions/custom'; render: 'static' } + | { path: '/transactions/gas'; render: 'static' } | { path: '/transactions'; render: 'static' } | { path: '/transactions/memos'; render: 'static' } | { path: '/transactions/schedules'; render: 'static' } | { path: '/transactions/sends'; render: 'static' } | { path: '/transactions/swaps'; render: 'static' } | { path: '/workspaces'; render: 'static' } + | { path: '/workspaces/privacy'; render: 'static' } | { path: '/workspaces/recovery'; render: 'static' } | { path: '/workspaces/roles'; render: 'static' } | { path: '/workspaces/settings'; render: 'static' } diff --git a/src/pages/accounting/categories.mdx b/src/pages/accounting/categories.mdx new file mode 100644 index 0000000..2381f13 --- /dev/null +++ b/src/pages/accounting/categories.mdx @@ -0,0 +1,34 @@ +--- +title: Categories +description: Set up a chart of accounts and categorize accounting activity with rules or manual overrides. +--- + +# Categories [Classify accounting activity with a chart of accounts, rules, and manual overrides] + +A **category** is an entry in the workspace's chart of accounts. Each category has a name, an income, expense, asset, liability, or equity type, and an optional account code. Accounting exports call categories **book accounts**. + +:::note +This feature is in beta. Email support to enable it for your workspace. +::: + +## Set up categories + +The [Settings > Accounting](https://app.splits.org/settings/team/accounting) *Categories* tab starts with a default chart of accounts. Members can add categories, edit their names, types, and codes, or archive them. Archived categories leave existing transactions in place but disappear from category pickers. A category used in a [closed period](/accounting/closing) keeps its type until those books are reopened; its name and code remain editable. + +## Categorize activity + +The [Accounting](/accounting) *Transactions* tab shows each row's type and category and lets you filter by category. For a transaction you can categorize, open its actions → *Set category*. The dialog shows whether its category came from a manual override, a rule, or a default. Select a category to override the current result; *Reset* removes a manual override. + +To categorize transactions with the same address, select *Apply to all* in the category dialog. This creates or updates an address rule for matching transactions in open periods. You can also add a rule in Settings > Accounting > *Rules*. A rule matches inbound or outbound transactions by address, account, network, or token; it needs at least one condition. Rules apply to past and future matches in open periods. When several rules match, the most specific wins, in the order shown. A manual override takes precedence over rules and defaults. + +Accruals do not appear on *Transactions*. To categorize one, use *Set category* on its row in [Lots](/accounting#lots). Internal, bridge, swap, and Earn transfers cannot be manually categorized. + +**Closed-period categories do not change when you edit a rule or an override.** To change a closed row, [reopen the books](/accounting/closing#reopening-books) first. + +## Programmatic access + +Via the [Splits CLI / MCP](/introduction/agents): + +- `splits accounting categories list`: list the chart of accounts (**Read** scope) +- `splits accounting rules list`: list categorization rules (**Read** scope) +- `splits accounting categorize set`: override the category of transfers or accrual lots (**Write** scope and a user-bound API key) diff --git a/src/pages/accounting/closing.mdx b/src/pages/accounting/closing.mdx new file mode 100644 index 0000000..ff4e6ef --- /dev/null +++ b/src/pages/accounting/closing.mdx @@ -0,0 +1,36 @@ +--- +title: Closing books +description: Freeze an accounting period, review late changes, and reopen books when corrections are needed. +--- + +# Closing books [Freeze a period's accounting values and reopen it for corrections] + +**Closing the books** fixes the categories, types, USD values, spam visibility, lots, and disposals through a selected day in the workspace's accounting time zone. Activity after that day remains open. A close can take a few minutes, and lots update after it finishes. + +:::note +This feature is in beta. Email support to enable it for your workspace. +::: + +## Close a period + +Prerequisites: review [categories and rules](/accounting/categories), [lots](/accounting#lots), and [reports](/accounting#reports) for the period. + +1. Go to [Settings > Accounting](https://app.splits.org/settings/team/accounting) > *Closing*. +2. Select *Close books* and choose a day that has ended in the workspace's accounting time zone. +3. Confirm *Close books*. The *Closing* tab shows the closed-through date and close history. + +Members can close the books. **A closed period cannot be recategorized or have its lots edited or seeded.** The *Lots* tab marks locked lots and shows an Original lot ID on continuation lots. Reports spanning a close use the frozen values for that period. + +## Reopening books + +Select *Reopen books* in Settings > Accounting > *Closing* and choose a close. The dialog shows which closes will be undone and a count of closed rows that would change. Confirm to reopen that close and every later close. Open periods then pick up rule edits, the disposal method, the time zone, and late activity; lots update after the reopen. + +If activity lands in an already closed period, the *Closing* tab warns that closed numbers omit those late changes. Reopen the affected period to include them. + +## Accounting settings + +Owners can set the workspace's accounting time zone and disposal method in Settings > Accounting > *Settings*. Date ranges, export timestamps, holding periods, and close dates use that time zone. The disposal method chooses which tax lots are sold first: FIFO, LIFO, or HIFO. Changing either setting recomputes open lots and realized gains. Existing closed periods keep their original boundary and dates when the time zone changes. + +## Programmatic access + +The API supports closing, previewing a reopen, and reopening books. The [Splits CLI / MCP](/introduction/agents) has no commands for these actions. diff --git a/src/pages/accounting/index.mdx b/src/pages/accounting/index.mdx index bb37b46..66484ec 100644 --- a/src/pages/accounting/index.mdx +++ b/src/pages/accounting/index.mdx @@ -1,15 +1,15 @@ --- title: Accounting -description: Review transactions, token balances, tax lots, imported account history, and generated reports across a workspace. +description: Review transactions, categories, token balances, tax lots, imported account history, and reports across a workspace. --- -# Accounting [Review activity, balances, tax lots, and reports across a workspace] +# Accounting [Review activity, categories, balances, tax lots, and reports across a workspace] -The *Accounting* page combines transactions, token balances, tax lots, imported account history, and generated reports across the workspace's accounts. To annotate transactions for the books, use [memos](/transactions/memos). +The *Accounting* page combines transactions, token balances, tax lots, imported account history, and generated reports across the workspace's accounts. To classify activity for the books, use [Categories](/accounting/categories); to annotate transactions, use [memos](/transactions/memos). ## Transactions -The *Transactions* tab shows inbound and outbound activity. Filter it by date, account, network, token, memo, direction, or USD value. Setting a bounded date range also shows the starting balance, ending balance, and net change for the selected accounts and tokens. +The *Transactions* tab shows inbound and outbound activity. Filter it by date, account, network, token, memo, direction, category, or USD value. Setting a bounded date range also shows the starting balance, ending balance, and net change for the selected accounts and tokens. *Export CSV* downloads the rows matching the current filters. @@ -23,7 +23,7 @@ The *Tokens* tab groups balances by token. For a bounded date range, it shows ea A **tax lot** records the quantity, USD unit price, acquisition date, remaining quantity, and resulting cost basis for tokens acquired by one account. Lots are account-specific: moving tokens between the workspace's accounts carries their cost basis and acquisition date into the receiving account. -For disposals, Splits matches tokens to the oldest available lots first (FIFO). Each disposal records its proceeds, basis, gain or loss, and holding period. +For disposals, Splits matches tokens to lots using the workspace's [disposal method](/accounting/closing#accounting-settings). Each disposal records its proceeds, basis, gain or loss, and holding period. The *Lots* tab shows lots open at the end of the selected period, or now when no end date is set. Filter by account, token, acquisition date, remaining quantity, or cost basis. Open a lot to review its source, remaining balance, disposals, realized gains or losses, and correction history. @@ -31,7 +31,7 @@ Splits derives lots from indexed transactions. If the derived acquisition date o For tokens acquired before they entered a tracked account, select *Seed lot*. Enter the amount, original USD unit price, and original acquisition date. The seeded portion carries that cost basis and holding period instead of treating its arrival as a new acquisition. -Use *Recompute lots* after a correction when you need updated lots and gains before the next automatic refresh. A warning above the table identifies balance differences or corrections that could not be applied. +Use *Recompute lots* after a correction when you need updated lots and gains before the next automatic refresh. A warning above the table identifies balance differences or corrections that could not be applied. [Closing the books](/accounting/closing) locks lots in closed periods. ## Imported accounts @@ -53,11 +53,14 @@ The *Reports* tab stores every generated report. Select *New report*, choose a p | Report | Contents | Formats | | --- | --- | --- | -| Statement | Balances, transactions, and gains | PDF | +| Statement | Balances, transactions, gains, and a profit and loss summary when enabled | PDF | +| Profit and loss | Income and expenses by category, plus realized gains | CSV, PDF | | Transaction history | Transfers with transaction details | CSV, PDF | -| Token balances | Opening and closing balances by token | CSV, PDF | +| Token balances | Opening and closing balances, cost basis, and unrealized gains by token | CSV, PDF | | Realized gains and losses | Disposals with proceeds, cost basis, and holding term | CSV, PDF | | Open tax lots | Lots open at the selected end date | CSV, PDF | | Lot timeline | Lot events during the selected period | CSV, PDF | Reports that take longer to generate continue in the background. Finished files appear in the *Reports* tab and are also emailed to the requester. + +The profit and loss report requires categorization to be enabled for the workspace. The token balances report can show a separate row for each account and token. diff --git a/src/pages/solutions/crypto-accounting.mdx b/src/pages/solutions/crypto-accounting.mdx index 08dfd9b..c3b48c8 100644 --- a/src/pages/solutions/crypto-accounting.mdx +++ b/src/pages/solutions/crypto-accounting.mdx @@ -10,7 +10,7 @@ description: "Crypto accounting software for startups: track cost basis per wall ## How it works - **Review one transaction history.** [Accounting](/accounting#transactions) combines inbound and outbound activity across the workspace. Filter by account, network, token, date, direction, or memo. -- **Track each acquisition.** [Lots](/accounting#lots) record the quantity, acquisition date, and USD cost basis of tokens in each account. Splits matches disposals to lots using FIFO. +- **Track each acquisition.** [Lots](/accounting#lots) record the quantity, acquisition date, and USD cost basis of tokens in each account. The [disposal method](/accounting/closing#accounting-settings) determines how disposals match lots. - **Preserve basis on internal moves.** A [transfer between workspace accounts](/accounting#lots) carries its original basis and acquisition date into the receiving account. - **Bring past activity into view.** [Imported accounts](/accounting#imported-accounts) add external EVM address history. They grant **no signing authority** and do not become Splits accounts. - **Correct source data.** [Edit or seed a lot](/accounting#lots) when its price or acquisition date needs correction. The lot detail shows its correction history. Token quantity comes from indexed activity and cannot be edited. @@ -45,7 +45,7 @@ Select a period and account scope in [Reports](/accounting#reports). Generate a - Accounting history is unavailable on [partially supported networks](/introduction/networks-and-assets). - A [lot warning](/accounting#lots) can signal a balance difference or a correction that Splits could not apply. Review warnings before using the reports. - Reports support bookkeeping and tax preparation. Splits does not sync with accounting software. You import an export. See the [cost basis deep dive](https://splits.org/blog/how-splits-tracks-cost-basis/). -- Categorization into a chart of accounts and a P&L is available only in workspaces that have it enabled. +- [Categories](/accounting/categories) and the profit and loss report require the feature to be enabled for the workspace. :::note This feature is in beta. Email support to enable it for your workspace. diff --git a/src/pages/workspaces/settings.mdx b/src/pages/workspaces/settings.mdx index 98ed6ac..5972f3c 100644 --- a/src/pages/workspaces/settings.mdx +++ b/src/pages/workspaces/settings.mdx @@ -19,6 +19,7 @@ The [Settings page](https://app.splits.org/settings/) is split into **workspace | **Gas** | Sponsored gas remaining, the gas balance, and *Top up* | Members | [Gas](/transactions/gas) | | **Recovery** | Recovery signers and verification | Owners | [Recovery](/workspaces/recovery#recovery-signers) | | **Tokens** | Which tokens are shown or hidden (spam) for the workspace | Owners | [Spam & tokens](/accounting/spam) | +| **Accounting** | Categories, rules, closing books, time zone, and disposal method | Members; time zone and disposal method: Owners | [Categories](/accounting/categories), [Closing books](/accounting/closing) | | **Banks** | Legal entity verification (KYB/KYC), connected bank accounts, onramp details | Owners | [On/offramping](/banking) | Changing most workspace settings requires the **Owner** role. See [Roles](/workspaces/roles) for the full matrix. diff --git a/vocs.config.ts b/vocs.config.ts index ccce474..1ac5993 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -116,6 +116,8 @@ export default defineConfig({ collapsed: true, items: [ { text: 'Spam & tokens', link: '/accounting/spam' }, + { text: 'Categories', link: '/accounting/categories' }, + { text: 'Closing books', link: '/accounting/closing' }, ], }, {