ISO20022 (ISO20022 v0.1.0)

Copy Markdown View Source

ISO 20022 message parsing for Elixir.

Currently supported message types:

Example

{:ok, doc} = ISO20022.Camt053.parse(xml_string)
[statement | _] = doc.statements
IO.inspect(statement.account.iban)

Summary

Functions

Dispatches parsing to the correct module based on the XML namespace found in the document root. Returns an error tuple for unsupported message types.

Functions

parse(xml)

@spec parse(binary()) :: {:ok, ISO20022.Camt053.Document.t()} | {:error, term()}

Dispatches parsing to the correct module based on the XML namespace found in the document root. Returns an error tuple for unsupported message types.

Currently only camt.053 is supported. More message types will be added in future releases.