Structs§
Functions§
- build_
data - build_
data_ with_ qr - Convenience: build invoice data and attach a QR from
qr_dataif present. - default_
invoice_ dir - Default directory for rendered invoice PDFs when the issuer has no
default_output_dirset and the user didn’t pass--out. Macs:~/Documents/Invoices/; Linux:$XDG_DOCUMENTS_DIR/Invoices/(falls back to~/Documents/Invoices/). - encode_
qr - Encode an arbitrary string (URL, EPC-QR payload, plain text) into a QR module matrix suitable for Typst rendering. Medium error-correction level (Q) — robust while keeping module count low for clean look.
- expand_
tilde - render_
invoice - render_
invoice_ with_ qr