QBO Attachment Integration

Has anyone tried to upload a bniary attachment to an Invoice in QBO? I was able to use the attachment API and add a note but I am unable to get a file to go through.

I did find this older thread but it seems N8N has changed since this and I cant follow along - Upload attachment to Quickbooks via API - #3 by Tom4444

The current API Documentation is here - https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/attachable

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

N8N Version 1.4.1 running on the cloud
Default Database
Operating System Windows 11 Pro

Hi @Shaundcmason :wave: Would you be able to post your workflow? Of course please redact any sensitive credentials!

It looks like however you could do it via something like this:

Where you need to find your Realm ID and enter it in the URL, and ensure that whatever your incoming data is named (here the binary data is named data) matches what is in n8n. If it was named something like “attachment_1”, that would go in the place of data instead :+1: Granted, I’m very much not familiar with Quickbooks… :sweat_smile:

Sending the Note alone works fine using the same API, but when I try and include the file it doesnt fail but doesnt work either. I might be using the Form Data wrong in N8N

Doesn anyone else have a possible solution to adding an attachment into QBO

The example looks like it should work, but that looks like it just adds a file and maybe not to a specific invoice.

Have you tried making the api request with postman or curl just to make sure the api you are using is the correct one?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.