From 191f74e6a7a92e612ce6d7885a12dca3ce0a1db0 Mon Sep 17 00:00:00 2001 From: Ajai-Suvendran Date: Sat, 23 Nov 2024 01:21:18 +0530 Subject: [PATCH] Update SWIFT MT records --- swiftmt/111_request_to_stop_cheque_payment.bal | 4 +--- swiftmt/112_status_of_stop_cheque_payment_request.bal | 4 +--- swiftmt/205_financial_institution_transfer_execution.bal | 8 -------- swiftmt/210_notice_to_receive.bal | 2 +- swiftmt/920_request_message.bal | 2 +- swiftmt/941_balance_report.bal | 2 +- swiftmt/950_statement_message.bal | 4 ++-- swiftmt/970_netting_statement.bal | 4 ++-- swiftmt/972_netting_interim_statement.bal | 4 ++-- swiftmt/common_records.bal | 6 +++--- swiftmt/n95_queries.bal | 4 ++-- swiftmt/n96_answers.bal | 4 ++-- 12 files changed, 18 insertions(+), 30 deletions(-) diff --git a/swiftmt/111_request_to_stop_cheque_payment.bal b/swiftmt/111_request_to_stop_cheque_payment.bal index 021eace..66ceac6 100644 --- a/swiftmt/111_request_to_stop_cheque_payment.bal +++ b/swiftmt/111_request_to_stop_cheque_payment.bal @@ -24,8 +24,7 @@ # + MT52A - Drawer Bank (Option A) # + MT52B - Drawer Bank (Option B) # + MT52D - Drawer Bank (Option D) -# + MT59 - Payee -# + MT59F - Payee (Option F) +# + MT59 - Payee # + MT75 - Queries public type MT111Block4 record {| MT20 MT20; @@ -37,7 +36,6 @@ public type MT111Block4 record {| MT52B MT52B?; MT52D MT52D?; MT59 MT59?; - MT59F MT59F?; MT75 MT75?; |}; diff --git a/swiftmt/112_status_of_stop_cheque_payment_request.bal b/swiftmt/112_status_of_stop_cheque_payment_request.bal index b60c65a..9a63ddb 100644 --- a/swiftmt/112_status_of_stop_cheque_payment_request.bal +++ b/swiftmt/112_status_of_stop_cheque_payment_request.bal @@ -24,8 +24,7 @@ # + MT52A - Drawer Bank (Option A) # + MT52B - Drawer Bank (Option B) # + MT52D - Drawer Bank (Option D) -# + MT59 - Payee -# + MT59F - Payee (Option F) +# + MT59 - Payee # + MT76 - Answers public type MT112Block4 record {| MT20 MT20; @@ -37,7 +36,6 @@ public type MT112Block4 record {| MT52B MT52B?; MT52D MT52D?; MT59 MT59?; - MT59F MT59F?; MT76 MT76; |}; diff --git a/swiftmt/205_financial_institution_transfer_execution.bal b/swiftmt/205_financial_institution_transfer_execution.bal index c7f5e0f..4f23707 100644 --- a/swiftmt/205_financial_institution_transfer_execution.bal +++ b/swiftmt/205_financial_institution_transfer_execution.bal @@ -32,10 +32,6 @@ # + MT57D - Account With Institution (Option D) # + MT58A - Beneficiary Institution (Option A) # + MT58D - Beneficiary Institution (Option D) -# + MT59 - Beneficiary Customer -# + MT59A - Beneficiary Customer (Option A) -# + MT59F - Beneficiary Customer (Option F) -# + MT70 - Remittance Information # + MT72 - Sender to Receiver Information public type MT205Block4 record {| MT20 MT20; @@ -54,10 +50,6 @@ public type MT205Block4 record {| MT57D MT57D?; MT58A MT58A?; MT58D MT58D?; - MT59 MT59?; - MT59A MT59A?; - MT59F MT59F?; - MT70 MT70?; MT72 MT72?; |}; diff --git a/swiftmt/210_notice_to_receive.bal b/swiftmt/210_notice_to_receive.bal index 31ddf8e..ff99a9a 100644 --- a/swiftmt/210_notice_to_receive.bal +++ b/swiftmt/210_notice_to_receive.bal @@ -31,7 +31,7 @@ public type MT210Block4 record {| MT20 MT20; MT25A MT25?; - MT30 MT30?; + MT30 MT30; MT21 MT21; MT32B MT32B; MT50 MT50?; diff --git a/swiftmt/920_request_message.bal b/swiftmt/920_request_message.bal index 6962743..8878cdd 100644 --- a/swiftmt/920_request_message.bal +++ b/swiftmt/920_request_message.bal @@ -24,7 +24,7 @@ public type MT920Block4 record {| MT20 MT20; MT12 MT12; MT25A MT25; - MT34F[] MT34F; + MT34F[] MT34F?; |}; # Defines the structure of an MT920 message. diff --git a/swiftmt/941_balance_report.bal b/swiftmt/941_balance_report.bal index df8ad6e..85ab325 100644 --- a/swiftmt/941_balance_report.bal +++ b/swiftmt/941_balance_report.bal @@ -39,7 +39,7 @@ public type MT941Block4 record {| MT60F MT60F?; MT90D MT90D?; MT90C MT90C?; - MT62F MT62F?; + MT62F MT62F; MT64[] MT64?; MT65[] MT65?; MT86[] MT86?; diff --git a/swiftmt/950_statement_message.bal b/swiftmt/950_statement_message.bal index 96dd5a4..1351711 100644 --- a/swiftmt/950_statement_message.bal +++ b/swiftmt/950_statement_message.bal @@ -29,10 +29,10 @@ public type MT950Block4 record {| MT20 MT20; MT25A MT25; MT28C MT28C; - MT60F MT60F?; + MT60F MT60F; MT60M[] MT60M?; MT61[] MT61?; - MT62F MT62F?; + MT62F MT62F; MT62M[] MT62M?; MT64[] MT64?; |}; diff --git a/swiftmt/970_netting_statement.bal b/swiftmt/970_netting_statement.bal index 53601fb..e96e69f 100644 --- a/swiftmt/970_netting_statement.bal +++ b/swiftmt/970_netting_statement.bal @@ -29,10 +29,10 @@ public type MT970Block4 record {| MT20 MT20; MT25A MT25; MT28C MT28C; - MT60F MT60F?; + MT60F MT60F; MT60M[] MT60M?; MT61[] MT61?; - MT62F MT62F?; + MT62F MT62F; MT62M[] MT62M?; MT64[] MT64?; |}; diff --git a/swiftmt/972_netting_interim_statement.bal b/swiftmt/972_netting_interim_statement.bal index 323fc57..d8918be 100644 --- a/swiftmt/972_netting_interim_statement.bal +++ b/swiftmt/972_netting_interim_statement.bal @@ -29,10 +29,10 @@ public type MT972Block4 record {| MT20 MT20; MT25A MT25; MT28C MT28C; - MT60F MT60F?; + MT60F MT60F; MT60M[] MT60M?; MT61[] MT61?; - MT62F MT62F?; + MT62F MT62F; MT62M[] MT62M?; MT64[] MT64?; |}; diff --git a/swiftmt/common_records.bal b/swiftmt/common_records.bal index 209cf09..7f8eaf0 100644 --- a/swiftmt/common_records.bal +++ b/swiftmt/common_records.bal @@ -112,8 +112,8 @@ public type MT20 record {| # + AdrsLine - The address of the ordering customer public type MT50 record {| string name?; - Nm[] Nm?; - AdrsLine[] AdrsLine?; + Nm[] Nm; + AdrsLine[] AdrsLine; |}; # Defines the reference. @@ -500,7 +500,7 @@ public type CntyNTw record {| public type MT50F record {| string name?; PrtyIdn PrtyIdn; - CdTyp[] CdTyp; + CdTyp[] CdTyp?; Nm[] Nm?; AdrsLine[] AdrsLine?; CntyNTw[] CntyNTw?; diff --git a/swiftmt/n95_queries.bal b/swiftmt/n95_queries.bal index ea2d73d..eb7368a 100644 --- a/swiftmt/n95_queries.bal +++ b/swiftmt/n95_queries.bal @@ -27,10 +27,10 @@ public type MTn95Block4 record {| MT20 MT20; MT21 MT21; - MT11R MT11R?; - MT11S MT11S?; MT75 MT75; MT77A MT77A?; + MT11R MT11R?; + MT11S MT11S?; MT79 MT79?; MessageCopy MessageCopy?; |}; diff --git a/swiftmt/n96_answers.bal b/swiftmt/n96_answers.bal index e6bbe72..6eda5da 100644 --- a/swiftmt/n96_answers.bal +++ b/swiftmt/n96_answers.bal @@ -27,10 +27,10 @@ public type MTn96Block4 record {| MT20 MT20; MT21 MT21; - MT11R MT11R?; - MT11S MT11S?; MT76 MT76; MT77A MT77A?; + MT11R MT11R?; + MT11S MT11S?; MT79 MT79?; MessageCopy MessageCopy?; |};