QRNBU (NBU payment QR v0.1.0)

Summary

Types

Amount

Currency

IBAN 'like UA303348510000026206114040874'

Purpose

Recipient

t()

NBU QR

Tax ID or ID Card Number

NBU QR Version

Types

@type amount() :: Decimal.t() | nil

Amount

@type currency() :: String.t() | nil

Currency

@type iban() :: String.t()

IBAN 'like UA303348510000026206114040874'

@type purpose() :: String.t() | nil

Purpose

@type recipient() :: String.t()

Recipient

@type t() :: %QRNBU{
  amount: amount(),
  currency: currency(),
  iban: iban(),
  purpose: purpose(),
  recipient: recipient(),
  tax_id: tax_id(),
  version: version()
}

NBU QR

@type tax_id() :: String.t() | nil

Tax ID or ID Card Number

@type version() :: pos_integer()

NBU QR Version

Functions

@spec base_url() :: URI.t()
Link to this function

to_string(data)

@spec to_string(t()) :: <<_::64, _::_*8>>
@spec to_uri(t()) :: URI.t()