Skip to main content

Module render

Module render 

Source

Structs§

BankBlock
ClientData
InvoiceData
InvoiceMeta
IssuerData
ItemData
QrData
TaxLine
TotalsData

Functions§

build_data
build_data_with_qr
Convenience: build invoice data and attach a QR from qr_data if present.
default_invoice_dir
Default directory for rendered invoice PDFs when the issuer has no default_output_dir set 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