There are two options:
1. The amount (deposit, advance) paid to the asset supplier can be offset by a tripartite agreement which regulates the cash flow between the Lessee, the Lessor and the Supplier
2. After signing the lease agreement, the Supplier can issue a credit notice for the amount paid (deposit, advance) and refund it to the Lessee, who in turn should pay the full amount of the advance payment to the Lessor, and they should pay the asset to the Supplier.