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 Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


                        Zoho WorkDrive 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




                            Zoho Writer Writer

                            Get Started. Write Away!

                            Writer is a powerful online word processor, designed for collaborative work.

                              Zoho CRM コンテンツ



                                ご検討中の方