invoices.printInvoiceToPDF
Print an invoice to a PDF file (requires Bullzip to be installed).
invoiceID number
filename string
success bool
local invoiceID = 1234
local invoiceNumber = invoices.invoiceIDToInvoiceNumber(invoiceID)
local pdfFilename = "C:\\Temp\\" .. invoiceNumber .. ".pdf"
invoices.printInvoiceToPDF(invoiceID, pdfFilename)
Bullzip PDF Printer must be installed.
Supports concurrent jobs.
Generated on the 26 June 2024 at 22:01:29 (UK Time)