The reference number is the invoice, credit memo, or debit memo number. It is the unique number used to identify a specific accounts receivable invoice-related transaction.