Getting scope error(23:Invalid Scope Passed) while creating invoice using zoho invoice api.

Getting scope error(23:Invalid Scope Passed) while creating invoice using zoho invoice api.

I am new to zoho invoice api, I want to create invoice for one of my application and I choose to use invoice api. I red the documentation.
I am facing scope error while creating invoice.
I am using url  
and parameters as
?SCOPE=ZohoInvoice/invoiceapi&EMAIL_ID=[ZohoID/EmailID]&PASSWORD=[Password] 
to generate 
authtoken from my java application api.
and following is my service to create invoice
  1. RequestBody formBody = new FormBody.Builder().add("JSONString", invoiceRequest.toString()).build(); 

  2. Request request = new Request.Builder().url("https://invoice.zoho.com/api/v3/invoices").post(formBody)

  3. .addHeader("Authorization", "Zoho-authtoken " + zohoEntities.getInvoiceAuthToken())

  4. .addHeader("X-com-zoho-invoice-organizationid", zohoEntities.getOrganizationId())

  5. .addHeader( "Content-Type" , "application/x-www-form-urlencoded;charset=UTF-8" )
    .addHeader( "Cache-Control" , "no-cache" ).build();
  6. response = client.newCall(request).execute();


I have a doubt that scope I used (
ZohoInvoice/invoiceapi) 
will support the creation invoice or we need any other scope.
In documentation mentioned authentication going to  be deprecated.


Do i need to use 
https://accounts.zoho.com/oauth/v2/auth?
and scope 
ZohoInvoice.invoices.CREATE,ZohoInvoice.invoices.READ,ZohoInvoice.invoices.UPDATE,ZohoInvoice.invoices.DELETE
to get access token and refresh tokens.
Thanks,



    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


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




                          Zoho Writer Writer

                          Get Started. Write Away!

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

                            Zoho CRM コンテンツ




                              ご検討中の方