Symptoms


When downloading invoice, it appears empty. The button 'Rebuild PDF' is also missing despite having the privilege ARDOCS_REBUILD already assigned to the roles. Invoice notification template also appears 'Active', and HTML preview of it works correctly.


Cause

'Invoice Notification Template' and 'Invoice PDF template' was not assigned with any template in Common Notification Settings.

Resolution


From Settings > Notifications > Common Notification Settings > assign the correct template to both 'Invoice Notification Template' and  'Invoice PDF template' section.

This two settings need to be assigned if PDF document were to be generated correctly.