$client = GoHighLevel::client($access_token,'2021-07-28')->invoices();
$response = $client->generateNumber($altId, $altType);
$response = $client->get($invoiceId,[
//parameters
]);
$response = $client->update($invoiceId,[
//parameters
]);
$response = $client->delete($invoiceId,$altId, $altType);
$response = $client->void($invoiceId,$altId, $altType);
$response = $client->send($invoiceId,[
//parameters
]);
$response = $client->recordPayment($invoiceId,[
//parameters
]);
$response = $client->create([
//parameters
]);
$response = $client->list($altId, $altType, $limit, $offset, [
//parameters
]);
$template = $client->template
();
$response = $template->create([
//parameters
]);
$response = $template->list([
//parameters
]);
$response = $template->get($templateId,[
//parameters
]);
$response = $template->update($templateId, [
//parameters
]);
$response = $template->delete($templateId);
$schedule = $client->schedule
();
$response = $schedule->create([
//parameters
]);
$response = $schedule->list($altId, $altType, $limit, $offset,[
//parameters
]);
$response = $schedule->get($scheduleId, $altId, $altType);
$response = $schedule->update($scheduleId, $altId, $altType, [
//parameters
]);
$response = $schedule->delete($scheduleId, $altId, $altType, [
//parameters
]);
$response = $schedule->invoice($scheduleId, $altId, $altType, [
//parameters
]);
$response = $schedule->invoice($scheduleId, $altId, $altType, [
//parameters
]);
$response = $schedule->autoPayment($scheduleId, $altId, $altType, [
//parameters
]);
$response = $schedule->cancel($scheduleId, $altId, $altType, [
//parameters
]);
$text2pay = $client->text2pay
();
$response = $text2pay->create([
//parameters
]);
$response = $text2pay->update($id, [
//parameters
]);