This plugin simplifies creating factur-x/ZUGFeRD electronic invoices with Typst.
#import "@preview/invoice-harness:0.1.0": *
#let factur-x = read("factur-x.xml")
#zugferd(factur-x)
To create a valid electronic invoice, be sure to export the PDF document as PDF/A-3b.
This plugin currently only works with the main branch of Typst. The created files are not completely valid ZUGFeRD invoices yet! A missing requirement on Typst's end is typst/typst#5667
The package includes automated tests using tytanic
. Run them with tt run
after following
the package's installation instructions.
For file formatting, use typstyle
.
You can install the package locally with typship install local
.
The ZUGFeRD standard is named close to the German word "Zugpferd", which means "draft horse". This package is the harness to attach a ZUGFeRD to your invoice ;)