Several ledgers

Keep one repository per entity: yourself, each company, a trust. Money moving between them, such as a contribution to a company, is two entries, one in each repository. Each is booked against an inter-entity account: an account whose open has entity: metadata naming the other repository. Both entries carry the same xfer: value, the transfer link:

2026-01-01 open Assets:Investments:AcmeLLC USD
  entity: "acme"

2026-04-01 * "TRANSFER TO ACME LLC"
  xfer: "acme-2026-04-01-10000"
  Assets:Checking  -10000.00 USD
  Assets:Investments:AcmeLLC  10000.00 USD

add_account with entity set to the other repository opens such an account.

Money sometimes passes through a company without touching its bank: an owner pays a property company's bill from their own account, through a holding company. Each hop is a transfer with its own link. The holding company has no statement line, so it records each hop with post_entry and xfer set to that hop's link, against Assets:Clearing, where the two hops cancel:

2026-01-02 ! "Owner pays the property's bill"
  xfer: "personal-holding-2026-01-02-585.09"
  Equity:Owner  -585.09 USD
  Assets:Clearing  585.09 USD

2026-01-02 ! "Owner pays the property's bill"
  xfer: "holding-prop-2026-01-02-585.09"
  Assets:Investments:Prop  585.09 USD
  Assets:Clearing  -585.09 USD

link_transfer with the same value then links the owner's bank line to the first entry; the side that has the value already is left as it is. xfer-none: is for an entry where no money moved; linking an entry takes it off. Your AI app offers ready-made guides for this work: ask it for the prompt "Set up an entity", "Record entity facts", "Build a chart of accounts", or "Link transfers between entities".

Each entity repository can also store its legal, ownership, and tax facts as custom "entity" directives, and external HTTPS reference links as custom "entity-link" directives:

2021-03-15 custom "entity" "legal_name" "Elm Street Holdings LLC"
2021-03-15 custom "entity" "state" "DE"
2021-03-15 custom "entity" "formation_date" "2021-03-15"
2021-03-15 custom "entity" "business_address" "120 Elm St, Austin, TX 78701"
2021-03-15 custom "entity" "registered_agent" "CSC, 251 Little Falls Dr, Wilmington, DE 19808"
2021-03-15 custom "entity" "members" "Jane Doe (personal) 60%, John Doe 40%"
2021-03-15 custom "entity" "managers" "Member-managed"
2021-03-15 custom "entity" "ein" "12-3456789"
2021-03-15 custom "entity" "tax_status" "partnership"
2021-03-15 custom "entity" "tax_year_end" "12-31"
2021-03-15 custom "entity" "tax_return" "Form 1065"
2021-03-15 custom "entity" "tax_due_date" "03-15"
2021-03-15 custom "entity-link" "operating-agreement" "https://drive.example.com/elm-oa"
  field: "members"

set_entity_info records or updates these facts and links (writing to entity.beancount when present, or tail.beancount otherwise), and get_entity_info reads them along with the tax return due-date list across all entities. The EIN is masked as **-***NNNN in list_repos, status, logs, commit messages, and get_entity_info unless get_entity_info is called with the full EIN requested. When an entity's tax classification is set, annotate_account checks that tax: form mappings match that classification (for example, a partnership accepts Form 1065 and Form 8825, and a disregarded entity accepts tax: "none" or the owner's pass-through schedules).

check sees one repository at a time. check_across reads all of yours, and reports:

  • a link with one side, on more than two entries, or with both sides in one repository;
  • two sides that do not cancel, or that move money the same way;
  • a side whose inter-entity account names another entity than the other side's repository, that has no inter-entity posting, or that leaves its amount to be inferred;
  • an entry on an inter-entity account without a link, except an opening balance (an entry against Equity:Opening-Balances): no money moved on that day;
  • an opening balance on an inter-entity account in one repository when the other repository has none for the same relationship, or when the two go the same way (the amounts may differ, since the owner may carry the investment at cost, but one side's must be the other's opposite);
  • a statement source that two repositories claim;
  • a mismatch between an entity's members cap table and the ownership: annotations on a member repository's inter-entity accounts (adding up shares on both sides when several cap-table members or several ownership accounts name the same repository pair, such as two people or a trust in one household ledger).

A transfer often arrives as two plain bank lines: money leaves one entity's bank and arrives at the other's a few days later. list_unlinked_transfers finds such pairs. It proposes a link when two entries in different repositories have no link yet, their bank amounts cancel exactly, in one currency, they are at most 7 days apart, and each is the only match of the other. It looks at entries with one posting on a bank account (an account whose open has source:) and the rest either on *:Unknown accounts or on the inter-entity accounts of one entity. Each proposal names both entries and the xfer: value to set. An entry that matches several others is listed for you to decide. Nothing is linked until you approve it. link_transfer then sets the same xfer: value on both entries, with one commit in each repository. It refuses a pair whose bank amounts do not cancel. A side still on *:Unknown is linked, and check_across reminds you to book it to the inter-entity account.

Full User Guide · Manual Overview