Print an invoice to a PDF file (requires Bullzip to be installed).
local invoiceID = 1234
local invoiceNumber = invoices.invoiceIDToInvoiceNumber(invoiceID)
local pdfFilename = "C:\\Temp\\" .. invoiceNumber .. ".pdf"
Bullzip PDF Printer must be installed.
Supports concurrent jobs.