$headers = array(
"Authorization:" . $zoho_token,
"Content-Type: application/x-www-form-urlencoded",
);
$data = array(
"customer_id" => "901407000000064001",
"is_inclusive_tax"=> false,
"line_items" => array(
array(
"name" => "100Box - Action Chilly Cutter4",
"rate" => 10,
"quantity" => 5,
"tax_percentage"=>5,
"item_total" => 52.5
),
),
"date" => date("Y-m-d"),
);
$jsonData = "&JSONString=" . urlencode(json_encode($data));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonData);
$urlData = json_decode(curl_exec($ch));
echo "<pre>";
print_r($urlData);
but still my zoho account in display item_total automatically.