SwissQrBill.QrCodeData (swiss_qr_bill v0.1.3)

Copy Markdown View Source

Assembles the QR code data payload per the SIX Swiss QR bill specification. The payload is a newline-separated string of fields in a strict order.

Summary

Functions

Encodes a QR bill struct into the QR code data payload string.

Functions

encode(bill)

@spec encode(map()) :: String.t()

Encodes a QR bill struct into the QR code data payload string.