Cost Control
You can attach an invoice to the cost item it settles, and open, save or remove it later.
An invoice goes on the cost item it settles. KOSMA saves it in the cost control set, in the **Attachments** panel of that cost item. For files on the accounts of a budget, see [attach files to accounts](/kb/article/attach-files-to-accounts).
In **Cost Items**, click the cost item the invoice belongs to. KOSMA shows **Cost Item Details** with the **Attachments** panel.
If you select the account row instead, you see the attachments of the budget account, but you cannot add or remove a file there.
Point at the title of the **Attachments** panel and click , or click the empty panel. KOSMA opens your computer's file dialog. Choose one or more files. You can also drag files from your computer and drop them on **Cost Item Details**. KOSMA lists each file by its name in the **Attachments** panel.
A cost item 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 or a file of another type without a message.
If you select several cost items, the **Attachments** panel shows only the files that all of them have. A file you then add goes to every selected cost item.
Name the file with the invoice number. Anyone who checks the cost item then finds the invoice by the number in the books.
To open an invoice, double-click its name in the **Attachments** panel. KOSMA opens the file. To save a copy on your computer, point at the file's row. Click the empty button at the end of the row, left of . Its icon is missing at the moment. When you point at the button, KOSMA shows **Save a copy…**.
KOSMA removes a file without asking. If several cost items are selected, KOSMA removes the file from all of them.
To remove a file, point at its row and click .
**Where KOSMA saves the invoice.** KOSMA copies the file into the cost control set. The attachment does not depend on the original on your computer: if you move or delete the original, the attachment stays. Attached files make the set larger.
**If you cannot add a file.** You cannot add or remove files if your licence does not cover Cost Control, if the set was shared with you for reading only, or if you are not signed in. You can still open a file and save a copy of it. For what each licence lets you edit, see [what your licence includes](/kb/article/what-your-licence-includes).
Markdown