invoices.invoiceIDToInvoiceNumber
Description
Get a invoice number from a invoice ID.

Parameters
invoiceID number

Return value
invoiceNumber number (< 1 if not found)

Example
local invoiceNumber = invoices.invoiceIDToInvoiceNumber(1234)
if(invoiceNumber < 1) then
    print("Invoice not found")
else
    print("Invoice Number: " .. invoiceNumber)
end

Comments

See also
invoiceNumberToInvoiceID

Back
Generated on the 26 June 2024 at 22:01:29 (UK Time)