Skip to content

Attach ISDOC to a PDF and convert it to PDF/A-3B standard

License

Notifications You must be signed in to change notification settings

deltazero-cz/isdoc-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isdoc-pdf

Attach ISDOC to a PDF and convert it to PDF/A-3B standard.

ISDOC is a XML based Invoicing Standard of the Czech Republic (EU), simillar to Factur-X and ZUGFeRD.

Requirements

  • Bash-compatible shell
  • Ghostscript 9.27 + or alter

Tested on Ubuntu 20.04 LTS, Debian Buster, macOS Mojave (please add more you know of)

Installation

Clone this repo or download a zip, make sure isdoc-pdf is executable by chmod +x isdoc-pdf.

Don't forget to install Ghostscript (9.27 or later).

Usage

./isdoc-pdf input.pdf input.isdoc [output.isdoc.pdf]

This script will attach your input ISDOC file to the input PDF as an alternative attachment, compress and flatten the PDF and convert it into PDF/A-3B, as stated by the official docs.

You can validate your result's PDF/A-3 compliance using veraPDF demo.

If you want to run this script silently, direct stdout to /dev/null

./isdoc-pdf input.pdf input.isdoc [output.isdoc.pdf] > /dev/nul

Thank yous

This package is based upon code fragments & inspiration from:

About

Attach ISDOC to a PDF and convert it to PDF/A-3B standard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages