In the Voucher Creation screen for Sales
Press Ctrl+I (More Details) > type or select Reference No. & Date.
Enter the Reference Details and save.