04. Settling the deposit
Once the real costs can be charged, the deposit paid by the owner on forehand should be settled with the costs to be paid.
A checkbox "Invoice adjustment extra" has been created to be recognised by the settling process. This in combination with the Utility type = admincosts.
02. Adjustment invoice extra
An extra should be available where the checkbox "Invoice adjustment extra" has been selected, as well as the checkbox "Allow customization of Name/Price during reservation:".
This extra should have a negative rate, based on the deposit. So if the deposit has a value of €200, the Invoice adjustment extra should have a value of -€200.
03. Link extra to Utility type
On the Utility bill tab, the Invoice adjustment extra has to be linked to the Utility type = admincost.
04. Settle costs including deposit
I have added new meter readings after I have done the above mentioned configuration and generated new invoices again. Now I have chosen Yes for "Do you want to settle the invoice amount with your deposit?".
05. Result of settling the deposit
The newly created reservation 90319001450-004 has a price rule for -€200 for the Deposit, which seems to be expected.
In this example, there also is a price rule of €200 for Deposit settle for invoice 90319001450-003. This one is the compensation for the price rule added in 90319001450-003 of -€200.
This is happening, while reservation 90319001450-003 has not been paid yet. In the normal situation, a Deposit has to be paid, before the meter reading values will be settled.
If the deposit is not paid while settling, it seems to be logic that the Deposit will not be deducted from the balance, because in that case the owner has to pay the whole amount.
I have made a payment for 90319001450-004.
After that, I have added new meter reading values and generated the energy settlement again with Yes for "Do you want to settle the invoice amount with your deposit?".
After that, the invoice has been created with only a price rule for Verrekening voorschot of €-200.
Conclusion is, that every time the settlement has been created, the Deposit will be settled for the value of the price rule of the Invoice adjustment extra. And outstanding invoices will be settled as well.