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.
01. Having Utility type = admincost
Not in all databases/concerns, the Utility type = admincost is available on the Utility bill tab. If not, the Database team has to add this by using a script. (example =
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
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.
There is also 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.
It seems that this is happening, while reservation 90319001450-003 has not been paid yet.