Update time entry - set invoiceId null

Update time entry - set invoiceId null

Hello,

we have a problem, the invoicing with the zoho books integration did not work correctly! We need to remove the InvoiceId link for certain time entries, because the time entries do not belong to the correct customer for whom the invoice was created.

If a time entry is linked to an invoice, I can no longer change it. Manually it's fine, but via API I should be able to change it.

If I try to remove the Invoice ID via API / deluge:

zoho.desk.updateRelatedRecord(orgId, "timeEntry", XXXXXXX, "tickets", XXXXXXX, newTimeEntryData);

I get this error:
{"errorCode":"UNPROCESSABLE_ENTITY","message":"The server was unable to process the data you entered."}

How can I change the time entries so that they are again without invoice association?
I am not allowed to and cannot edit the invoice.


Regards,
Sven







                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                              Zoho TeamInbox Resources

                                                Zoho DataPrep Resources



                                                  Zoho CRM Plus Resources

                                                    Zoho Books Resources


                                                      Zoho Subscriptions Resources

                                                        Zoho Projects Resources


                                                          Zoho Sprints Resources


                                                            Qntrl Resources


                                                              Zoho Creator Resources


                                                                Zoho WorkDrive Resources



                                                                  Zoho Campaigns Resources

                                                                    Zoho CRM Resources

                                                                    • CRM Community Learning Series

                                                                      CRM Community Learning Series


                                                                    • Tips

                                                                      Tips

                                                                    • Functions

                                                                      Functions

                                                                    • Meetups

                                                                      Meetups

                                                                    • Kbase

                                                                      Kbase

                                                                    • Resources

                                                                      Resources

                                                                    • Digest

                                                                      Digest

                                                                    • CRM Marketplace

                                                                      CRM Marketplace

                                                                    • MVP Corner

                                                                      MVP Corner

                                                                    





                                                                    




                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now