โ04-04-2023 05:09 AM
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".
Request:
--YOjcLaTlykb6OxfYJx4O07j1MweeMFem 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" } --YOjcLaTlykb6OxfYJx4O07j1MweeMFem 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> --YOjcLaTlykb6OxfYJx4O07j1MweeMFemโ--
Reference API link : https://developer.intuit.com/app/developer/qbo/docs/workflows/attach-images-and-notes (Attaching file to an Object)
โ04-06-2023 01:08 AM
Issue has been Resolved
โ04-10-2023 07:06 AM
This is great news, @rohith-chilakal! Do you mind sharing your solution with the group?
Cheers,
Meghan
โ05-03-2024 06:50 AM
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.
Cheers