When a quote is made, it is converted into a referral and then the referral is converted into a sales invoice. When you click on view document in the quote, the referral appears, but when it is in effect, and the referral has already been invoiced.