You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Extract Invoice attachment with Rest API Fusion ERP Cloud

Received Response
edited Sep 7, 2021 10:10PM in Reporting and Analytics for ERP 1 comment




The following help page documents how to use the Get an attachment for an invoice Rest API.

Running the codes gives me a similar response as per the documentation, however what I am missing is the last step as to how to download the actual file for viewing.

I am fairly new to JSON so might be missing something obvious.    Any help appreciated, thanks



Fusion Financial 21c

Code Snippet

A hash key of InvoiceId and AttachedDocumentId identifies an attachment.

Here's the cURL command that uses the hash key in the self URI to retrieve the attachment:

curl -i -u "<username>:<password>" -H "Content-Type: application/json" -X GET
Example Response Body

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

    "items": [
            "AttachedDocumentId": 300100177565182,
            "LastUpdateDate": "2018-09-05T09:19:33.411+00:00",

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!