Is there a table in the database or a folder where Magento (1.9 and 2.1) stores Pdf Invoices?

  • 1
    No PDF are generated on Fly as soon as user/admin requests it – Vishwas Bhatnagar Apr 13 '17 at 12:53
  • But @VishwasBhatnagar user can use extension for that – Disha Singh Apr 13 '17 at 13:08
up vote 4 down vote accepted

Magento doesn't store PDF files, it generates PDF on demand.
It keeps all the required data in different tables and compose the PDF based on configurations and PDF template.

  • Thanks! Do you know the name of the events (admin panel and user panel) called when the pdf is shown? I want to create an observer and show another pdf. – Vixent Apr 13 '17 at 13:36
  • You'll find pdf directory in model of sales module. There is a PHP file which renders the pdf, you can extend that renderer and customize the pdf as you want. – Aman Srivastava Apr 13 '17 at 13:58
  • Thanks for updating knowledge. I also came to know about it by your answer. – Disha Singh Apr 13 '17 at 14:09
  • ++1 from me for answer – Disha Singh Apr 13 '17 at 14:10
  • @Disha Thanks :) – Aman Srivastava Apr 13 '17 at 14:17

These two extensions you can use

1 Export PDF Magento

2 Mazento PDF Extension

  • Any of the module doesn't export invoices which is requirement here. – Aman Srivastava Apr 13 '17 at 13:18
  • Yes that generates reports. But I thought they might help. Thanks for updating knowledge – Disha Singh Apr 13 '17 at 14:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.