Choose several forms of payment for a single invoice

How can I choose several payment methods for a single invoice?
For example: My client X bought me 1 piece of my product B that has a value of $ 5,000, but when he paid me he gave me $ 2,500 in cash and the other part I paid with a card, how can I reflect it in my payment note?