Financing
You can set when the money of a source arrives, so that KOSMA places it in the cash flow plan and counts it as received, and you can remove the rule again.
A cash flow rule sets when the money of a source arrives. KOSMA uses the rule to place the money in the cash flow plan, and counts the money as received once its date has passed. You need a licence that lets you edit Financing, see [what your licence includes](/kb/article/what-your-licence-includes).
Click the source's row in the plan. In **Source Details**, click  **Edit cashflow rule** in the **Cashflow** panel. KOSMA opens **Set Cash Flow Rule** for the source. If the source has no rule yet, KOSMA starts a rule based on **Milestones/dates**. If you click **Cancel**, KOSMA discards this rule.
Next to **Based on:**, click **Milestones/dates** or **Payment cycle**. With **Milestones/dates**, you enter one row per payment: a milestone of the linked budget or a date, and the share of the source's amount in percent. To add a row, click  **Add**. A fund that pays 40 % at signature, 40 % at the start of shooting and 20 % at delivery needs three rows. With **Payment cycle**, KOSMA spreads the money over a recurring interval.
KOSMA enables **Ok** only when every row has a milestone or a date and the rows add up to exactly 100 %. Click **Ok**. KOSMA saves the rule and shows a cash flow dot in the source's **Source Details** cell.
**Reuse a rule you already built.** In **Set Cash Flow Rule**, use **Select Preset...** to save the rule under a name or to apply a rule you saved earlier. Each financing plan has its own presets, so presets from a budget do not appear here. For the steps, see [save and reuse a cash flow rule preset](/kb/article/save-and-reuse-a-cashflow-rule-preset).
**Remove a rule.** Open the rule as in step 1 and click **Reset**. **Reset** leaves one empty row at 100 %. Click **Ok**. KOSMA removes the rule. The amount of the source stays the same. The source no longer counts toward **Received**, and the cash flow plan no longer shows it.
As soon as a source has installments, KOSMA ignores the rule of the source itself. **Received** and the cash flow plan use the rule of each installment instead. When a source pays in one amount, set the rule on the source. When it pays in stages, set a rule on each installment. A source with installments shows no cash flow dot and an empty **Cashflow** panel, even when every installment has a rule.
To open the rules of the installments, click one of the installments in the plan, then click  **Delete** in the toolbar. KOSMA opens **Set Cash Flow Rule – Installments** for the source and deletes nothing. For the steps, see [add installments to a source](/kb/article/add-installments-to-a-source).
**If Received stays blank.** A source with neither a rule nor installments adds nothing to **Received**. Its **Received** cell stays blank, and KOSMA does not show 0 % for it. Set a rule with the steps above. For a source with installments, KOSMA counts the installments that are paid, see [what Received and Outstanding mean](/kb/article/what-received-and-outstanding-mean).
This happens when you have selected an installment or several sources. In both cases, the **Cashflow** panel offers no  **Edit cashflow rule**. With several sources selected, the panel shows this message:
Mixed contents · Click ↺ to reset
KOSMA sets a cash flow rule on one source at a time. Click only the row of the source.
Markdown