How to Add an Attachment to the Payables Invoice using the REST API


How to Add an Attachment to the Payables Invoice using the REST API


Uploading file type attachment can be achieved by using a combination of FIN services.  You will need to create a custom java program/process to do the following:

1) Call uploadFileToUcm() web service to upload the attachment file to a UCM account.
This API returns the document ID in UCM.

ERP Integration Services is the Business Object Services for this Operation.

2) Construct document URL in UCM by using document ID returned in step 1.
The UCM doc URL has the format of "https://efops-rel8-gadebug-external-fs.us.oracle.com/cs/idcplg?IdcService=GET_FILE&dID=document ID". Replace with correct UCM server name and substitute document ID with value from step 1.

3) Call AP web service 'createURLAttachment' to create URL attachment for invoice by using the document URL constructed in step 2.




Comments

Popular posts from this blog

How to Create Procurement Agent in Bulk or using REST API

Oracle Cloud ERP - AP - How to get the Status of the Invoice