Zoho creator - create invoice in quickbooks

Zoho creator - create invoice in quickbooks

I have successfully created a customer record in Quickbooks from zoho creator. I am now trying to create a invoice for the customer but I am getting the following error

{"Error":[{"Detail":"Property Name:Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n specified is unsupported or invalid","Message":"Request has invalid or unsupported property","code":"2010"}]}


I am not sure what is the unsupported property.I would appreciate is someone code post a sample of the Quickbook invoice code. Below is the code that I have which produces the above error




 Invoice_Details = map();
    //Invoice_Details.put("AllowIPNPayment", "false");
    //Invoice_Details.put("AllowIPNPayment", "false");
    //Invoice_Details.put("AllowOnlineCreditCardPayment", "false");
    //Invoice_Details.put("AllowOnlineACHPayment", "false");
    //Invoice_Details.put("domain", "QBO");
    //Invoice_Details.put("sparse", "false");
    //Invoice_Details.put("Id", "5");
    //Invoice_Details.put("SyncToken", "0");
    //Invoice_Details.put("AutoDocNumber", "true");
    Invoice_Details.put("TxnDate", zoho.currentdate);
    //Invoice_Details.put("TxnDate", zoho.currentdate);
    Invoice_Line = map();
    //Invoice_Line.put("Id", "1");
    Invoice_Line.put("LineNum", 1);
    Invoice_Line.put("Description", "ADI");
    // Invoice_Line.put("Qty", "1");
    Invoice_Line.put("Amount", "10.0");
    //Invoice_Line.put("DetailType", "SalesItemLineDetail");
    Sales_ItemLine_Detail = map();
    Item_Ref = map();
    Item_Ref.put("value", "1");
    Item_Ref.put("name", "Services");
    //Sales_ItemLine_Detail.put("ItemRef",Item_Ref);
    //Invoice_Line.put("SalesItemLineDetail", Sales_ItemLine_Detail);
    Customer_Ref = map();
    Customer_Ref.put("value", "1");
    Customer_Ref.put("name", "George");
    //Invoice_Line.put("Description", "ADI");
    Billing_Address = map();
    //add billing address to the map variable 
    Billing_Address.put("Line1", "312, 10th Avenue");
    Billing_Address.put("Line2", "Rick cross street");
    Billing_Address.put("Line3", "5th Block");
    Billing_Address.put("Country", "USA");
    Invoice_Details.put("TotalAmt", "10.0");
    //Invoice_Details.put("BillAddr", Billing_Address);
    Invoice_Details.put("CustomerRef", Customer_Ref);
    Invoice_Details.put("Line", Invoice_Line);
    createInvResponse = intuit.quickbooks.create("AR_Quickbook", "Invoice", "123145678985882", Invoice_Details);
    info createInvResponse;