Generating PDF Invoices from Word Templates with officeParser

· Raymond Camden · Oct. 27, 2026, 11:11 p.m.
Summary
This blog post discusses how to generate PDF invoices from Word templates using the officeParser open-source library. The author details their experience building a demo that takes invoice data, processes it with a Node.js script, and outputs PDFs. They also highlight the library's functionality, including the addition of conditional logic and looping in templates. The post provides code snippets and a personal take on the advantages of using officeParser over commercial options like Adobe's Document Generation API.
AUTHOR