Quickbooks Integration - Create Record in Invoice Module - Response Error

Quickbooks Integration - Create Record in Invoice Module - Response Error

Hi,
I am attempting to implement the creation of a Quickbooks Invoice by using the Creator method as per the below help information:

https://www.zoho.com/creator/help/script/quickbooks-add-record.html

and the referenced Intuit developer information for the Invoice module as per below:

https://developer.intuit.com/docs/api/accounting/Invoice

However when I run the below code I am receiving an error from Quickbooks that appears to indicate that there is a formatting error in the request - any assistance with the error would be greatly appreciated:

Sample Code:

//Declare map variable to hold invoice line item information
Line_Details = map();
//Add the line item information to the line details map
Line_Details.put("Amount", "100.00");
Line_Details.put("DetailType", "SalesItemLineDetail");
//Declare map variable to hold sales item line detail information
Item_Details = map();
//Add the item information to the sales item line detail map ( this item exists in my QB file)
Item_Details.put("value", "20");
Item_Details.put("name", "Test Item 47");
//Add the item details to the line item
Line_Details.put("ItemRef", Item_Details);
//Declare map variable to hold invoice details
Invoice_Details = map();
//Add the line details to the invoice
Invoice_Details.put("Line", Line_Details);
//Add invoice details to the map variable
Invoice_Details.put("DocNumber", "1");
//Declare map variable to hold customer reference information
Customer_Details = map();
//Add the customer details to the map variable ( this customer exists in my QB file)
Customer_Details.put("value", "3");
Customer_Details.put("name", "Cash Sale");
//Add the customer details to the invoice details
Invoice_Details.put("CustomerRef", Customer_Details);
//Create the invoice in QBO customer module with connecton name  and account id from webservice keys table
createResponse = intuit.quickbooks.create("ConnectionName", "Invoice", "QBCompanyID", Invoice_Details);
info createResponse;

Response:

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