Skip to content

Michal-Dudzik/ksef-pdf-generator

 
 

Repository files navigation

KSeF PDF Generator

Download Latest

Command-line tool for generating PDF visualizations of KSeF invoices and UPO documents from XML files.

Disclaimer

This project's versioning is separate from CIRFMF/ksef-pdf-generator. It is kept aligned with upstream changes, but uses its own version numbers because of additional work in this repository.

Overview

  • Generate invoice and UPO PDFs from XML input files.
  • Run as a standalone Windows executable or as a Node.js CLI.
  • Add KSeF metadata, QR codes, text watermarks, simplified invoice output, and optional PDF merge.
  • Control language and number formatting with CLI flags, environment variables, or an optional parameters.ini file.

CLI flags take precedence over parameters.ini and environment variables.

Documentation

Quick Start

Standalone executable

ksef-pdf-generator.exe -i invoice.xml -o invoice.pdf -t invoice

Node.js build

npm install
npm run build
node dist/cli.cjs --input assets/invoice.xml --output invoice.pdf --type invoice

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 93.7%
  • JavaScript 4.2%
  • Batchfile 1.9%
  • Shell 0.2%