Anyone know the Zoho Invoice Status Codes?
If I do a call to Zoho invoice and want to return the status of a particular invoice, all I get is a string number as opposed to the actual written value of it (i.e. "5" for "Void" etc)
I've been searching far and wide, but have yet to find a resource that contains the translations for these... so far I've been able to extrapolate two and script them like so:
- i = Invoices [ID == c.Select_Invoice];
- s = zoho.invoice.getInvoiceInfo(i.Inv_IDN);
- st = s.get("Status");
- if (st = "3")
- {
- c.Invoice_Status = "Paid";
- }
- if (st = "5")
- {
- c.Invoice_Status = "Void";
- }
This should be pretty easy for someone who's done it before, I just haven't been able to find the rest of them. Any help or a link to a page with the codes and their meanings would be greatly appreciated.