Residual payment it clears original invoice with the incoming amount and creates a new line item for remaining outstanding amount.
Partial payment it leaves the original invoice amount and creates a new line item for the incoming amount.