A vendor rebate is usually collected by raising a debit memo against the supplier in accounts payable — in effect an invoice with a negative amount — which is then netted against what is owed to them. A customer rebate is usually paid as a credit note in accounts receivable, reducing what the customer owes.
Either way, the memo is the moment a rebate becomes cash. It should carry the claim it settles, so that the payment can be traced back through the claim to the accrual and the transactions behind it.