Showing results for 
Search instead for 
Did you mean: 

Creating Attachment in Quickbooks Bill

Deputy Chef I
Deputy Chef I

Hi Team,

I am working on inserting attachments to a particular Quickbooks Bill  through Workato. As I see it, there is no suitable action available in Workato for inserting attachments. So I chosen  QB custom action. In the API request, I need to give Multipart/Form data, which is shown below. I need to know how to pass this request into a custom action. I tried multiple ways, like using message templates/ logger, but I am unable to create attachment. Please help on creating an attachment in Quickbooks "Bill".


Content-Disposition: form-data; name="file_metadata_01"; filename="attachment.json"
Content-Type: application/json; charset=UTF-8
Content-Transfer-Encoding: 8bit

   "AttachableRef": [
      "EntityRef": {
      "type": "Invoice",
      "value": "95"
   "FileName": "receipt_nov15.jpg",
   "ContentType": "image/jpg"
Content-Disposition: form-data; name="file_content_01"; filename="receipt_nov15.jpg"
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
<insert base-64 encoded file content here>

Reference API link : (Attaching file to an Object)


Deputy Chef I
Deputy Chef I

Issue has been Resolved

This is great news, @rohith-chilakal! Do you mind sharing your solution with the group?


How did you go about resolving this? Currently trying to go through the same issue.

Should really be a Workato action for it, I can't imagine many bills or receipts are being created without attachments.