Automatic Invoice Number generation for createRecord

Automatic Invoice Number generation for createRecord

Hello,

while testing some custom Buttons in my Zoho Books application, I noticed that I get an error that previously did not occur. After some further digging I found that the automatic transaction numbering of invoices no longer work in my organization. (Zoho Books International)

When I try to run the following code fragment, I get an error response that says that I need to specify a valid Invoice Number. (Which should be chosen automatically from the specified txnnumbering)
  1. org_ID = organization.get("organization_id");
  2. inv_Map = Map();
  3. // inv_Map.put("ignore_auto_number_generation",false); should be default
  4. inv_Map.put("customer_id", 716918000000067267);
  5. inv_ItemList = List();
  6. inv_ItemList.add({"name":"Dummy item"});
  7. inv_Map.put("line_items",inv_ItemList);
  8. info zoho.books.createRecord("Invoices", org_ID, inv_Map);
To further check this problem, I also ran the same code in my other organization (ZOHO Books German Edition), where this error did not occur.

I did check the API to be 100% sure, but also there it is specified that a number will be generated if ignore_auto_number_generation is not explicitly set to true.

This is a huge problem, since the company that I am working for will start using Zoho Books in a few weeks and one of the main requirements are continious invoice numbers, which cannot be guaranteed with manual set invoice numbers.

In the attachments, you can find the Execution responses of the Internation and German Books Edition (both in German).

Since the problem only exists on one system, I figured that it has to be a bug.

Regards,
Chris