CData Python Connector for QuickBooks Online

Build 25.0.9454

DownloadPDF

Downloads an Invoice, Sales Receipt, or Estimate as a PDF file directly from QuickBooks Online for distribution or archiving.

Input

Name Type Description
TxnType String Specifies the type of transaction to download as a PDF. This input is required.
TxnID String Specifies the unique identifier (Id) of the transaction to download as a PDF. This input is required.
DownloadFolder String Specifies the folder path where the downloaded PDF file is saved.

Result Set Columns

Name Type Description
Base64EncodedData String Specifies the Base64-encoded content of the PDF file when neither the download folder nor the file stream is provided.
Result String Indicates the execution outcome of the stored procedure. Returns a value of Success when the PDF download is successful or a value of Failure if it is not.
PDFFile String Specifies the location of the downloaded PDF file.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454