I spent a lot of time building out a template, utilizing the custom fields that I put into my opportunity. Unfortunately, the document template seems to only recognize data if it is a custom field within a contact, NOT and opportunity. It would be great if we had the freedom to use both opportunity custom fields and contact custom fields.