The installment sales method is used when the assurance of payment and estimated bad debts does not exist before cash is collected. Sales revenue and COGS are recognized only when cash is received.
The cost recovery method is used when future cash collections are not assured even after receipt of partial payments. Gross profit is not recognized until all of the cost of goods sold is collected.