DownloadPDF
Downloads an Invoice, Sales Receipt, or Estimate as a PDF file directly from QuickBooks Online for distribution or archiving.
Input
| Name | Type | Accepts Output Streams | Description |
| TxnType | String | False | Specifies the type of transaction to download as a PDF. This input is required. |
| TxnID | String | False | Specifies the unique identifier (Id) of the transaction to download as a PDF. This input is required. |
| DownloadFolder | String | False | Specifies the folder path where the downloaded PDF file is saved. |
| FileStream | String | True | Specifies a stream object where the downloaded PDF file data is written when the download folder is not provided. Use this input to handle the output programmatically instead of creating a file on disk. |
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. |