trygaios
$data = [
"firmId" => "485E152158494BE590B5F72403398765",
"invoiceNo" => "A123121",
"invoiceType" => 3,
"note" => "özel sipariş",
"dates" => [
"invoiceDate" => "2017-07-08T18:45:52.516+03:00",
"dueDate" => "2017-07-08T18:45:52.516+03:00",
"deliveryDate" => "2017-07-08T18:45:52.516+03:00",
],
"customer" => [
"customerId" => 6761,
"title" => "Deneme Müşterisi Ltd. Şti.",
...
];
$response = Http::withHeaders([
'Key' => 'key buraya',
'Token' => 'token buraya',
])->post('https://bizimhesap.com/api/b2b/addinvoice', $data);