[HN Gopher] Open-source API to generate PDF invoices
       ___________________________________________________________________
        
       Open-source API to generate PDF invoices
        
       Author : math_reads
       Score  : 15 points
       Date   : 2022-07-28 16:02 UTC (58 minutes ago)
        
 (HTM) web link (www.getlago.com)
 (TXT) w3m dump (www.getlago.com)
        
       | AnhTho_FR wrote:
       | Generating a custom PDF is just such a pain. You don't know it
       | before you tried to do it.
       | 
       | I've seen Anvil (a YC co) is building a product dedicated to this
       | challenge, check it out!
        
         | wutwutwutwut wrote:
         | I wrote some C# code a couple of years ago to generate PDF
         | invoices. Has been running fine since then generating tens of
         | thousands of PDFs. It was pretty straight forward back then,
         | only annoying thing were page breaks when there were a lot of
         | line items, but apart from that I would not consider it a
         | "pain".
         | 
         | What issue have you had? What do you mean by "custom"?
        
           | AnhTho_FR wrote:
           | You're right, per se generating a small number of PDF is
           | indeed easy.
           | 
           | What's complex is: - Dynamic PDFs: you're trying to digitize
           | a government process for instance, by launching online forms
           | with a variety of user paths for the answers and generating a
           | PDF with the answers that still fits specific government
           | requirements - Doing it at scale
        
         | ranger_danger wrote:
         | I just use headless chromium to "print" a generated HTML page
         | as a PDF, works great.
        
       | thibo_skabgia wrote:
       | I had no idea it could be such a hassle. Our tech team also did
       | this, but before my time: I guess I took it for granted.
        
       | ranger_danger wrote:
       | Open source _backend_ when?
        
       ___________________________________________________________________
       (page generated 2022-07-28 17:00 UTC)