Chapter 04

Documents

Paperwork in FerrumCloud almost sorts itself. You drop a scan into your inbox, or FerrumCloud picks up mail from a folder of your mailbox and turns it into a PDF. Text recognition makes everything searchable, and your rules suggest who sent it, which tags fit, which date it carries and where it belongs. You confirm with one click, and the document lands in a folder like Insurance/2026/Car.

A document is always an ordinary file in an ordinary folder of your files. Tags, correspondent, document type and date are extra details attached to the file that travel with it when you rename or move it.

The documents view as a table with filters

What counts as a document

Everything that came in through an inbox counts as a document, and so does any file you give a tag by hand. Photos and other files are left alone.

Open the Documents view from its icon on the rail. Its side bar contains:

  • All documents, the table across all folders
  • your saved views
  • your Inboxes with the number of new documents
  • collapsible Tags, Correspondents and Document types with the number of their documents; a click shows exactly those documents
  • collapsible Manage with one page each for correspondents, tags, document types, storage paths, rules, inboxes, mailboxes and views (see Manage)

Inboxes

An inbox is an ordinary folder. Everything that lands in it is made searchable and gets a suggestion for tags, correspondent and where to file it.

Everyone has an inbox of their own: the folder Eingang in My files. It is created automatically and stays private until you file a document. On top of that there can be shared inboxes, for household mail in a shared area for example. Add another inbox under Manage, Inboxes with Add inbox; this needs the Manage permissions permission on the folder.

New files reach an inbox any way you like: uploaded, dragged in, from fetched mail, from the mail client or saved straight onto the NAS. FerrumCloud accepts PDF, JPG, PNG and TIFF.

What happens to a new file

  1. Text recognition: Scanned PDF files get an invisible text layer so you can search them and copy text out of them. Pictures become a searchable PDF. By default German and English are recognized.
  2. Date: FerrumCloud looks for the first plausible date in the text, such as 31.12.2026, 2026-12-31 or December 31, 2026, and suggests it as the document date.
  3. Rules: The first matching rule suggests correspondent, document type, tags, title and storage path.
  4. Notification: Everyone who can read the inbox gets a notification in the bell and, if enabled, on their phone.

While recognition is running, the document shows Recognising text....

When text recognition fails

If recognition does not work, the file stays as it was and the document still waits in the inbox. The card and the details panel then show Text recognition failed with the reason, such as "The PDF is encrypted.", "Took longer than 10 minutes." or "Language data for text recognition is missing.". Program output expands the exact line from text recognition; it helps when you report the problem to your administrator. The same reason appears in the notification in the bell.

Try again runs recognition again right away, for example after you have unlocked an encrypted PDF or edited its pages in the PDF editor. Whatever you have already entered on the card (title, correspondent, date, tags) is kept; only the suggestion is worked out again. A document that was already filed without text can be retried the same way; then only recognition runs and it stays where it is. In the table such documents are marked No text, and the filter Text recognition failed shows all of them.

Sorting your inbox

Click an inbox to see its new documents as cards. Each card has a preview on the left and the details on the right: title, correspondent, date, document type, tags and storage path, each filled in with the Suggested value.

An inbox with cards and suggestions

Check the details, correct whatever is wrong, and click File. Below the storage path, Will be filed under: shows the area, folder and file name that follow from the card's details; it updates as soon as you change them. If the name is already taken, the numbered name appears there, such as "Invoice (2).pdf". Only then is the document moved; until then it stays in the inbox, even if a rule matched. Later leaves it for now.

  • Pick a correspondent from the list or type a new name and create it with Create correspondent "...".
  • Add a tag the same way. Create private tag "..." makes one that only you can see.
  • When you change the title, the file is renamed to match it.

Tip: Event on any card creates a linked event in the calendar straight away, for the due date of an invoice for example.

Storage paths

Filing always goes through a storage path. It defines the whole location, including the file name, for example:

Anna/{{ correspondent }}/{{ created_year }}/{{ title }}

Slashes separate folders, the last part is the file name, and the file keeps its extension. Empty values become none. If a name is already taken, the new document gets "(2)" added; nothing is ever overwritten.

A storage path with template and preview

Create storage paths under Manage, Storage paths with Add storage path. In the dialog you insert placeholders with a click and immediately see under Preview where a sample document would end up. Under Area you choose a fixed area or Area of the document.

Placeholder Meaning
{{ correspondent }} or {correspondent} Correspondent
{{ title }} or {title} Title
{{ created_year }}, {{ created_month }}, {{ created_day }} Year, month, day of the document date
{year}, {month}, {day} Short forms of the same
{{ created_month_name }} Name of the month
{{ added_year }}, {{ added_month }}, {{ added_day }} When the document came in
{{ tag_list }} The shared tags, separated by commas
{{ owner_username }} Owner of the personal area
{{ original_name }} or {filename} Original file name
{{ document_type }} Document type

Which storage path applies is decided in this order: the one chosen on the document, a rule's suggestion, the one set on the correspondent, the one set on the document type, the one set on the first tag. When the field says Automatic: ..., you can see which one it turned out to be. If you are only allowed to use a single storage path anyway, FerrumCloud takes it without asking.

Shared or private

Like tags, storage paths come in two kinds. Shared ones are visible to and usable by everyone; only they can be set as a default on correspondents, document types, shared tags and shared rules, and used for Grant access. Private ones are visible only to their owner, who can choose them on their documents, private tags and own rules. While there is no shared storage path yet, the column Default storage path and the rule dialog show Only shared storage paths possible with a link to the storage paths instead of an empty list.

Accounts without admin rights only create private storage paths. An administrator switches with the private checkbox while editing: one of your own private storage paths becomes a shared one that then belongs to everyone. The other way round, a shared storage path only becomes private when nothing else uses it any more: no correspondent, document type, someone else's tag, someone else's or shared rule, no access grant and no document outside your own area. Otherwise FerrumCloud lists what still uses it; remove those references first.

Documents follow along

The nice thing about storage paths is that a filed document stays where its details say it belongs. If you later change the correspondent, document type, title, date, tags or storage path of a document, it is moved or renamed right away. If you change the template of a storage path or the name of a correspondent or document type, FerrumCloud first shows how many documents are affected, with an example, and then moves them in the background.

If you move a document somewhere else by hand, though, it stays there.

Rules

Rules look at new documents and make suggestions. Nothing is filed without your confirmation. Manage them under Manage, Rules: the table shows for each rule whether it is Active, its conditions and what it suggests. New rule or the pen opens the form.

A rule with conditions and suggestion

A rule has two parts. Under When are the conditions:

  • Text contains and File name contains, each with a Kind of condition: contains words (words separated by commas), exact phrase (exactly this text, line breaks count as spaces) or regular expression (such as customer number \d{6})
  • Sender is (mail only): an address or domain such as example.com; only applies to documents from fetched mail

You also choose whether One condition is enough or All conditions must match.

Under Then suggest you set correspondent, document type, tags, title and storage path. Test rule tries the rule on an existing document and tells you right away whether it matches.

Rules belong to you. Administrators can also create shared rules that apply to everyone.

Manage

Everything that organizes your documents has its own page in the side bar under Manage: Correspondents, Tags, Document types, Storage paths, Rules, Inboxes, Mailboxes and Views. Every page has the familiar bar at the top with New, the name of the page, Sort and Refresh. The search field at the top of the side bar searches the open page.

The correspondents page under Manage

For each entry the table shows the name, the number of Documents, the Default storage path and, for administrators, how many accounts and groups have Access. You change the name right in the row, and the default storage path too. At the end of each row are:

Button What it does
Show documents Opens the table filtered to this entry
Grant access Who may see and edit the documents of this entry (administrators only)
Delete After asking; the documents stay, only the assignment goes

On the phone the tables turn into lists.

Correspondents, tags and document types

A correspondent says who a document comes from, a document type what it is: an invoice, a quote, information or an email, for example. Tags add to both freely. You can give all three a default storage path, so that all invoices end up in the right folder on their own.

Tags come in two kinds: shared ones for everyone and private ones only you see. That is why New asks for Shared tag or Private tag on the tags page. Every tag has a color that you change in its row.

Anyone can create new correspondents, tags and document types. Only administrators may rename or delete shared ones.

Access through categories

In the documents view it is not the folder that decides who sees which documents, but the category: correspondent, document type, shared tag or shared storage path. An administrator clicks Grant access in the row and adds accounts or groups, each with Read or Edit.

The access dialog with accounts, groups and levels
  • Read shows all documents of this category in the table, even if their folder is not visible to the account at all.
  • Edit also allows changing details and filing documents.
  • Administrators always see all documents.
  • Private tags and private storage paths have no rights.

This way you can give the group "Family" access to the document type Invoice without opening your whole folder to them. In the details panel of a document, administrators see under Access which categories they can share it through; a click leads to the matching page.

The table

All documents lists every document you have access to through its categories, no matter which folder it is in. At the top you filter by Status (In inbox or Filed), correspondent, document type, tags and Date range (This year, Last year, Last 30 days or Custom range). Duplicates only shows documents whose content already exists, Text recognition failed documents without recognized text. Clear filters resets everything.

Under Layout you switch between Table and Tiles with a large preview; the Tile size is Small, Medium, Large or Extra large. Previews load as sharp as the tile and your screen need, so they stay sharp on phones and high resolution screens. Click a column header to sort. The details panel on the right shows all details of the selected document and lets you change them.

As in your files, a click selects and a double-click or Open opens the document.

Several documents at once

With several documents selected, the action bar offers:

Action What it does
Tags Add tags; existing ones stay
Remove tags Remove just these tags
Correspondent Set or remove the correspondent
Document type Set or remove the document type
Date Set or remove the document date
Storage path Set the storage path; filed documents move right away
File File documents from the inbox using their storage path; the dialog shows where the first one goes
Recognize text again Run recognition and suggestions once more; for filed documents without text, recognition only
Delete Move to the trash

Saved views

A combination of filters, sorting and layout you use often can be saved under Views with Save view. If you like, it then appears in the side bar with its number of results. If you later change the filters, FerrumCloud asks Filters changed: update the view?. Manage, Views (or Manage views in the Views menu) lets you rename views, reorder them and choose which ones appear In sidebar. Saved views are private.

Duplicates

Before text recognition starts, FerrumCloud compares the content of a new file with the existing documents. If the same content already exists, the card is marked Duplicate, with Open existing and Delete duplicate. If you file it anyway, FerrumCloud asks once more.

Mail into your inbox

FerrumCloud can pick up mail from a folder of your mailbox and turn it into PDF files that look as close to the original as possible: with a header (From, To, Cc, Date, Subject), tables, colors and embedded pictures. All attachments land as separate files next to it in the inbox.

Manage mailboxes under Manage, Mailboxes (or in Mail under Manage mailboxes; it is the same content). For fetching, these fields matter:

Field Meaning
IMAP server, Port, Encryption, Username, Password Access to your mailbox
Fetch into the inbox automatically Turns fetching on
Folder to fetch Only mail in this folder is fetched, Consume by default
After fetching Move to another folder (Consume/Erledigt by default), Mark as read and keep or Delete (only if something was stored)
Store in inbox My inbox or a shared inbox
Load images from the internet Makes the PDF look like the original mail; the sender may notice that it was opened

Test connection checks access, Fetch now fetches right away. Otherwise FerrumCloud checks every 10 minutes. If fetching fails, you get a notification at most once an hour.

Tip: Set up a filter with your mail provider that moves invoices from certain senders straight into the Consume folder. They then land in your inbox without you lifting a finger, and with the condition Sender is in a rule they get the right correspondent too.

FerrumCloud stores passwords encrypted, and they never leave the server. Everyone sees and changes only their own mailboxes, administrators included.

FerrumCloud is free software under the AGPL-3.0. GitHub