Budgeting
You can tie a payment to a milestone so that it moves with the schedule, and split it into instalments.
Each row of a cash flow rule pays a share of an account at a milestone or on a fixed date. A payment at a milestone moves when you move that milestone or the milestone *First Shooting Day*. A payment on a date stays where it is. To change a rule, you need editing access to the budget; without it, you can only read the rule. See [what your licence includes](/kb/article/what-your-licence-includes).
Select the account. On the **Cashflow** panel of the account details, click  **Edit cashflow rule**. KOSMA opens **Set Cash Flow Rule**. For an account without a rule, **Milestones/dates** is already chosen under **Based on:**. If the account's rule uses a payment cycle, choose **Milestones/dates** there. The whole dialog is described in [set a cash flow rule on an account](/kb/article/set-a-cashflow-rule-on-an-account).
In the row, click  to pay at a milestone, or  to pay on a fixed date. Then choose the milestone or the date in the field that shows **Choose date**. Each milestone in the list shows its date in brackets.
| The payment is due … | Choose | | -------------------------------------------------------------------------------------- | -------------------------------------- | | when something happens in the production, for example 50% on the first day of shooting | a milestone, here *First Shooting Day* | | on a day fixed in a contract, for example an insurance instalment on 1 March | a date |
If the milestone *First Shooting Day* has no date, no other milestone has a date either. A row at a milestone then pays nothing.
If the payment is due some days before or after the milestone or date, enter the number of days in the row's **+/- ... Days** field: 30 for "30 days after delivery", a negative number for days before. KOSMA moves the payment by whole days.
A milestone also has a payment delay of its own, which you set when you [set up milestones](/kb/article/set-up-milestones). The cash flow does not use it. Only the days in the row of the rule move the payment.
When every row has a milestone or a date, click  **Add** for each further instalment, and give each row its share and its milestone or date, for example 50% at *Financing Closed* and 50% at *First Shooting Day*. Until then, **Add** is greyed out. A new row takes the share still missing to 100%. A rule has at most 10 rows.
Each row must be later than the row above it. In a row's list, KOSMA greys out every milestone that falls on or before the milestone or date of an earlier row, and the date picker starts on the day after.
If a rule has more than one row, you can remove a row: click  **Delete** in that row. KOSMA adds its share to the last remaining row.
When every row has a milestone or a date and the rows add up to exactly 100%, click **Ok**. Until then, **Ok** is greyed out, and while the sum is not 100%, the value fields are red.
A cash flow rule still pays at that milestone. KOSMA shows **Milestone in use** with this message:
This milestone is used in 2 cash flow rules and cannot be deleted.
Click **Ok**, set the rows of those rules to another milestone or a date, and then delete the milestone.
Markdown