From eaeaeda714ea6653b5a2bca8c77ab63d606c526b Mon Sep 17 00:00:00 2001 From: Venkatachalam Ganapathy Date: Thu, 1 Aug 2024 10:42:37 +0000 Subject: [PATCH] GITBOOK-935: No subject --- SUMMARY.md | 2 +- .../in-apis-from-bank/update_status_of_disbursements.md | 9 ++++++++- .../{design-specifications => design}/interfaces.md | 0 g2p-bridge/development/design/out-apis-to-bank/README.md | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) rename g2p-bridge/development/{design-specifications => design}/interfaces.md (100%) diff --git a/SUMMARY.md b/SUMMARY.md index 5aae3c59..58a286fd 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -338,7 +338,7 @@ * [Helper Tables](g2p-bridge/development/design/helper-tables/README.md) * [benefit\_program\_configuration](g2p-bridge/development/design-specifications/persistent-objects/benefit\_program.md) * [Config Attributes](g2p-bridge/development/design/config-attributes.md) - * [Interfaces](g2p-bridge/development/design-specifications/interfaces.md) + * [Interfaces](g2p-bridge/development/design/interfaces.md) * [File-based Payment Backend](g2p-bridge/development/file-based-payment-backend.md) * [Tech Guides](g2p-bridge/tech-guides.md) * [📔 User Guides](g2p-bridge/user-guides/README.md) diff --git a/g2p-bridge/development/design/in-apis-from-bank/update_status_of_disbursements.md b/g2p-bridge/development/design/in-apis-from-bank/update_status_of_disbursements.md index b132c459..373f9f21 100644 --- a/g2p-bridge/development/design/in-apis-from-bank/update_status_of_disbursements.md +++ b/g2p-bridge/development/design/in-apis-from-bank/update_status_of_disbursements.md @@ -67,6 +67,9 @@ Depending on the physical delivery mechanism, the implementation can create an i 1. sponsor bank account number - Tag :25: of MT940 - Header Section E.g. - :25:032000136465 + + Validate the Bank Account - against "benefit\_program\_configuration". This account number should exist\ + If the account number does not exist, mark the MT940 Statement as "ERROR" - No further processing 2. reference\_number - Tag :20: of MT940 - Header Section E.g. - :20:CSCT032000136465 @@ -103,6 +106,10 @@ Depending on the physical delivery mechanism, the implementation can create an i 2. I get a "D" transaction, but the "disbursement\_id" is already present in the table - disbursement\_recon\_from\_bank - DUPLICATE\_DISBURSEMENT 3. I get a "RD" transaction, but the "disbursement\_id" is not present in the table - disbursement\_recon\_from\_bank - INVALID\_REVERSAL -### disbursement\_recon\_from\_bank +### disbursement\_recon
AttributeDescription
bank_disbursement_batch_id
disbursement_idUnique Index
recon_statement_idThis is the Unique ID that is given to each MT940 that is uploaded into the platform
recon_statement_numberThis is the Statement Number that is found in the MT940 header - field 28C
recon_statement_sequence
recon_entry_sequenceThis is the sequence number of the entry in this statement - the entry that corresponds to this disbursement. This entry will be reflected as a "Debit" in the Program Account with the Sponsor Bank.
bank_reference_numberBank's unique reference number for the transaction. Every disbursement will have a unique reference assigned by the bank.
reversal_found
reversal_statement_id
reversal_statement_number
reversal_statement_sequence
reversal_entry_sequence
reversal_reasonAs found in MT940 statement. This reason may be found in any of the six lines of Narrative.
Implementation will differ across sponsor banks
Will depdend on an Bank specific adapter implementation to extract the "reversal_reason" from the Narratives
+ +### disbursement\_recon\_error + +
AttributeDescription
bank_disbursement_batch_id
recon_statement_idThis is the Unique ID that is given to each MT940 that is uploaded into the platform
recon_statement_numberThis is the Statement Number that is found in the MT940 header - field 28C
recon_statement_sequence
recon_entry_sequenceThis is the sequence number of the entry in this statement - the entry that corresponds to this disbursement. This entry will be reflected as a "Debit" in the Program Account with the Sponsor Bank.
bank_reference_numberBank's unique reference number for the transaction. Every disbursement will have a unique reference assigned by the bank.
disbursement_id
error_reasonINVALID_DISBURSEMENT
DUPLICATE_DISBURSEMENT
INVALID_REVERSAL
diff --git a/g2p-bridge/development/design-specifications/interfaces.md b/g2p-bridge/development/design/interfaces.md similarity index 100% rename from g2p-bridge/development/design-specifications/interfaces.md rename to g2p-bridge/development/design/interfaces.md diff --git a/g2p-bridge/development/design/out-apis-to-bank/README.md b/g2p-bridge/development/design/out-apis-to-bank/README.md index 441bf7d3..903a0f21 100644 --- a/g2p-bridge/development/design/out-apis-to-bank/README.md +++ b/g2p-bridge/development/design/out-apis-to-bank/README.md @@ -5,5 +5,5 @@ All Outward APIs towards Sponsor Banks 1. will be implemented using an Abstraction Layer of Interfaces - to facilitate integration with sponsor banks using Adaptors & Connectors. 2. will be triggered by Batch jobs -The detailed interface with adaptor and connector - design can be found in the [Interfaces](../../design-specifications/interfaces.md) section +The detailed interface with adaptor and connector - design can be found in the [Interfaces](../interfaces.md) section