---
title: "Discussion on \"PDF Generation API: Invoices, Reports, Documents\" | Hashnode"
description: "Discussion on \"PDF Generation API: Invoices, Reports, Documents\". I spent three days trying to generate PDFs in a Node.js app.\nThe first approach was puppeteer. Installing it added 300MB to my container because it bundles Chromium. Fine. Then it worked locally but crashed in production with cryptic errors about mis..."
url: "https://hashnode.com/posts/pdf-generation-api-invoices-reports-documents/6974766b18bfaa9e0c26a06c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PDF Generation API: Invoices, Reports, Documents](https://apiverve.hashnode.dev/pdf-generation-api-invoices-reports-documents?utm_source=hashnode&utm_medium=feed)

I spent three days trying to generate PDFs in a Node.js app. The first approach was puppeteer. Installing it added 300MB to my container because it bundles Chromium. Fine. Then it worked locally but crashed in production with cryptic errors about mis...

Jan 24 · 10 min read · apiverve.hashnode.dev  
Updated Mar 16  
Read the article

-   [#document-generation](https://hashnode.com/tag/document-generation)
-   [#invoices](https://hashnode.com/tag/invoices)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#pdf](https://hashnode.com/tag/pdf)

## Written by

[APIVerve Team](https://hashnode.com/@apiverve)

@apiverve

  
[View profile](https://hashnode.com/@apiverve)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
