Open LedgerOS
Knowledge HubPracticeDocument captureClient folders and subfolder rules
Document capture

Client folders and subfolder rules

Tell LedgerOS which watched folder belongs to which client, and which LedgerOS folder each subfolder files into.

6 min readUpdated November 13, 2026Requires Manage integrations
On this page

Your tax software keeps one folder per client, with subfolders inside it. Document capture reads that structure in two steps: Client folders says which client a folder belongs to, and Subfolder rules say which of the client's LedgerOS folders a subfolder files into. You map each client folder once; every file that lands in it afterwards goes to that client.

Settings → Documents → Document Capture, then the Client folders or Subfolder rules tab.

A file under a folder that is not mapped to a client waits in Documents → Client Uploads under Couldn't match a client. Mapping the folder also files the captures already waiting from it. See When capture can't tell whose file it is.

Map folders to clients

The Client folders tab lists the folders the agent has found under your watched sources. A line above the list counts them across the whole list, for example 212 unmapped folders · 180 exact · 14 close · 18 with no matching client.

ColumnWhat it shows
Folder foundThe folder's path inside the watched source, and when it was last scanned.
Suggested clientThe client LedgerOS suggests. Click it to choose a different client.
MatchExact name (the folder name matches a client's name), Close — review (probably right, worth a look), or No match.
ConfirmMaps the folder to the chosen client.
  1. Work the Close — review and No match rows: choose the right client in Suggested client.
  2. Click Confirm on each row. You see Mapped followed by the folder and the client. If captures from that folder were already waiting, LedgerOS files them too and says how many, for example Filed 12 waiting captures to Ridgeline Coffee Roasters.
  3. To confirm every Exact name row on the page at once, click Confirm exact matches on this page.

The two buttons above the list switch between Client folders and All unmapped folders (which also shows subfolders). Search with Search folders or clients, and page through with the arrows. Click Refresh folders to have the agent look again: Refresh requested — folders update on the agent's next check-in (~1 min). Folders you have already mapped are under Mapped at the bottom, each marked Bound.

When nothing is left to map, the list reads No folders waiting to be mapped.

The closer your client names in LedgerOS are to your tax software's folder names, the more folders come back as Exact name. Before a large mapping pass, it can pay to tidy client names first.

Subfolder rules

Without a rule, a captured file goes to the client with no folder, and LedgerOS files it by its document type or holds it for review like any upload. A subfolder rule sends a subfolder straight to one of the client's LedgerOS folders. Rules are firm-wide: one rule applies under every mapped client folder.

Each rule has three parts:

PartWhat to enter
When the subfolder is…The subfolder path below the client's folder, for example Returns, or {year}/Source Docs. {year} matches a four-digit year folder such as 2025; {yy} matches a two-digit one such as 25. Letter case does not matter.
File into LedgerOS folderChoose from Each client's own folder (from folder templates), which names the same folder in every client, or A folder with exactly this name. Check Into a {year} subfolder to file into a year folder inside it.
Read tax yearTurn on to take the document's year from the {year} or {yy} part of the subfolder.

Click Add rule to add one. Rules save as you type: you see Saving…, then Saved. The last row is fixed: anything that doesn't match a rule goes to the client for review.

A rule matches a subfolder and everything below it, so Returns also matches Returns\Amended. When more than one rule matches, the rule that names the most folder levels wins: for a file in 2025\Source Docs, a {year}/Source Docs rule beats a {year} rule, whatever their order. Between rules naming the same number of levels, the one higher in the list wins.

Year folders

A rule like {year}/Source Docs, with Read tax year on and Into a {year} subfolder checked, files a document saved in Ridgeline Coffee Roasters\2025\Source Docs into that client's Source Docs → 2025, and next year's into Source Docs → 2026, with no change to your setup. If the year folder isn't there yet, LedgerOS creates it.

Turn Read tax year on for any rule whose path has {year} or {yy}. Without it, the rule has no year to fill in a year folder with.

When the client has no such folder

A rule never creates a client's folders, apart from the year folder above. If a client does not have the folder a rule names, the file goes to that client for review instead, and the rule shows how many recent files that happened to: 3 files in the last 30 days matched this rule, but the client had no such folder. Nothing was created; they are in Needs review.

Choosing a folder from Each client's own folder (from folder templates) avoids this for every client set up from that template.

Check it works

After setup, save one document into a mapped client's folder and see where it lands. Check that it went to the right client, into the right LedgerOS folder, with the right year. If those three are right for one document, the rules are right for the rest.

Why can't I…

…save my rules? A rule with a problem is not saved, and the tab says Not saved — fix the rule marked below. The rule shows what is wrong, for example Rule 2 has no folder to file into. Choose one of the client's folders.

…see a folder I expected on Client folders? The agent may not have scanned it yet. Click Refresh folders, or switch to All unmapped folders if it is a subfolder.

…confirm a folder? Mapping needs permission to manage documents: You do not have permission to file documents.

Was this article helpful?
Related articles