Create an external transaction
post
/fscmRestApi/resources/11.13.18.05/cashExternalTransactions
Request
Header Parameters
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
-
Upsert-Mode:
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
- application/json
Root Schema : schema
Type:
Show Source
object-
AccountingFlag: boolean
Maximum Length:
1Default Value:trueThe option that indicates whether the accounting event is raised when the external transaction is reconciled. -
Amount(required): number
The transaction amount of the external transaction.
-
AssetAccountCombination: string
The cash general ledger account code combination of the external transaction.
-
attachments: array
Attachments
Title:
AttachmentsThe attachments resource manages documents that are attached by the user to the external transaction. -
BankAccountName: string
Maximum Length:
360The name of the bank account associated to the external transaction. -
BankConversionRate: number
The accounting conversion rate used to convert the external transaction amount from the bank account currency to the ledger currency.
-
BankConversionRateType: string
Maximum Length:
30The accounting conversion rate type used to convert the external transaction amount from the bank account currency to the ledger currency. -
BusinessUnitName: string
The name of the business unit associated to the external transaction.
-
cashExternalTransactionDFF: array
Descriptive Flexfields
Title:
Descriptive FlexfieldsThe descriptive flexfields resource manages details about the descriptive flexfield references for an external transaction. -
ClearedDate: string
(date)
The date when the external transaction is cleared.
-
CurrencyCode(required): string
Maximum Length:
15The currency code of the external transaction. -
Description: string
Maximum Length:
360The description of the external transaction. -
ExternalTransactionId: integer
(int64)
The unique identifier of the external transaction.
-
LegalEntityName: string
The name of the legal entity associated to the external transaction.
-
OffsetAccountCombination: string
The offset general ledger account code combination of the external transaction.
-
ReferenceText: string
Maximum Length:
50The reconciliation reference of the external transaction. -
Source: string
Maximum Length:
30Default Value:MANUALThe source of the external transaction. The default value is Imported. -
Status: string
Maximum Length:
30Default Value:UNRThe status of the external transaction. The default value is UNR for Unreconciled. Unreconciled external transactions can be rendered as void by updating this attribute to VOID. -
TransactionDate: string
(date)
The date when the external transaction is created.
-
TransactionId: integer
(int64)
The sequence number transaction identifier of the external transaction.
-
TransactionType: string
Maximum Length:
30The transaction type of the external transaction. Examples include Bank adjustment, Fee, Check, Electronic funds transfer, Interest, Zero balancing, Lockbox, Miscellaneous, and Automated clearing house. A list of accepted values is defined in the lookup type CE_TRX_TYPE. -
TransferId: integer
(int64)
The unique identifier of the bank account transfer or the ad hoc payment that created the external transaction.
-
ValueDate: string
(date)
The actual value date of the external transaction.
Nested Schema : Attachments
Type:
arrayTitle:
AttachmentsThe attachments resource manages documents that are attached by the user to the external transaction.
Show Source
Nested Schema : Descriptive Flexfields
Type:
arrayTitle:
Descriptive FlexfieldsThe descriptive flexfields resource manages details about the descriptive flexfield references for an external transaction.
Show Source
Nested Schema : cashExternalTransactions-attachments-item-post-request
Type:
Show Source
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdThe unique identifier of the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30The category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEThe type of the attachment. -
Description: string
Title:
DescriptionMaximum Length:255The description for the attachment. -
DmDocumentId: string
Maximum Length:
255The unique identifier of the attachment. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000The folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255The version number of the attachment. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeThe error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageThe error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateThe expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File ContentsThe contents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048The file name of the attachment. -
FileUrl: string
Title:
File UrlThe URL of the attachment. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleThe title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeThe content type of the attachment. -
UploadedFileLength: integer
Title:
File SizeThe length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameThe name of the attachment file. -
UploadedText: string
Title:
Uploaded TextThe text of the attachment. -
Uri: string
Title:
UriMaximum Length:4000The URI of the attachment. -
Url: string
Title:
UrlMaximum Length:4000The URL of the attachment.
Nested Schema : schema
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30The descriptive flexfield context name for external transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueThe descriptive flexfield context display value for external transactions. -
ExternalTransactionId: integer
(int64)
The unique external transaction identifier.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : cashExternalTransactions-item-response
Type:
Show Source
object-
AccntServicerReference: string
Title:
Account Servicer ReferenceRead Only:trueMaximum Length:50The reference number assigned by the account servicing institution for the underlying payment, receipt, external transaction, or payroll payment. -
AccountingFlag: boolean
Maximum Length:
1Default Value:trueThe option that indicates whether the accounting event is raised when the external transaction is reconciled. -
AddendaTxt: string
Title:
Additional Entry InformationRead Only:trueMaximum Length:1000Additional information about the entry details. -
Amount: number
The transaction amount of the external transaction.
-
AssetAccountCombination: string
The cash general ledger account code combination of the external transaction.
-
attachments: array
Attachments
Title:
AttachmentsThe attachments resource manages documents that are attached by the user to the external transaction. -
BankAccountName: string
Maximum Length:
360The name of the bank account associated to the external transaction. -
BankConversionRate: number
The accounting conversion rate used to convert the external transaction amount from the bank account currency to the ledger currency.
-
BankConversionRateType: string
Maximum Length:
30The accounting conversion rate type used to convert the external transaction amount from the bank account currency to the ledger currency. -
BankTransactionId: string
Read Only:
trueMaximum Length:20Unique identifier of the bank transaction on the statement line. -
BusinessUnitName: string
The name of the business unit associated to the external transaction.
-
cashExternalTransactionDFF: array
Descriptive Flexfields
Title:
Descriptive FlexfieldsThe descriptive flexfields resource manages details about the descriptive flexfield references for an external transaction. -
CheckNumber: string
Title:
Check NumberRead Only:trueMaximum Length:40The check number of the underlying transaction. -
ClearedDate: string
(date)
The date when the external transaction is cleared.
-
ClearingSystemReference: string
Title:
Clearing System ReferenceRead Only:trueMaximum Length:50The unique identifier assigned by the clearing system to a payment instruction. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the external transaction. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the external transaction was created. -
CurrencyCode: string
Maximum Length:
15The currency code of the external transaction. -
CustomerReference: string
Title:
Customer ReferenceRead Only:trueMaximum Length:30The customer reference used by BAI format. -
Description: string
Maximum Length:
360The description of the external transaction. -
EndToEndId: string
Title:
End to End IDRead Only:trueMaximum Length:100The unique identification assigned by the initiating party to the transaction. It's passed on unchanged throughout the entire end to end chain. -
ExternalTransactionId: integer
(int64)
The unique identifier of the external transaction.
-
InstructionIdentification: string
Title:
Instruction IDRead Only:trueMaximum Length:100The unique identification which is a point to point reference used between the instructing party and the instructed party to refer to an individual instruction. It's assigned by the instructing party to the instructed party and can be included in several messages related to the instruction. -
LastUpdateDate: string
(date-time)
Read Only:
trueThe date and time when the external transaction was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the external transaction. -
LastUpdateLogin: string
Read Only:
trueMaximum Length:32The session login associated with the user who last updated the external transaction. -
LegalEntityName: string
The name of the legal entity associated to the external transaction.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
OffsetAccountCombination: string
The offset general ledger account code combination of the external transaction.
-
ReconReference: string
Title:
Reconciliation ReferenceRead Only:trueMaximum Length:50The reference to the underlying transaction information. -
ReferenceText: string
Maximum Length:
50The reconciliation reference of the external transaction. -
Source: string
Maximum Length:
30Default Value:MANUALThe source of the external transaction. The default value is Imported. -
Status: string
Maximum Length:
30Default Value:UNRThe status of the external transaction. The default value is UNR for Unreconciled. Unreconciled external transactions can be rendered as void by updating this attribute to VOID. -
StructuredPaymentReference: string
Read Only:
trueMaximum Length:256The structured payment reference or receipt reference on the bank statement line. -
TransactionDate: string
(date)
The date when the external transaction is created.
-
TransactionId: integer
(int64)
The sequence number transaction identifier of the external transaction.
-
TransactionType: string
Maximum Length:
30The transaction type of the external transaction. Examples include Bank adjustment, Fee, Check, Electronic funds transfer, Interest, Zero balancing, Lockbox, Miscellaneous, and Automated clearing house. A list of accepted values is defined in the lookup type CE_TRX_TYPE. -
TransferId: integer
(int64)
The unique identifier of the bank account transfer or the ad hoc payment that created the external transaction.
-
ValueDate: string
(date)
The actual value date of the external transaction.
Nested Schema : Attachments
Type:
arrayTitle:
AttachmentsThe attachments resource manages documents that are attached by the user to the external transaction.
Show Source
Nested Schema : Descriptive Flexfields
Type:
arrayTitle:
Descriptive FlexfieldsThe descriptive flexfields resource manages details about the descriptive flexfield references for an external transaction.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : cashExternalTransactions-attachments-item-response
Type:
Show Source
object-
AsyncTrackerId: string
Title:
Asynchronous Upload Tracker IdAttribute provided for the exclusive use by the Attachment UI components to assist in uploading files. -
AttachedDocumentId: integer
(int64)
Title:
Attached Document IdThe unique identifier of the attached document. -
CategoryName: string
Title:
CategoryMaximum Length:30The category of the attachment. - ContentRepositoryFileShared: boolean
-
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:255The user who created the record. -
CreatedByUserName: string
Title:
Created By User NameRead Only:trueThe user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the record was created. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEThe type of the attachment. -
Description: string
Title:
DescriptionMaximum Length:255The description for the attachment. -
DmDocumentId: string
Maximum Length:
255The unique identifier of the attachment. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000The folder path of the attachment. -
DmVersionNumber: string
Maximum Length:
255The version number of the attachment. -
DownloadInfo: string
Title:
DownloadInfoJSON object represented as a string containing information used to programmatically retrieve a file attachment. -
ErrorStatusCode: string
Title:
Error Status CodeThe error code, if any, for the attachment. -
ErrorStatusMessage: string
Title:
Error Status MessageThe error message, if any, for the attachment. -
ExpirationDate: string
(date-time)
Title:
Expiration DateThe expiration date of the contents in the attachment. -
FileContents: string
(byte)
Title:
File ContentsThe contents of the attachment. -
FileName: string
Title:
File NameMaximum Length:2048The file name of the attachment. -
FileUrl: string
Title:
File UrlThe URL of the attachment. -
FileWebImage: string
(byte)
Title:
File Web ImageRead Only:trueThe base64 encoded image of the file displayed in .png format if the source is a convertible image. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:255The user who last updated the record. -
LastUpdatedByUserName: string
Title:
Last Updated By UserRead Only:trueThe user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PostProcessingAction: string
Title:
PostProcessingActionThe name of the action that can be performed after an attachment is uploaded. -
Title: string
Title:
TitleThe title of the attachment. -
UploadedFileContentType: string
Title:
Uploaded File Content TypeThe content type of the attachment. -
UploadedFileLength: integer
Title:
File SizeThe length of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameThe name of the attachment file. -
UploadedText: string
Title:
Uploaded TextThe text of the attachment. -
Uri: string
Title:
UriMaximum Length:4000The URI of the attachment. -
Url: string
Title:
UrlMaximum Length:4000The URL of the attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255The user who created the attachment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : cashExternalTransactions-cashExternalTransactionDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:30The descriptive flexfield context name for external transactions. -
__FLEX_Context_DisplayValue: string
Title:
Context ValueThe descriptive flexfield context display value for external transactions. -
ExternalTransactionId: integer
(int64)
The unique external transaction identifier.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- attachments
-
Parameters:
- ExternalTransactionId:
$request.path.ExternalTransactionId
The attachments resource manages documents that are attached by the user to the external transaction. - ExternalTransactionId:
- cashExternalTransactionDFF
-
Parameters:
- ExternalTransactionId:
$request.path.ExternalTransactionId
The descriptive flexfields resource manages details about the descriptive flexfield references for an external transaction. - ExternalTransactionId:
Examples
The following example shows how to create an external transaction 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/cashExternalTransactions
Example Request Payload
The following example shows the contents of the request body in JSON format:
{
"Amount": 130,
"BankAccountName": "BofA-204",
"BusinessUnitName": "Vision Operations",
"CurrencyCode": "USD",
"Description": "CE_REST_External_Transaction",
"ReferenceText": "CE_REST_External_Transaction",
"TransactionType": "CHK",
"AccountingFlag" : false
}Example Response Body
The following example shows the contents of the response body in JSON format:
{
"AccountingFlag" : false,
"Amount" : 130,
"CurrencyCode" : "USD",
"Description" : "CE_REST_External_Transaction",
"ReferenceText" : "CE_REST_External_Transaction",
"TransactionType" : "CHK",
"BusinessUnitName" : "Vision Operations",
"BankAccountName" : "BofA-204",
...
"links" : [
{
"rel" : "self",
"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/cashExternalTransactions/300100188229669",
"name" : "cashExternalTransactions",
"kind" : "item",
"properties" : {
"changeIndicator" : "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel" : "child",
"href" : "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/cashExternalTransactions/300100188229669/child/attachments",
"name" : "attachments",
"kind" : "collection"
},
...
]
}