If you upload or email a receipt that is tied to a transaction that is still pending, you will not be able to view that receipt from the "Receipt Details" tab and the system will give an error. 

Once the transaction clears out of the pending status, then you can view the receipt.