Module financial.swiftmtToIso20022

ballerinax/financial.swiftmtToIso20022 Ballerina library

0.9.0
Ballerina SWIFT MT to ISO 20022 Data Mapper Library

Overview

The DataMapper Library is a comprehensive toolkit designed to convert SWIFT MT FIN messages into ISO 20022 XML within Ballerina applications. It simplifies the process of mapping SWIFT MT fields to their corresponding ISO 20022 elements, leveraging predefined records and parsers from the SWIFT MT and ISO 20022 libraries. This enables developers to seamlessly convert financial messages from the flat, text-based SWIFT format into the structured ISO 20022 XML standard, ensuring accurate and efficient data conversion.

Supported Conversions

  • SWIFT MT 1XX Category to ISO 20022
  • SWIFT MT 2XX Category to ISO 20022
  • SWIFT MT 9XX Category to ISO 20022

Usage

Conversion of SWIFT fin message to ISO 20022 Xml Standard

Copy
import ballerina/io;
import ballerinax/financial.swiftmtToIso20022 as mtToMx;

public function main() returns error? {
    string finMessage = string `{1:F01CHASUS33AXXX0000000000}
{2:I900CRESCHZZXXXXN}
{4:
:20:C11126A1378
:21:5482ABC
:25:9-9876543
:32A:090123USD233530,
-}`;
    io:println(mtToMx:toIso20022Xml(finMessage));
}

Import

import ballerinax/financial.swiftmtToIso20022;Copy

Metadata

Released date: 5 days ago

Version: 0.9.0

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.10.1

GraalVM compatible: Yes


Pull count

Total: 1

Current verison: 1


Weekly downloads


Source repository


Keywords

Financial

SWIFT MT

ISO 20022

Conversion


Contributors

Other versions

0.9.0