Skip to main content
Question

How to attach a PDF file from Salesforce to QuickBooks Online

  • June 26, 2025
  • 3 replies
  • 14 views

I am trying to upload /attach a pdf file from salesforce to Quickbooks. The action of Quickbooks online “Attach a file or Note” doesnt seems to be working. Generally attaching file should support basic types of file which is pdf. However I am getting below error message on the testing of this step: 

Failed to create an attachment in QuickBooks Online

The app returned "Operation Failure parsing MediaType string: PDF is not supported.".

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34072 replies
  • June 26, 2025

Hi ​@neetikapandey 

For us to have more info, post these screenshots:

  • how your Zap steps are outlined
  • how your Zap steps are configured in EDIT mode with the field mappings visible
  • the encountered error for the Zap step

  • Author
  • New
  • 1 reply
  • June 26, 2025

Here are the screenshots of the zaps, last step is failing which attach a file or note:

 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 3527 replies
  • June 27, 2025

Hi ​@neetikapandey,

 

Welcome to the Community.

 

The error message "PDF isn't supported"in step 6 of your Zap likely stems from QuickBooks Online not recognizing the MIME type or receiving an incomplete file reference. Although PDFs are supported, QuickBooks expects an actual file blob or a properly formatted Base64-encoded file—just passing a URL or ID won't work. To resolve this, pass a valid file with the correct MIME type (for example, application/pdf). You can also use a Webhooks by Zapier step to POST the file directly to QuickBooks with the correct headers. Add a Code step to fetch and reformat the file data if needed.

 

Let us know if you need further assistance. We'reWe're here to help.