Update an intercompany transaction source document
/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/{IntercompanyTrxSourceDocumentId}
Request
-
IntercompanyTrxSourceDocumentId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
-
Metadata-Context: string
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: string
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.
- application/json
object-
ApprovalRequiredFlag: boolean
Maximum Length:
1Indicates whether the intercompany transaction approval is required. -
attachments: array
Attachments
Title:
AttachmentsThe attachments resource is used to view, create, and update attachments. -
ErrorMessage: string
Maximum Length:
2000Intercompany transaction processing error details. -
IntercompanyAgreementNumber: string
Maximum Length:
60Agreement number associated with the source document. -
intercompanyTransactionSourceDocumentDFF: array
intercompanyTransactionSourceDocumentDFF
-
Notes: string
Maximum Length:
240A brief note or description that's added to the transfer authorization. -
ProcessingStatus: string
Title:
MeaningMaximum Length:80Processing status of the intercompany transaction. -
ProcessingStatusCode: string
Maximum Length:
30Processing status code of the intercompany transaction source document. -
TransferAuthorizationAmount: number
Transaction amount for the transfer authorization.
-
TransferAuthorizationAmountType: string
Maximum Length:
80Amount type for the transfer authorization. -
TransferAuthorizationDescription: string
Maximum Length:
240A brief description about the transfer authorization. -
TransferAuthorizationNumber: string
Maximum Length:
50The unique number of the transfer authorization. -
TransferAuthorizationReference: string
Maximum Length:
30Reference number for the transfer authorization. -
TransferAuthorizationTrxDate: string
(date)
Transaction date for the transfer authorization.
-
TrxProviderAccountDistribution: string
Provider account code combination of the intercompany transaction.
arrayAttachmentsobject-
CategoryName: string
Title:
CategoryMaximum Length:30The category of the attachment. - ContentRepositoryFileShared: boolean
-
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEA value that indicates the data type. -
Description: string
Title:
DescriptionMaximum Length:255The description of the attachment. -
DmDocumentId: string
Maximum Length:
255The document ID from which the attachment is created. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000The folder path from which the attachment is created. -
DmVersionNumber: string
Maximum Length:
255The document version number from which the attachment is created. -
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 URI of the file. -
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 size of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameThe name to assign to a new attachment file. -
UploadedText: string
Title:
Uploaded TextThe text content for a new text attachment. -
Uri: string
Title:
UriMaximum Length:4000The URI of a Topology Manager type attachment. -
Url: string
Title:
UrlMaximum Length:4000The URL of a web page type attachment.
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:30Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment
Response
- application/json
Default Response
-
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.
object-
ApprovalRequiredFlag: boolean
Maximum Length:
1Indicates whether the intercompany transaction approval is required. -
attachments: array
Attachments
Title:
AttachmentsThe attachments resource is used to view, create, and update attachments. -
BusinessUnit: string
Title:
Business UnitRead Only:trueMaximum Length:240Business unit for the source document. -
CreatedBy: string
Read Only:
trueMaximum Length:64The user who created the source document. -
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the source document was created. -
DocumentAccountDistribution: string
Account code combination for the source document.
-
DocumentAction: string
Read Only:
trueMaximum Length:80Action type of the source document. Valid values are New Transaction and Reversal Transaction. -
DocumentAmount: number
Transaction amount for the source document.
-
DocumentAmountType: string
Maximum Length:
80Amount type for the source document. -
DocumentChartOfAccount: integer
Chart of account of the intercompany transaction source document.
-
DocumentCurrencyCode: string
Maximum Length:
15The currency code for the source document. -
DocumentDate: string
(date)
Document date for the source document.
-
DocumentDescription: string
Maximum Length:
240A brief description about the source document. -
DocumentDistributionNumber: integer
(int64)
Distribution number of the source document.
-
DocumentFirstReferenceId: integer
(int64)
First reference identifier of the source document.
-
DocumentLegalEntityId: integer
(int64)
The unique identifier of the legal entity associated with the source document.
-
DocumentLineNumber: integer
(int64)
Document line number of the source document.
-
DocumentNumber: string
Maximum Length:
250Document number of the source document. -
DocumentType: string
Read Only:
trueMaximum Length:80Document type of the source document. -
ErrorMessage: string
Maximum Length:
2000Intercompany transaction processing error details. -
IntercompanyAgreementNumber: string
Maximum Length:
60Agreement number associated with the source document. -
intercompanyTransactionSourceDocumentDFF: array
intercompanyTransactionSourceDocumentDFF
-
IntercompanyTrxSourceDocumentId: integer
(int64)
The unique identifier of the intercompany transaction source document.
-
IntercompanyTrxSourceNumber: integer
(int64)
The unique number assigned to intercompany transaction source document.
-
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the intercompany transaction source document was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the intercompany transaction source document. -
LedgerName: string
Title:
NameRead Only:trueMaximum Length:30Name of the ledger associated with the intercompany transaction source document. -
LegalEntity: string
Title:
Legal Entity NameRead Only:trueMaximum Length:240Name of the legal entity associated with the intercompany transaction source document. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Notes: string
Maximum Length:
240A brief note or description that's added to the transfer authorization. -
ProcessingStatus: string
Title:
MeaningMaximum Length:80Processing status of the intercompany transaction. -
ProcessingStatusCode: string
Maximum Length:
30Processing status code of the intercompany transaction source document. -
ProviderIntercompanyOrgName: string
Read Only:
trueMaximum Length:360Provider organization of the intercompany transaction. -
ReceiverIntercompanyOrgName: string
Read Only:
trueMaximum Length:360Receiver or beneficiary organization of the intercompany transaction. -
SourceApplication: string
Read Only:
trueMaximum Length:80Source application where the source document is originated from. -
SupplierName: string
Title:
NameRead Only:trueMaximum Length:360The supplier name on the source document. -
SupplierNumber: string
Title:
Supplier NumberRead Only:trueMaximum Length:30The unique supplier number of the source document. -
SupplierSite: string
Title:
SiteRead Only:trueMaximum Length:240The supplier location on the source document. -
TransferAuthorizationAmount: number
Transaction amount for the transfer authorization.
-
TransferAuthorizationAmountType: string
Maximum Length:
80Amount type for the transfer authorization. -
TransferAuthorizationDescription: string
Maximum Length:
240A brief description about the transfer authorization. -
TransferAuthorizationGroupId: integer
(int64)
Read Only:
trueThe unique identifier of the transfer authorization group. -
TransferAuthorizationNumber: string
Maximum Length:
50The unique number of the transfer authorization. -
TransferAuthorizationReference: string
Maximum Length:
30Reference number for the transfer authorization. -
TransferAuthorizationStatus: string
Read Only:
trueMaximum Length:80Transfer authorization status. -
TransferAuthorizationTrxDate: string
(date)
Transaction date for the transfer authorization.
-
TrxProviderAccountDistribution: string
Provider account code combination of the intercompany transaction.
arrayAttachmentsarrayLinksobject-
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 name who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
DatatypeCode: string
Title:
TypeMaximum Length:30Default Value:FILEA value that indicates the data type. -
Description: string
Title:
DescriptionMaximum Length:255The description of the attachment. -
DmDocumentId: string
Maximum Length:
255The document ID from which the attachment is created. -
DmFolderPath: string
Title:
Dm Folder PathMaximum Length:1000The folder path from which the attachment is created. -
DmVersionNumber: string
Maximum Length:
255The document version number from which the attachment is created. -
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 URI of the file. -
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 name 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 size of the attachment file. -
UploadedFileName: string
Title:
Uploaded File NameThe name to assign to a new attachment file. -
UploadedText: string
Title:
Uploaded TextThe text content for a new text attachment. -
Uri: string
Title:
UriMaximum Length:4000The URI of a Topology Manager type attachment. -
Url: string
Title:
UrlMaximum Length:4000The URL of a web page type attachment. -
UserName: string
Title:
User NameRead Only:trueMaximum Length:255The login credentials of the user who created the attachment.
arrayLinksobject-
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.
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:30Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
IntercompanyTrxSourceDocumentId: integer
(int64)
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance.
arrayLinks- attachments
-
Parameters:
- IntercompanyTrxSourceDocumentId:
$request.path.IntercompanyTrxSourceDocumentId
The attachments resource is used to view, create, and update attachments. - IntercompanyTrxSourceDocumentId:
- intercompanyTransactionSourceDocumentDFF
-
Parameters:
- IntercompanyTrxSourceDocumentId:
$request.path.IntercompanyTrxSourceDocumentId
- IntercompanyTrxSourceDocumentId:
Examples
Example 1 - Update Beneficiary Information on Document Preparation record
The following example shows how to update an intercompany document preparation record by submitting a PATCH request on the REST resource using cURL.
curl -H 'Content-Type: application/json' -i -u "<username>:<password>" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076
Example Request Body
The following example shows the contents of the request body in JSON format:
{
"IntercompanyAgreementNumber": "Fund Transfer Treasury",
"TransferAuthorizationDescription": null,
"TransferAuthorizationAmountType": "Cross charge",
"TransferAuthorizationReference": "AP77",
"TransferAuthorizationTrxDate": "2024-12-01",
"TransferAuthorizationAmount": "174",
"TransferAuthorizationNumber": "AP77"
}
Example Response Body
The following example shows the contents of the response body in JSON format:
{
"CreatedBy": "FINUSER1",
"CreationDate": "2025-01-06T13:32:34.293+00:00",
"DocumentAmount": "174",
"DocumentCurrencyCode": "USD",
"DocumentDate": "2024-12-01",
"DocumentDescription": null,
"DocumentDistributionNumber": "1",
"DocumentLegalEntityId": "300100563232034",
"DocumentLineNumber": "1",
"DocumentNumber": "a-vision-us-75",
"DocumentFirstReferenceId": "445436",
"ErrorMessage": null,
"IntercompanyTrxSourceDocumentId": "100106220212076",
"IntercompanyTrxSourceNumber": "77",
"LastUpdateDate": "2025-02-28T09:16:22+00:00",
"LastUpdatedBy": "FINUSER1",
"ProcessingStatusCode": "ORA_NOT_STARTED",
"TransferAuthorizationAmount": "174",
"TransferAuthorizationDescription": null,
"TransferAuthorizationNumber": "AP77",
"TransferAuthorizationReference": "AP77",
"TransferAuthorizationTrxDate": "2024-12-01",
"DocumentChartOfAccount": "86583",
"TrxProviderAccountDistribution": "",
"DocumentAccountDistribution": "10-000-11010-0000-10-10",
"SupplierNumber": "1488256855",
"SupplierName": "FusionOne Supplier",
"SupplierSite": "FusionOne Supplier addr1",
"ApprovalRequiredFlag": true,
"IntercompanyAgreementNumber": "Fund Transfer Treasury",
"BusinessUnit": "3211 FusionOne BU",
"ProviderIntercompanyOrgName": "3211 FusionOne Canada",
"ReceiverIntercompanyOrgName": "3111 FusionOne US Corp",
"LegalEntity": "3211 FusionOne LE",
"DocumentAmountType": "Item",
"LedgerName": "FusionOne US",
"TransferAuthorizationStatus": null,
"DocumentAction": "New transaction",
"DocumentType": "Standard",
"SourceApplication": "Payables",
"TransferAuthorizationAmountType": "Cross charge",
"ProcessingStatus": "Not started",
"@context": {
"key": "100106220212076",
"headers": {
"ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
},
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076",
"name": "intercompanyTransactionSourceDocuments",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076",
"name": "intercompanyTransactionSourceDocuments",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076/child/attachments",
"name": "attachments",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076/child/intercompanyTransactionSourceDocumentDFF",
"name": "intercompanyTransactionSourceDocumentDFF",
"kind": "collection"
}
]
}
}
Example 2 - Mark Document Preparation Record as Ready
The following example shows how to mark a document preparation record as Ready by submitting a PATCH request on the REST resource using cURL.
curl -H 'Content-Type: application/json' -i -u "<username>:<password>" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076
Example Request Body
The following example shows the contents of the request body in JSON format:
{
"ProcessingStatus": "Ready"
}
Example Response Body
The following example shows the contents of the response body in JSON format:
{
"CreatedBy": "FINUSER1",
"CreationDate": "2025-01-06T13:32:34.293+00:00",
"DocumentAmount": "174",
"DocumentCurrencyCode": "USD",
"DocumentDate": "2024-12-01",
"DocumentDescription": null,
"DocumentDistributionNumber": "1",
"DocumentLegalEntityId": "300100563232034",
"DocumentLineNumber": "1",
"DocumentNumber": "a-vision-us-75",
"DocumentFirstReferenceId": "445436",
"ErrorMessage": null,
"IntercompanyTrxSourceDocumentId": "100106220212076",
"IntercompanyTrxSourceNumber": "77",
"LastUpdateDate": "2025-02-28T09:34:56+00:00",
"LastUpdatedBy": "FINUSER1",
"ProcessingStatusCode": "ORA_READY",
"TransferAuthorizationAmount": "174",
"TransferAuthorizationDescription": null,
"TransferAuthorizationNumber": "AP77",
"TransferAuthorizationReference": "AP77",
"TransferAuthorizationTrxDate": "2024-12-01",
"DocumentChartOfAccount": "86583",
"TrxProviderAccountDistribution": "",
"DocumentAccountDistribution": "10-000-11010-0000-10-10",
"SupplierNumber": "1488256855",
"SupplierName": "FusionOne Supplier",
"SupplierSite": "FusionOne Supplier addr1",
"ApprovalRequiredFlag": true,
"IntercompanyAgreementNumber": "Fund Transfer Treasury",
"BusinessUnit": "3211 FusionOne BU",
"ProviderIntercompanyOrgName": "3211 FusionOne Canada",
"ReceiverIntercompanyOrgName": "3111 FusionOne US Corp",
"LegalEntity": "3211 FusionOne LE",
"DocumentAmountType": "Item",
"LedgerName": "FusionOne US",
"TransferAuthorizationStatus": null,
"DocumentAction": "New transaction",
"DocumentType": "Standard",
"SourceApplication": "Payables",
"TransferAuthorizationAmountType": "Cross charge",
"ProcessingStatus": "Ready",
"@context": {
"key": "100106220212076",
"headers": {
"ETag": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
},
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076",
"name": "intercompanyTransactionSourceDocuments",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076",
"name": "intercompanyTransactionSourceDocuments",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076/child/attachments",
"name": "attachments",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/intercompanyTransactionSourceDocuments/100106220212076/child/intercompanyTransactionSourceDocumentDFF",
"name": "intercompanyTransactionSourceDocumentDFF",
"kind": "collection"
}
]
}
}