Normally, when paying an invoice, the appropriate reference is the invoice number. Also, if the receipt is allocated to Customer credits
, Manager will automatically apply it against open invoices of that customer without the need for any reference.