If you went for lunch with your friend, and you paid the bills with your credit card and your friend paid his share to you in cash, you can record your spendings on this occasion by following these steps.
The important aspect to note is that these two transactions should be under the same category.
For example, you have recorded $50 of card spending under the “Food” category.
From here, $25 that you have received from your friend can be recorded via using negative expense. In the “Amount” field, type in -$50, also you should also record the returning of your friend’s share in cash under the “Food” category as well.
After you have recorded your spending, you can confirm that your card expense has been deducted to $25 as shown below.
You can also confirm this on your stats as well.
You received $25 cash while your card transaction has recorded $50 as an expense. In terms of rebates, you can follow the exact same steps to reflect your rebates.