Financing
You can label, annotate and document a source, and you know which of the three a formula can read.
**Tags**, **Notes** and **Attachments** are three panels in **Source Details**. With them, you label a source, explain its amount and keep its documents, such as the award letter, with the source. Select the source in the grid first. On a plan shared with you read-only, you see all three panels but cannot change them.
A tag is a label you choose, for example "regional", "soft money" or "2027 round". In **Tags**, click  **Edit tags** and type a name. While you type, KOSMA lists the plan's tags that contain your letters. Choose one with the arrow keys and press Enter. If none fits, type your own name and press Enter. KOSMA creates the tag in the plan. Escape clears the tag field.
The tags belong to the plan. **Tags** offers only the plan's own tags, not those of the linked budget.
A source carries up to 10 tags. At 10 tags, the tag field disappears, and KOSMA says that the maximum is reached.
To remove a tag, click the cross  on the tag. Backspace in the empty tag field removes the last tag in the list. KOSMA removes a tag without asking.
Of the three panels, a formula can read only tags. In a source's **Amount**, `SUM_TAG_F` sums the Amounts of all sources that carry the tag you name:
If you remove a tag from a source, a formula that names this tag no longer counts that source. For more formulas, see [aggregate financing sources in a formula](/kb/article/aggregate-financing-sources-in-a-formula) and [reference the budget in a source amount](/kb/article/reference-the-budget-in-a-source-amount).
Use **Notes** for text that explains the source: why the amount has its value, what a fund said on the phone, or which condition is still open. In **Notes**, click the pen  and type. A note holds up to 500 characters, and a counter shows how many you have used. KOSMA saves the note while you type and when you leave the field.
KOSMA deletes the whole note at once and does not ask first.
To delete the note, click the cross  in **Notes**.
Use **Attachments** to keep files with the source, for example the award letter, the signed contract or the application. In **Attachments**, click  **Add attachment** and choose one or more files. You can also drop files anywhere on **Source Details**. KOSMA lists each file by its name, for example Award letter.pdf. A source holds up to 8 files, each up to 2 MB. At 8 files, the button for adding files disappears. KOSMA accepts images, PDF, RTF, text files (txt, csv, md), Word files (doc, docx) and Excel files (xls, xlsx).
KOSMA skips a file if it is larger than 2 MB, of another type, or added when the source already holds 8 files. A message names the file and the reason. This also applies to files you drop.
To open a file, click its name.
KOSMA removes a file from the source without asking first.
To remove a file, click  **Delete attachment** in its row. To get it back, press ⌘Z (Ctrl+Z on Windows), or revert the change in [History](/kb/article/see-and-revert-changes-in-history).
To put a new version in place of a file, click  **Replace file…** in **Attachments** and choose the new file. Every source that shares this file, for example because you added it to several at once, then shows the new one. **Replace file…** appears only when you have selected one source and it holds exactly one file.
A file someone else adds appears at once. Its content arrives a moment later, and until then a spinner shows in the file's row. If you open the file before that, KOSMA waits for it. If KOSMA cannot download the file, its row shows  **Not available yet**, and opening it shows an error (`KOSMA-E-2044`). Check your connection and open the file again.
In the grid, the **Source Details** column shows a dot for each panel of a source that has content. See [how source details work](/kb/article/how-source-details-work).
If you select several sources and add a tag, KOSMA adds it to all of them. If their tags differ, **Tags** shows **Mixed contents**. You do not need ↺ to add a tag.
↺ removes all tags from all selected sources after you confirm. Formulas that name these tags then no longer count these sources.
With several sources selected, **Attachments** shows only the files that all of them share, and **Notes** stays empty.
When you copy a source or a whole plan, the copy keeps its tags, notes and attachments. For what else a copy keeps, see [copy and reorder financing rows](/kb/article/copy-and-reorder-financing-rows) and [copy a financing plan](/kb/article/copy-a-financing-plan).
Markdown