/// <summary>
 /// Publish Payment Summaries
 /// </summary>
 /// <remarks>
 /// Publish payment summaries for the specified financial year.
 /// </remarks>
 public Task PublishPaymentSummariesAsync(int businessId, int financialYearEnding, PublishPaymentSummariesQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync($"/business/{businessId}/paymentsummary/{financialYearEnding}?employeeId={request.EmployeeId}&employingEntityId={request.EmployingEntityId}&locationId={request.LocationId}", Method.POST, cancellationToken));
 }
 /// <summary>
 /// Publish Payment Summaries
 /// </summary>
 /// <remarks>
 /// Publish payment summaries for the specified financial year.
 /// </remarks>
 public void PublishPaymentSummaries(int businessId, int financialYearEnding, PublishPaymentSummariesQueryModel request)
 {
     ApiRequest($"/business/{businessId}/paymentsummary/{financialYearEnding}?employeeId={request.EmployeeId}&employingEntityId={request.EmployingEntityId}&locationId={request.LocationId}", Method.POST);
 }