'Statement of Accounts does not exist' error received, when creating PO using api in Zoho Inventory

'Statement of Accounts does not exist' error received, when creating PO using api in Zoho Inventory

Here is request json --

  1. JSONString = {
  2. "date": "2019-09-24",
  3. "purchaseorder_number": "PO-6-1",
  4. "delivery_date": null,
  5. "delivery_org_address_id": 36221200000056XXX,
  6. "vendor_id": 362212000000564XXX,
  7. "attention": "Testing",
  8. "line_items": [{
  9. "unit": "Pieces",
  10. "account_id": 36221200000003XXX,
  11. "quantity": 1,
  12. "item_id": 362212000000049XXX,
  13. "tax_type": "",
  14. "tax_name": "",
  15. "name": "One HD",
  16. "purchase_rate": 85,
  17. "tax_percentage": 0,
  18. "item_total": 85.00,
  19. "tax_id": "",
  20. "warehouse_id": 362212000000564XXX
  21. }]
  22. }

Error received is --
code:1002,"message":"Statement of Accounts does not exist.
        
I tried changing the account id from purchase_account_id to inventory_account_id, but got no success,also it would be helpful if one could elaborate on the variable account id.


      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 コンテンツ




                                ご検討中の方