Creating invoice in Zoho inventory, success but salesorder_id is empty

Creating invoice in Zoho inventory, success but salesorder_id is empty

Hello,

I'm sending a request go the API with such json data:
{"date":"2016-12-19",
"salesorder_id":"495465000000101015",
"customer_id":"495465000000083222",
"line_items: [{"item_id":"495465000000076001","rate":6,"quantity":1}]
}
The invoice is created but, there is no order id attached to it. I can't see linked salesorder in Invoices view. The response I receive:

stdClass Object
(
    [code] => 0
    [message] => The invoice has been created.
    [invoice] => stdClass Object
        (
            [invoice_id] => 495465000000102041
            [documents] => Array
                (
                )

            [invoice_number] => INV-000022
            [salesorder_id] => 
            [salesorder_number] => 
            [date] => 2016-12-19
.
.
.
    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 コンテンツ




                              ご検討中の方