Monday, 17 April 2023

Rest API URL to Create Cash Receipt (Standard) -Fusion

 

Rest API URL to Create Cash Receipt (Standard)

 

Rest API : /fscmRestApi/resources/11.13.18.05/standardReceipts

Complete URL : https://<<Instance>>/fscmRestApi/resources/11.13.18.05/standardReceipts

 Method : POST

Request Payload  (Receipt Number: 20003)

{

    "ReceiptNumber":"20003",

    "ReceiptMethod":"TEST_01",

    "BusinessUnit":"JCPL-DEH-BU",

    "Amount":451.2343,

    "Currency":"INR",

    "RemittanceBankAccountNumber":"1234TDS",

"CustomerAccountNumber":"EGAU138",

"remittanceReferences":

    [

        {

            "ReceiptMatchBy":"Transaction Number",

            "ReferenceNumber":"46001",

            "ReferenceAmount":"300"

        }

    ]

}


Response Payload

{

    "StandardReceiptId": 300000495659324,

    "ReceiptNumber": "20003",

    "BusinessUnit": "JCPL-DEH-BU",

    "ReceiptMethod": "TEST_01",

    "ReceiptDate": "2022-04-04",

    "DocumentNumber": 1005,

    "Amount": 451.23,

    "Currency": "INR",

    "ConversionRateType": null,

    "ConversionDate": null,

    "ConversionRate": null,

    "State": null,

    "Status": null,

    "RemittanceBankName": null,

    "RemittanceBankBranch": null,

    "RemittanceBankAccountNumber": "1234TDS",

    "RemittanceBankDepositDate": "2022-04-04",

    "RemittanceBankAllowOverride": "N",

    "CustomerName": null,

    "TaxpayerIdentificationNumber": null,

    "CustomerSite": null,

    "CustomerAccountNumber": "EGAU138",

    "CustomerBank": null,

    "CustomerBankBranch": null,

    "CustomerBankAccountNumber": null,

    "UnappliedAmount": null,

    "AccountedAmount": null,

    "AccountingDate": "2022-04-04",

    "MaturityDate": "2022-04-04",

    "PostmarkDate": null,

    "ReceiptAtRisk": null,

    "ReceivablesSpecialist": null,

    "Comments": null,

    "CreditCardTokenNumber": null,

    "CreditCardAuthorizationRequestIdentifier": null,

    "CardHolderFirstName": null,

    "CardHolderLastName": null,

    "CreditCardIssuerCode": null,

    "CreditCardExpirationDate": null,

    "VoiceAuthorizationCode": null,

    "ReversalCategory": null,

    "ReversalReason": null,

    "ReversalDate": null,

    "ReversalComments": null,

    "ReceiptBatchName": null,

    "ReceiptBatchDate": null,

    "StructuredPaymentReference": null,

    "CreatedBy": "aashish.bachlash",

    "CreationDate": "2022-04-04T06:48:53.001+00:00",

    "LastUpdateDate": "2022-04-04T06:48:54.489+00:00",

    "LastUpdatedBy": "aashish.bachlash",

    "remittanceReferences": [

        {

            "RemittanceReferenceId": 300000495659325,

            "ReceiptMatchBy": "Transaction Number",

            "ReferenceNumber": "46001",

            "ReferenceAmount": 300,

            "CreatedBy": "aashish.bachlash",

            "CreationDate": "2022-04-04T06:48:54.225+00:00",

            "LastUpdatedBy": "aashish.bachlash",

            "LastUpdateDate": "2022-04-04T06:48:54.503+00:00",

            "CustomerReason": null,

            "CustomerReference": null,

            "links": [

                {

                    "rel": "self",

                    "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/child/remittanceReferences/300000495659325",

                    "name": "remittanceReferences",

                    "kind": "item",

                    "properties": {

                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"

                    }

                },

                {

                    "rel": "canonical",

                    "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/child/remittanceReferences/300000495659325",

                    "name": "remittanceReferences",

                    "kind": "item"

                },

                {

                    "rel": "parent",

                    "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324",

                    "name": "standardReceipts",

                    "kind": "item"

                }

            ]

        }

    ],

    "links": [

        {

            "rel": "self",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324",

            "name": "standardReceipts",

            "kind": "item",

            "properties": {

                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"

            }

        },

        {

            "rel": "canonical",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324",

            "name": "standardReceipts",

            "kind": "item"

        },

        {

            "rel": "lov",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/lov/businessUnits",

            "name": "businessUnits",

            "kind": "collection"

        },

        {

            "rel": "lov",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/lov/customerAccounts",

            "name": "customerAccounts",

            "kind": "collection"

        },

        {

            "rel": "lov",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/lov/customerSiteUses",

            "name": "customerSiteUses",

            "kind": "collection"

        },

        {

            "rel": "lov",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/lov/conversionRateTypes",

            "name": "conversionRateTypes",

            "kind": "collection"

        },

        {

            "rel": "lov",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/lov/receiptMethods",

            "name": "receiptMethods",

            "kind": "collection"

        },

        {

            "rel": "child",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/child/attachments",

            "name": "attachments",

            "kind": "collection"

        },

        {

            "rel": "child",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/child/remittanceReferences",

            "name": "remittanceReferences",

            "kind": "collection"

        },

        {

            "rel": "child",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/child/standardReceiptDFF",

            "name": "standardReceiptDFF",

            "kind": "collection"

        },

        {

            "rel": "child",

            "href": "https://emiv-test.fa.em3.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/standardReceipts/300000495659324/child/standardReceiptGdf",

            "name": "standardReceiptGdf",

            "kind": "collection"

        }

    ]

}

Loaded Receipt


Loaded Remittance Detail to the Receipt


No comments: