DownloadPDF
Download an Invoice, SalesReceipt or Estimate as a PDF
Input
| Name | Type | Accepts Output Streams | Description |
| TxnType | String | False | Type of Transaction to download. Required |
| TxnID | String | False | ID of the transaction. Required |
| DownloadFolder | String | False | Download Folder. Required |
| FileStream | String | True | An instance of an output stream where file data is written to. Only used if DownloadFolder is not provided |
Result Set Columns
| Name | Type | Description |
| Base64EncodedData | String | Base64 encoded string. |
| Result | String | Success or Failure |
| PDFFile | String | The downloaded PDF File location |