Esempio n. 1
0
 /// <summary>
 /// Update Chart of Accounts
 /// </summary>
 /// <remarks>
 /// Updates the default chart of accounts configuration for the business.
 /// </remarks>
 public Task <AuChartOfAccountsModel> UpdateChartOfAccountsAsync(int businessId, AuChartOfAccountsGroupModel chartOfAccounts, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <AuChartOfAccountsModel, AuChartOfAccountsGroupModel>($"/business/{businessId}/chartofaccounts", chartOfAccounts, Method.POST, cancellationToken));
 }
Esempio n. 2
0
 /// <summary>
 /// Update Chart of Accounts
 /// </summary>
 /// <remarks>
 /// Updates the default chart of accounts configuration for the business.
 /// </remarks>
 public AuChartOfAccountsModel UpdateChartOfAccounts(int businessId, AuChartOfAccountsGroupModel chartOfAccounts)
 {
     return(ApiRequest <AuChartOfAccountsModel, AuChartOfAccountsGroupModel>($"/business/{businessId}/chartofaccounts", chartOfAccounts, Method.POST));
 }