Budgeting
You can attach a file to an account, open or remove it and find the rows that have an attachment.
An attachment is a file on an account, a subaccount or a markup. It documents the number on that row, for example with a supplier quote or a signed agreement. KOSMA saves the file in the budget itself, so everyone you share the budget with can see it.
Click the row in the budget. To add a file, click  **Add attachment** in the **Attachments** panel of **Account Details**, or click into the empty panel. KOSMA opens the file picker of your computer. Choose one or more files. You can also drag files from your computer and drop them anywhere on the **Account Details** panel. For an explanation in words, write a [note](/kb/article/add-notes-to-accounts).
A row can hold up to 8 files of up to 2 MB each. KOSMA accepts PDF, Word, Excel and RTF files, text files such as TXT or CSV, and images such as JPG, PNG or HEIC. KOSMA skips a larger file, a file of another type and any file beyond the eighth. A message names the file and the reason.
If you select several rows, the **Attachments** panel shows only the files that all of them have. A file you then add goes to every selected row.
To open a file, click its name in the **Attachments** panel.
KOSMA removes a file without asking. If you remove a file from an account, KOSMA also removes it from all its subaccounts.
To remove a file, click  **Delete attachment** in the file's 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 its place, click  **Replace file…** in the **Attachments** panel and choose the new file. Every row that shares this file, for example because you added it to several rows at once, then shows the new one. **Replace file…** appears only when you have selected one row 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 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 budget, the **Account Details** column shows a dot on every row that has an attachment. The dot appears only on the row that holds the file itself. To show only the rows with an attachment, filter the budget by the type **Attachment**, the operator **is not** and the value **empty**. With **is** and **empty**, KOSMA shows the rows without an attachment. For the filter panel, see [filter a budget](/kb/article/filter-a-budget).
When you copy a row and paste it in the same budget, the copy keeps its attachments. When you paste it into another budget, KOSMA leaves the attachments out. For copying rows, see [copy and reorder budget rows](/kb/article/copy-and-reorder-budget-rows).
You cannot add, replace or remove files, because the budget is read-only, for example on a Free licence, in a budget shared with you for reading only, in a budget linked to a cost control set, or when you are signed out. When you point at a greyed-out control, KOSMA names the reason. See [why a budget is read-only](/kb/article/save-discard-and-read-only).
Markdown