Recently I had some work done for the BluePay payment gateway as we needed to correct the pushing of the reference code into the platform. 

The client had requested a modification to the functionality of the gateway to send the invoice ID vs the Reference ID and I wanted to know if that could be something in the future. 

Currently, the workflow is to set the Reference coding in the payment gateway and upon process, the typed code is sent to Custom ID1 and the reference ID is sent to custom ID2. I am wondering why it is we send a reference ID vs the Invoice ID. Both work in the platform to retrieve the invoice as well as locate it in the financial reconciliation report but if the invoice ID was sent would the report still be needed?