invoices.invoiceNumberToInvoiceID
Get a invoice ID from a invoice number.
invoiceNumber number
invoiceID number (< 1 if not found)
local invoiceID = invoices.invoiceNumberToInvoiceID(2000)
if(invoiceID < 1) then
print("Invoice not found")
else
print("Invoice ID: " .. invoiceID)
end
Generated on the 26 June 2024 at 22:01:29 (UK Time)