ISO 20022 message parsing for Elixir.
Currently supported message types:
ISO20022.Camt053— Bank to Customer Statement (camt.053.001.02 through .014)
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
@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.