question

Shalabh Jain Egregore avatar image
Shalabh Jain Egregore asked ·

IN-PROGRESS event status during amend an Import Letter of Credit

So we are trying to amend an Import Letter of Credit, but the eventStatus is always coming as IN-PROGRESS instead of COMPLETED. the issuance API is working fine though. We are using the dummy data that was provided in the sample Postman collection.

Issuance Request

curl --location --request POST 'https://api.fusionfabric.cloud/corporate/trade-finance/import-letter-of-credit/v1/import-letter-of-credit/issuances' \
--header 'Content-Type: application/json' \
--header 'Authorization: <masked token>' \
--header 'Cookie: <masked cookie>' \
--data-raw '{
    "inputBranch": "NYNY",
    "behalfOfBranch": "NYNY",
    "senderReference": "ABC001",
    "actionItems": [
        {
            "messageData": "Finance details have been arranged for this transaction. Contact the Finance department with reference 123456789 for further information",
            "messageDescription": "Input action required",
            "messageInfo": "Document cross-check done by J.D. ",
            "messageNumber": "1",
            "actioned": true
        }
    ],
    "narrative": {
        "goodsDescription": "Some goods descriptions",
        "documentsRequired": "All required documents",
        "additionalConditions": "Few additional conditions",
        "specialPaymentConditionsForBeneficiary": "Special Payment Conditions for Beneficiary",
        "specialPaymentConditionsForReceivingBank": "Special Payment Conditions for Receiving Bank"
    },
    "adviseDirect": false,
    "adviseThruBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "adviseThruBankAccount": "123456789",
    "advisingBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "amount": {
        "amount": "100000.00",
        "currency": "USD",
        "tolerance": "OTHER",
        "minAmountTolerance": "100",
        "maxAmountTolerance": "1000"
    },
    "applicableRule": {
        "id": "OTHER",
        "narrative": "Applicable rules narrative"
    },
    "applicant": {
        "customerId": "ABC",
        "nameAndAddress": {
            "name": "ABC INDUSTRIES LTD.",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A002",
        "contactName": "ABC Industries",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "applicantInstruction": "Applicant Instruction",
    "applicationDate": "2011-05-17",
    "beneficiary": {
        "customerId": "AMALGA",
        "nameAndAddress": {
            "name": "Amalgamated Mouldings Limited",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A001",
        "contactName": "Amalgamated Mouldings Limited",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "beneficiaryAccountNumber": "123456789",
    "chargeDetail": {
        "issuanceChargesPayableBy": "APPLICANT",
        "taxPayableBy": "CHARGE-PAYER",
        "overseasChargesPayableBy": "BENEFICIARY",
        "narrative": "Charge detail narrative",
        "preferredCurrency": "USD",
        "accountNumber": "123456789",
        "deferCharges": true
    },
    "confirmationDetail": {
        "instruction": "UNCONFIRMED",
        "chargesPayableBy": "APPLICANT",
        "requestedConfirmationPartyRole": "OTHER",
        "requestedConfirmationParty": {
            "customerId": "ABC",
        "nameAndAddress": {
            "name": "ABC INDUSTRIES LTD.",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A002",
        "contactName": "ABC Industries",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
        }
    },
    "domesticExpiry": false,
    "expiryDate": "2011-05-20",
    "expiryPlace": "New York",
    "instructionsToAdvisingBank": "Instructions to advising bank",
    "instructionsToPayingBank": "Instructions to paying bank",
    "issueBy": "MAIL",
    "issueDate": "2011-05-17",
    "active": true,
    "paymentDetail": {
        "creditAvailableBy": "ACCEPTANCE",
        "tenor": {
            "maturityDate": "2011-05-20",
            "period": "3D",
            "fromAfter": "FROM-EXCLUDE-START-DATE",
            "start": "ARRIVAL-OF-GOODS",
            "narrative": "Tenor narrative"
        },
        "mixedPayDetail": {
            "line1": "Mixed Pay Detail L1",
            "line2": "Mixed Pay Detail L2",
            "line3": "Mixed Pay Detail L3",
            "line4": "Mixed Pay Detail L4"
        },
        "draftsDrawnOn": "NAMED-BANK",
        "draftsDrawnOnBank": {
        "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "creditAvailableWith": "NAMED-BANK",
        "creditAvailablewithBank": {
        "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "invoicePercent": 10,
        "draftsDrawnByRole": "NAMED-BENEFICIARY",
        "draftsDrawnBy": {
            "customerId": "AMALGA",
        "nameAndAddress": {
            "name": "Amalgamated Mouldings Limited",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A001",
        "contactName": "Amalgamated Mouldings Limited",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
        }
    },
    "revolvingDetail": {
        "revolving": false,
        "cumulative": true,
        "period": "3D",
        "revolutions": 3,
        "nextDate": "2011-05-20",
        "noticeDays": 2,
        "chargeToPeriod": "EXPIRY"
    },
    "shipmentDetail": {
        "from": "Port A",
        "to": "Port B",
        "portOfLoading": "Port of Loading",
        "portOfDischarge": "Port of Discharge",
        "date": "2011-05-20",
        "transhipment": "NOT-ALLOWED",
        "partialShipment": "NOT-ALLOWED",
        "incoTerms": "CFR",
        "incoPlace": "London",
        "insuranceForBuyer": false,
        "freightPayment": "COLLECT",
        "presentationDays": 10,
        "presentationPeriodNarrative": {
            "line1": "Narrative Line1",
            "line2": "Narrative Line2",
            "line3": "Narrative Line3",
            "line4": "Narrative Line4"
        },
        "documentsToBeSentBy": "AIR-MAIL",
        "numberOfDeliveryItems": 2
    },
    "standby": false,
    "transferable": false
}'

Response

{
    "id": "MBWW-33739-70268",
    "masterId": "33739",
    "owningTransactionBankReference": "ILC/MBW/11/3243",
    "owningTransactionBankEventReference": "ISS001",
    "masterStatus": "ACTIVE",
    "eventStatus": "COMPLETED",
    "inputBranch": "NYNY",
    "behalfOfBranch": "NYNY",
    "actionItems": [
        {
            "messageData": "123456789",
            "messageDescription": "Charge account",
            "messageInfo": "Invalid charge account",
            "messageNumber": "700",
            "actioned": false
        },
        {
            "messageData": "Finance details have been arranged for this transaction. Contact the Finance department with reference 123456789 for further information",
            "messageDescription": "Input action required",
            "messageInfo": "Document cross-check done by J.D.",
            "messageNumber": "1",
            "actioned": true
        }
    ],
    "senderReference": "ABC001",
    "narrative": {
        "goodsDescription": "Some goods descriptions",
        "documentsRequired": "All required documents",
        "additionalConditions": "Few additional conditions",
        "specialPaymentConditionsForBeneficiary": "Special Payment Conditions for Beneficiary",
        "specialPaymentConditionsForReceivingBank": "Special Payment Conditions for Receiving Bank"
    },
    "adviseDirect": false,
    "adviseThruBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "swiftAddress": "CHASUS33XXX",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "advisingBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "swiftAddress": "CHASUS33XXX",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "amount": {
        "amount": "100,000.00",
        "currency": "USD",
        "tolerance": "MIN-OR-MAX",
        "minAmountTolerance": "100.00",
        "maxAmountTolerance": "1,000.00"
    },
    "applicableRule": {
        "id": "OTHER",
        "narrative": "Applicable rules narrative"
    },
    "applicant": {
        "customerId": "ABC",
        "nameAndAddress": {
            "name": "ABC INDUSTRIES LTD.",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A002",
        "contactName": "ABC Industries",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "applicantBank": {},
    "applicantInstruction": "Applicant Instruction",
    "applicationDate": "2011-05-17",
    "beneficiary": {
        "customerId": "AMALGA",
        "nameAndAddress": {
            "name": "Amalgamated Mouldings Limited",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "swiftAddress": "ALKHBH21001",
        "reference": "A001",
        "contactName": "Amalgamated Mouldings Limited",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "beneficiaryAccountNumber": "123456789",
    "chargeDetail": {
        "issuanceChargesPayableBy": "APPLICANT",
        "taxPayableBy": "CHARGE-PAYER",
        "overseasChargesPayableBy": "BENEFICIARY",
        "narrative": "Charge detail narrative",
        "preferredCurrency": "USD",
        "deferCharges": true
    },
    "confirmationDetail": {
        "instruction": "UNCONFIRMED",
        "requestedConfirmationParty": {
            "reference": "A002"
        }
    },
    "domesticExpiry": false,
    "expiryDate": "2011-05-20",
    "expiryPlace": "New York",
    "instructionsToAdvisingBank": "Instructions to advising bank",
    "instructionsToPayingBank": "Instructions to paying bank",
    "issueBy": "MAIL",
    "issueDate": "2011-05-17",
    "active": true,
    "paymentDetail": {
        "creditAvailableBy": "ACCEPTANCE",
        "tenor": {
            "maturityDate": "2011-05-20",
            "period": "0D",
            "fromAfter": "FROM-EXCLUDE-START-DATE",
            "start": "SIGHT"
        },
        "draftsDrawnOn": "NAMED-BANK",
        "draftsDrawnOnBank": {
            "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "creditAvailableWith": "NAMED-BANK",
        "creditAvailablewithBank": {
            "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "invoicePercent": 10.0,
        "draftsDrawnByRole": "NAMED-BENEFICIARY"
    },
    "reimbursingBank": {},
    "revolvingDetail": {
        "revolving": false,
        "cumulative": false,
        "period": "0M",
        "revolutions": 0,
        "noticeDays": 0,
        "chargeToPeriod": "FIRST-PERIOD"
    },
    "shipmentDetail": {
        "from": "Port A",
        "to": "Port B",
        "portOfLoading": "Port of Loading",
        "portOfDischarge": "Port of Discharge",
        "date": "2011-05-20",
        "transhipment": "NOT-ALLOWED",
        "partialShipment": "NOT-ALLOWED",
        "incoTerms": "CFR",
        "incoPlace": "London",
        "insuranceForBuyer": false,
        "freightPayment": "COLLECT",
        "presentationDays": 10,
        "presentationPeriodNarrative": {
            "line1": "Narrative Line1",
            "line2": "Narrative Line2",
            "line3": "Narrative Line3",
            "line4": "Narrative Line4"
        },
        "numberOfDeliveryItems": 2
    },
    "standby": false,
    "transferable": false
}


Amend an Import Letter of Credit Request


curl --location --request POST 'https://api.fusionfabric.cloud/corporate/trade-finance/import-letter-of-credit/v1/import-letter-of-credit/amendments' \
--header 'Content-Type: application/json' \
--header 'Authorization: <masked token>' \
--header 'Cookie: <masked cookie>' \
--data-raw '{
    "inputBranch": "NYNY",
    "behalfOfBranch": "NYNY",
    "senderReference": "ABC001",
    "attachments": [
        {
            "docId": "906af04f3c6ef123:-246bc7cd:16daaceb637:5099",
            "dmsId": "INTERNAL",
            "docType": "BOL",
            "description": "Bill of Lading for ILC001",
            "isBankDocInternal": true,
            "batchId": "3134"
        }
    ],
    "actionItems": [
        {
            "messageData": "Finance details have been arranged for this transaction. Contact the Finance department with reference 123456789 for further information",
            "messageDescription": "Input action required",
            "messageInfo": "Document cross-check done by J.D. ",
            "messageNumber": "1",
            "actioned": true
        }
    ],
    "narrative": {
        "goodsDescription": "Some goods descriptions",
        "documentsRequired": "All required documents",
        "additionalConditions": "Few additional conditions",
        "specialPaymentConditionsForBeneficiary": "Special Payment Conditions for Beneficiary",
        "specialPaymentConditionsForReceivingBank": "Special Payment Conditions for Receiving Bank"
    },
    "adviseDirect": false,
    "adviseThruBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
        "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "adviseThruBankAccount": "123456789",
    "advisingBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
        "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "amount": {
        "amount": "100000.00",
        "currency": "USD",
        "tolerance": "OTHER",
        "minAmountTolerance": "100",
        "maxAmountTolerance": "1000"
    },
    "applicableRule": {
        "id": "OTHER",
        "narrative": "Applicable rules narrative"
    },
    "applicant": {
        "customerId": "ABC",
        "nameAndAddress": {
            "name": "ABC INDUSTRIES LTD.",
            "addressLine1": "AddressLine1",
        "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A002",
        "contactName": "ABC Industries",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "applicantInstruction": "Applicant Instruction",
    "applicationDate": "2011-05-17",
    "beneficiary": {
        "customerId": "AMALGA",
        "nameAndAddress": {
            "name": "Amalgamated Mouldings Limited",
            "addressLine1": "AddressLine1",
        "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A001",
        "contactName": "Amalgamated Mouldings Limited",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "beneficiaryAccountNumber": "123456789",
    "chargeDetail": {
        "issuanceChargesPayableBy": "APPLICANT",
        "taxPayableBy": "CHARGE-PAYER",
        "overseasChargesPayableBy": "BENEFICIARY",
        "narrative": "Charge detail narrative",
        "preferredCurrency": "USD",
        "accountNumber": "123456789",
        "deferCharges": true
    },
    "confirmationDetail": {
        "instruction": "UNCONFIRMED",
        "chargesPayableBy": "APPLICANT",
        "requestedConfirmationPartyRole": "OTHER",
        "requestedConfirmationParty": {
            "customerId": "ABC",
        "nameAndAddress": {
            "name": "ABC INDUSTRIES LTD.",
            "addressLine1": "AddressLine1",
        "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A002",
        "contactName": "ABC Industries",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
        }
    },
    "domesticExpiry": false,
    "expiryDate": "2011-05-20",
    "expiryPlace": "New York",
    "instructionsToAdvisingBank": "Instructions to advising bank",
    "instructionsToPayingBank": "Instructions to paying bank",
    "issueBy": "MAIL",
    "issueDate": "2011-05-17",
    "active": true,
    "paymentDetail": {
        "creditAvailableBy": "ACCEPTANCE",
        "tenor": {
            "maturityDate": "2011-05-20",
            "period": "3D",
            "fromAfter": "FROM-EXCLUDE-START-DATE",
            "start": "ARRIVAL-OF-GOODS",
            "narrative": "Tenor narrative"
        },
        "mixedPayDetail": {
            "line1": "Mixed Pay Detail L1",
            "line2": "Mixed Pay Detail L2",
            "line3": "Mixed Pay Detail L3",
            "line4": "Mixed Pay Detail L4"
        },
        "draftsDrawnOn": "NAMED-BANK",
        "draftsDrawnOnBank": {
        "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "creditAvailableWith": "NAMED-BANK",
        "creditAvailablewithBank": {
        "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "invoicePercent": 10,
        "draftsDrawnByRole": "NAMED-BENEFICIARY",
        "draftsDrawnBy": {
            "customerId": "AMALGA",
        "nameAndAddress": {
            "name": "Amalgamated Mouldings Limited",
            "addressLine1": "AddressLine1",
        "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A001",
        "contactName": "Amalgamated Mouldings Limited",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
        }
    },
    "revolvingDetail": {
        "revolving": false,
        "cumulative": true,
        "period": "3D",
        "revolutions": 3,
        "nextDate": "2011-05-20",
        "noticeDays": 2,
        "chargeToPeriod": "EXPIRY"
    },
    "shipmentDetail": {
        "from": "Port A",
        "to": "Port B",
        "portOfLoading": "Port of Loading",
        "portOfDischarge": "Port of Discharge",
        "date": "2011-05-20",
        "transhipment": "NOT-ALLOWED",
        "partialShipment": "NOT-ALLOWED",
        "incoTerms": "CFR",
        "incoPlace": "London",
        "insuranceForBuyer": false,
        "freightPayment": "COLLECT",
        "presentationDays": 10,
        "presentationPeriodNarrative": {
            "line1": "Narrative Line1",
            "line2": "Narrative Line2",
            "line3": "Narrative Line3",
            "line4": "Narrative Line4"
        },
        "documentsToBeSentBy": "AIR-MAIL",
        "numberOfDeliveryItems": 2
    },
    "standby": false,
    "transferable": false,
    "amendDate": "2019-01-13",
    "owningTransactionBankReference": "ILC/MBW/11/3242",
    "amendmentNarrative": "The following details of the letter of credit has been amended...",
    "amendmentNumber": 1,
    "beneApprovalRequired": false,
    "amendmentChargesPayableBy": "APPLICANT"
}'


Response

{
    "id": "MBWW-33736-70266",
    "masterStatus": "ACTIVE",
    "owningTransactionBankEventReference": "AMD001",
    "eventStatus": "IN-PROGRESS",
    "inputBranch": "NYNY",
    "behalfOfBranch": "NYNY",
    "attachments": [
        {
            "docId": "906af04f3c6ef123:-246bc7cd:16daaceb637:5099",
            "dmsId": "INTERNAL",
            "docType": "BOL",
            "description": "Bill of Lading for ILC001",
            "isBankDocInternal": true,
            "batchId": "3134"
        }
    ],
    "actionItems": [
        {
            "messageData": "123456789",
            "messageDescription": "Charge account",
            "messageInfo": "Invalid charge account",
            "messageNumber": "700",
            "actioned": false
        },
        {
            "messageData": "Finance details have been arranged for this transaction. Contact the Finance department with reference 123456789 for further information",
            "messageDescription": "Input action required",
            "messageInfo": "Document cross-check done by J.D.",
            "messageNumber": "1",
            "actioned": true
        }
    ],
    "senderReference": "A002",
    "narrative": {
        "goodsDescription": "Some goods descriptions",
        "documentsRequired": "All required documents",
        "additionalConditions": "Few additional conditions",
        "specialPaymentConditionsForBeneficiary": "Special Payment Conditions for Beneficiary",
        "specialPaymentConditionsForReceivingBank": "Special Payment Conditions for Receiving Bank"
    },
    "adviseDirect": false,
    "adviseThruBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "swiftAddress": "ALKHBH21001",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "advisingBank": {
        "customerId": "CHASE",
        "nameAndAddress": {
            "name": "CHASE MANHATTAN BANK (NY)",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "US",
        "postalCode": "1234",
        "swiftAddress": "CHASUS33XXX",
        "reference": "C001",
        "contactName": "Chase Manhattan Bank (NY)",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "amount": {
        "amount": "100,000.00",
        "currency": "USD",
        "tolerance": "MIN-OR-MAX",
        "minAmountTolerance": "100.00",
        "maxAmountTolerance": "1,000.00"
    },
    "applicableRule": {
        "id": "OTHER",
        "narrative": "Applicable rules narrative"
    },
    "applicant": {
        "customerId": "ABC",
        "nameAndAddress": {
            "name": "ABC INDUSTRIES LTD.",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "reference": "A002",
        "contactName": "ABC Industries",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "applicantBank": {},
    "applicantInstruction": "Applicant Instruction",
    "applicationDate": "2011-05-17",
    "beneficiary": {
        "customerId": "AMALGA",
        "nameAndAddress": {
            "name": "Amalgamated Mouldings Limited",
            "addressLine1": "AddressLine1",
            "addressLine2": "AddressLine2",
            "addressLine3": "AddressLine3"
        },
        "country": "GB",
        "postalCode": "1234",
        "swiftAddress": "ALKHBH21001",
        "reference": "A001",
        "contactName": "Amalgamated Mouldings Limited",
        "contactNumbers": [
            {
                "type": "TELEPHONE",
                "number": "123456789"
            }
        ],
        "telexDetails": {
            "number": "123456789",
            "answerBack": "12345678"
        },
        "email": "email@email.com"
    },
    "beneficiaryAccountNumber": "123456789",
    "chargeDetail": {
        "issuanceChargesPayableBy": "APPLICANT",
        "taxPayableBy": "CHARGE-PAYER",
        "overseasChargesPayableBy": "BENEFICIARY",
        "narrative": "Charge detail narrative",
        "preferredCurrency": "USD",
        "deferCharges": true
    },
    "confirmationDetail": {
        "instruction": "UNCONFIRMED",
        "requestedConfirmationParty": {
            "customerId": "ABC",
            "nameAndAddress": {
                "name": "ABC INDUSTRIES LTD.",
                "addressLine1": "AddressLine1",
                "addressLine2": "AddressLine2",
                "addressLine3": "AddressLine3"
            },
            "country": "GB",
            "postalCode": "1234",
            "reference": "A002",
            "contactName": "ABC Industries",
            "contactNumbers": [
                {
                    "type": "TELEPHONE",
                    "number": "123456789"
                }
            ],
            "telexDetails": {
                "number": "123456789",
                "answerBack": "12345678"
            },
            "email": "email@email.com"
        }
    },
    "domesticExpiry": false,
    "expiryDate": "2011-05-20",
    "instructionsToPayingBank": "Instructions to paying bank",
    "issueBy": "MAIL",
    "issueDate": "2011-05-17",
    "active": true,
    "paymentDetail": {
        "creditAvailableBy": "ACCEPTANCE",
        "tenor": {
            "maturityDate": "2011-05-20",
            "period": "0D",
            "fromAfter": "FROM-EXCLUDE-START-DATE",
            "start": "SIGHT"
        },
        "draftsDrawnOn": "NAMED-BANK",
        "draftsDrawnOnBank": {
            "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "creditAvailableWith": "NAMED-BANK",
        "creditAvailablewithBank": {
            "name": "Bank of East Arendale",
            "addressLine1": "Privet Drive",
            "addressLine2": "Linkoping",
            "addressLine3": "SE"
        },
        "invoicePercent": 10.0,
        "draftsDrawnByRole": "NAMED-BENEFICIARY"
    },
    "revolvingDetail": {
        "revolving": false,
        "cumulative": false,
        "period": "0M",
        "revolutions": 0,
        "noticeDays": 0,
        "chargeToPeriod": "FIRST-PERIOD"
    },
    "shipmentDetail": {
        "from": "Port A",
        "to": "Port B",
        "portOfLoading": "Port of Loading",
        "portOfDischarge": "Port of Discharge",
        "date": "2011-05-20",
        "period": " ",
        "transhipment": "NOT-ALLOWED",
        "partialShipment": "NOT-ALLOWED",
        "incoTerms": "CFR",
        "incoPlace": "London",
        "insuranceForBuyer": false,
        "freightPayment": "COLLECT",
        "presentationDays": 10,
        "presentationPeriodNarrative": {
            "line1": "Narrative Line1",
            "line2": "Narrative Line2",
            "line3": "Narrative Line3",
            "line4": "Narrative Line4"
        },
        "numberOfDeliveryItems": 2
    },
    "standby": false,
    "transferable": false,
    "owningTransactionBankReference": "ILC/MBW/11/3242",
    "masterId": "33736",
    "amendDate": "2019-01-13",
    "amendmentNarrative": "The following details of the letter of credit has been amended...",
    "amendmentNumber": 1,
    "beneApprovalRequired": false,
    "amendmentChargesPayableBy": "APPLICANT",
    "amendmentChargeOtherText": "Charge detail narrative"
}


apiAPI - Corporate Banking
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Fu Annie avatar image
Fu Annie answered ·

Hello Shalabh,


The event status could be In-progress, completed or aborted. It really depends on which stage of the process the transaction is in. The bank officers have to do some scrutiny and approvals first before the transaction is completed


I think the confusion might’ve stemmed from the initial event (Issue event under Import letter of credit) being Completed almost instantly upon API request. In a real scenario, this will not be the case because the bank personnel will check the details first and it’ll undergo several approvals. It isn’t completed instantaneously. The initial events in the PROD environment are configured to be autocompleted because these have to be completed first in order for the succeeding events (such as Amend, Claim Received, and others) to be created.


You see, when you send an ILC Amend transaction and the Issue event has not been completed yet – TI Plus will return an error – making the postman test not work as intended. That’s why we are autocompleting Issuance events just so that we can initiate an Amend event.

Because of this special scenario, since this is just for the intention of testing, we’ve also made exceptions for the following transactions with the input branch = LOND.

So, please change in the json input, and this should make the transactions autocomplete for Issue, Amend, Claim Received and Outstanding Claim.


"inputBranch": "LOND",


We has a sequential list of events for ILC:

1) Issue (Initial event)

2) Amend

3) Claim received

4) Outstanding Claim


Issue an ILC,

1614933069401.png


Amend an ILC,

1614933156708.png


Best Regards,

Annie Fu


1614933069401.png (65.8 KiB)
1614933156708.png (109.3 KiB)
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.