In the cash journal it would be preferable to have the accounts 700 and 600 of the items for the installment invoices (taking into account the% of the deposit). Then, in the management of the final invoice, account for each item line at 100% and then deduct the lines from the deposit.