Create a standard receipt

post

/fscmRestApi/resources/11.13.18.05/standardReceipts

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to add one or more attachments to a standard receipt.
Show Source
Nested Schema : Remittance References
Type: array
Title: Remittance References
The remittance references resource is used to add one or more remittance references to a standard receipt.
Show Source
Nested Schema : Standard Receipt Descriptive Flexfields
Type: array
Title: Standard Receipt Descriptive Flexfields
The standard receipts DFF resource is used to add one or more descriptive flexfield values to a standard receipt.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "ORA_ZENGIN_CASH_RECEIPTS":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptDff_view_StandardReceiptFLEXORA__5FZENGIN__5FCASH__5FRECEIPTSVO-item-post-request" } }
Nested Schema : Standard Receipt Global Descriptive Flexfields
Type: array
Title: Standard Receipt Global Descriptive Flexfields
The standard receipts GDF resource is used to add one or more global descriptive flexfield values to a standard receipt.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSARCashReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfFVxUSARCashReceiptsVO-item-post-request", "JA_CN_REMIT_BILL_NUM":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJA__5FCN__5FREMIT__5FBILL__5FNUMVO-item-post-request", "JAxJPReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxJPReceiptsVO-item-post-request", "JAxTWReceiptInformation":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxTWReceiptInformationVO-item-post-request", "JExFRReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExFRReceiptsVO-item-post-request", "JExILReceiptInformation":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExILReceiptInformationVO-item-post-request", "JExPTAdditionalInfo":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExPTAdditionalInfoVO-item-post-request", "JLxARReceiptInformation":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxARReceiptInformationVO-item-post-request", "JLxMXReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxMXReceiptsVO-item-post-request" } }
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptDff_view_StandardReceiptFLEXORA__5FZENGIN__5FCASH__5FRECEIPTSVO-item-post-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfFVxUSARCashReceiptsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJA__5FCN__5FREMIT__5FBILL__5FNUMVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxJPReceiptsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxTWReceiptInformationVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExFRReceiptsVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExILReceiptInformationVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExPTAdditionalInfoVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxARReceiptInformationVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxMXReceiptsVO-item-post-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : standardReceipts-item-response
Type: object
Show Source
Nested Schema : Attachments
Type: array
Title: Attachments
The attachments resource is used to add one or more attachments to a standard receipt.
Show Source
Nested Schema : Remittance References
Type: array
Title: Remittance References
The remittance references resource is used to add one or more remittance references to a standard receipt.
Show Source
Nested Schema : Standard Receipt Descriptive Flexfields
Type: array
Title: Standard Receipt Descriptive Flexfields
The standard receipts DFF resource is used to add one or more descriptive flexfield values to a standard receipt.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "ORA_ZENGIN_CASH_RECEIPTS":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptDff_view_StandardReceiptFLEXORA__5FZENGIN__5FCASH__5FRECEIPTSVO-item-response" } }
Nested Schema : Standard Receipt Global Descriptive Flexfields
Type: array
Title: Standard Receipt Global Descriptive Flexfields
The standard receipts GDF resource is used to add one or more global descriptive flexfield values to a standard receipt.
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "FVxUSARCashReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfFVxUSARCashReceiptsVO-item-response", "JA_CN_REMIT_BILL_NUM":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJA__5FCN__5FREMIT__5FBILL__5FNUMVO-item-response", "JAxJPReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxJPReceiptsVO-item-response", "JAxTWReceiptInformation":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxTWReceiptInformationVO-item-response", "JExFRReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExFRReceiptsVO-item-response", "JExILReceiptInformation":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExILReceiptInformationVO-item-response", "JExPTAdditionalInfo":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExPTAdditionalInfoVO-item-response", "JLxARReceiptInformation":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxARReceiptInformationVO-item-response", "JLxMXReceipts":"#/components/schemas/oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxMXReceiptsVO-item-response" } }
Nested Schema : standardReceipts-attachments-item-response
Type: object
Show Source
Nested Schema : standardReceipts-remittanceReferences-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptDff_view_StandardReceiptFLEXORA__5FZENGIN__5FCASH__5FRECEIPTSVO-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfFVxUSARCashReceiptsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJA__5FCN__5FREMIT__5FBILL__5FNUMVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxJPReceiptsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJAxTWReceiptInformationVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExFRReceiptsVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExILReceiptInformationVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJExPTAdditionalInfoVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxARReceiptInformationVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_financials_receivables_receipts_shared_restModel_StandardReceiptGdf_view_StandardReceiptGdfJLxMXReceiptsVO-item-response
Type: object
Show Source
Back to Top

Examples

Example 1

The following example shows how to create a standard receipt by submitting a POST request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts

Example Request Body

The following example shows the contents of the request body in JSON format:

{
    "ReceiptNumber":"SKR_Receipt_1009",
    "ReceiptMethod":"Manual",
    "BusinessUnit":"Vision Operations",
    "CustomerAccountNumber":"1004",
    "CustomerSite":"Tulsa (OPS)",
    "Amount":451.2343,
    "Currency":"USD",
    "RemittanceBankAccountNumber":"10271-17621-619"
}

Example Response Body

The following example shows the contents of the response body in JSON format:

{
    "ReceiptNumber":"SKR_Receipt_1009",
    "ReceiptMethod":"Manual",
    "BusinessUnit":"Vision Operations",
    "CustomerAccountNumber":"1004",
    "CustomerSite":"Tulsa (OPS)",
    "Amount":451.2343,
    "Currency":"USD",
    "RemittanceBankAccountNumber":"10271-17621-619,
    ...
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169023",
            "name": "standardReceipts",
            "kind": "item",
            "properties": {
                             "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                          }
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169023/child/remittanceReferences",
            "name": "remittanceReferences",
            "kind": "collection"
        },
        ...
    ]
}

Example 2

The following example shows how to create a standard receipt with remittance references by submitting a POST request on the REST resource using cURL

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts

Example Request Body

The following example shows the contents of the request body in JSON format:

{
    "ReceiptNumber":"SKR_Receipt_1011",
    "ReceiptMethod":"Manual",
    "BusinessUnit":"Vision Operations",
    "CustomerAccountNumber":"1004",
    ...
    "remittanceReferences":
    [
        {
            "ReceiptMatchBy":"Purchase Order",
            "ReferenceNumber":"SK_PO_1012",
            "ReferenceAmount":"8774.45"
        },
        {
            "ReceiptMatchBy":"Transaction Number",
            "ReferenceNumber":"SK_TRX_1013",
            "ReferenceAmount":"6895.63"
        }
    ]
}

Example Response Body

The following example shows the contents of the response body in JSON format:

{
    "StandardReceiptId": 300100169169033,
    "ReceiptNumber": "SKR_Receipt_1011",
    "BusinessUnit": "Vision Operations",
    "ReceiptMethod": "Manual",
    ...
    "remittanceReferences": [
        {
            "RemittanceReferenceId": 300100169169034,
            "ReceiptMatchBy": "Purchase Order",
            "ReferenceNumber": "SK_PO_1012",
            "ReferenceAmount": 8774.45,
            ...
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169033/child/remittanceReferences/300100169169034",
                    "name": "remittanceReferences",
                    "kind": "item",
                    "properties": {
                                     "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                                  }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169033/child/remittanceReferences/300100169169034",
                    "name": "remittanceReferences",
                    "kind": "item"
                },
                ...
            ]
        },
        {
            "RemittanceReferenceId": 300100169169035,
            "ReceiptMatchBy": "Transaction Number",
            "ReferenceNumber": "SK_TRX_1013",
            "ReferenceAmount": 6895.63,
            ...
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169033/child/remittanceReferences/300100169169035",
                    "name": "remittanceReferences",
                    "kind": "item",
                    "properties": {
                                     "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                                  }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169033/child/remittanceReferences/300100169169035",
                    "name": "remittanceReferences",
                    "kind": "item"
                },
                ...
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169033",
            "name": "standardReceipts",
            "kind": "item",
            "properties": {
                             "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                          }
        },
        {
            "rel": "child",
            "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/standardReceipts/300100169169033/child/remittanceReferences",
            "name": "remittanceReferences",
            "kind": "collection"
        },
        ...
    ]
}
Back to Top