Ejemplo n.º 1
0
        /// <summary>
        /// 連携サービス一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;連携しているサービス一覧を取得する&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;_2\&quot;&gt;定義&lt;/h2&gt;  &lt;ul&gt; &lt;li&gt;type &lt;ul&gt; &lt;li&gt;bank_account : 銀行口座&lt;/li&gt;  &lt;li&gt;credit_card : クレジットカード&lt;/li&gt;  &lt;li&gt;wallet : その他の決済口座&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="offset">開始位置 (optional)</param>
        /// <param name="limit">取得上限数,最大500件 (optional)</param>
        /// <param name="type">サービス種別 (optional)</param>
        /// <returns>Task of BanksIndexResponse</returns>
        public async System.Threading.Tasks.Task <BanksIndexResponse> GetBanksAsync(int?offset = default(int?), int?limit = default(int?), string type = default(string))
        {
            Freee.Accounting.Client.ApiResponse <BanksIndexResponse> localVarResponse = await GetBanksAsyncWithHttpInfo(offset, limit, type);

            return(localVarResponse.Data);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 申請経路の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;指定した事業所の申請経路を取得する&lt;/p&gt;  &lt;p&gt;各種申請APIの使い方については、&lt;a href&#x3D;\&quot;https://developer.freee.co.jp/tips/accounting-approval-requests\&quot; target&#x3D;\&quot;_blank\&quot;&gt;会計freeeの各種申請APIの使い方&lt;/a&gt;をご参照ください&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;\&quot;&gt;注意点&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。&lt;/p&gt;     &lt;ul&gt;       &lt;li&gt;役職指定(申請者の所属部門)&lt;/li&gt;       &lt;li&gt;役職指定(申請時に部門指定)&lt;/li&gt;       &lt;li&gt;部門および役職指定&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;   &lt;li&gt;個人アカウントの場合は、プレミアムプランでご利用できます。&lt;/li&gt;   &lt;li&gt;法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。&lt;/li&gt; &lt;/ul&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="id">経路申請ID</param>
 /// <param name="companyId">事業所ID</param>
 /// <returns>ApprovalFlowRouteResponse</returns>
 public ApprovalFlowRouteResponse GetApprovalFlowRoute(int id, int companyId)
 {
     Freee.Accounting.Client.ApiResponse <ApprovalFlowRouteResponse> localVarResponse = GetApprovalFlowRouteWithHttpInfo(id, companyId);
     return(localVarResponse.Data);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 申請経路一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;指定した事業所の申請経路一覧を取得する&lt;/p&gt;  &lt;p&gt;各種申請APIの使い方については、&lt;a href&#x3D;\&quot;https://developer.freee.co.jp/tips/accounting-approval-requests\&quot; target&#x3D;\&quot;_blank\&quot;&gt;会計freeeの各種申請APIの使い方&lt;/a&gt;をご参照ください&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;\&quot;&gt;注意点&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。&lt;/p&gt;     &lt;ul&gt;       &lt;li&gt;役職指定(申請者の所属部門)&lt;/li&gt;       &lt;li&gt;役職指定(申請時に部門指定)&lt;/li&gt;       &lt;li&gt;部門および役職指定&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;   &lt;li&gt;個人アカウントの場合は、プレミアムプランでご利用できます。&lt;/li&gt;   &lt;li&gt;法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。&lt;/li&gt; &lt;/ul&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <param name="includedUserId">経路に含まれるユーザーのユーザーID (optional)</param>
 /// <param name="usage">申請種別(各申請種別が使用できる申請経路に絞り込めます。例えば、ApprovalRequest を指定すると、各種申請が使用できる申請経路に絞り込めます。) * &#x60;TxnApproval&#x60; - 仕訳承認 * &#x60;ExpenseApplication&#x60; - 経費精算 * &#x60;PaymentRequest&#x60; - 支払依頼 * &#x60;ApprovalRequest&#x60; - 各種申請 * &#x60;DocApproval&#x60; - 請求書等 (見積書・納品書・請求書・発注書) (optional)</param>
 /// <param name="requestFormId">申請フォームID request_form_id指定時はusage条件をApprovalRequestに指定してください。指定しない場合無効になります。 (optional)</param>
 /// <returns>ApprovalFlowRoutesIndexResponse</returns>
 public ApprovalFlowRoutesIndexResponse GetApprovalFlowRoutes(int companyId, int?includedUserId = default(int?), string usage = default(string), int?requestFormId = default(int?))
 {
     Freee.Accounting.Client.ApiResponse <ApprovalFlowRoutesIndexResponse> localVarResponse = GetApprovalFlowRoutesWithHttpInfo(companyId, includedUserId, usage, requestFormId);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// 税区分コードの取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;税区分コードを取得する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="code">税区分コード</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of TaxResponse</returns>
        public async System.Threading.Tasks.Task <TaxResponse> GetTaxCodeAsync(int code, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <TaxResponse> localVarResponse = await GetTaxCodeWithHttpInfoAsync(code, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
 /// <summary>
 /// 税区分コード詳細一覧の取得
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <returns>InlineResponse20013</returns>
 public InlineResponse20013 GetTaxesCompanies(int companyId)
 {
     Freee.Accounting.Client.ApiResponse <InlineResponse20013> localVarResponse = GetTaxesCompaniesWithHttpInfo(companyId);
     return(localVarResponse.Data);
 }
 /// <summary>
 /// 連携サービスの取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;連携しているサービスを取得する&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;_2\&quot;&gt;定義&lt;/h2&gt;  &lt;ul&gt; &lt;li&gt;type &lt;ul&gt; &lt;li&gt;bank_account : 銀行口座&lt;/li&gt;  &lt;li&gt;credit_card : クレジットカード&lt;/li&gt;  &lt;li&gt;wallet : その他の決済口座&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="id">連携サービスID</param>
 /// <returns>BankResponse</returns>
 public BankResponse GetBank(int id)
 {
     Freee.Accounting.Client.ApiResponse <BankResponse> localVarResponse = GetBankWithHttpInfo(id);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// 連携サービス一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;連携しているサービス一覧を取得する&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;_2\&quot;&gt;定義&lt;/h2&gt;  &lt;ul&gt; &lt;li&gt;type &lt;ul&gt; &lt;li&gt;bank_account : 銀行口座&lt;/li&gt;  &lt;li&gt;credit_card : クレジットカード&lt;/li&gt;  &lt;li&gt;wallet : その他の決済口座&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="offset">取得レコードのオフセット (デフォルト: 0) (optional)</param>
        /// <param name="limit">取得レコードの件数 (デフォルト: 20, 最小: 1, 最大: 500) (optional)</param>
        /// <param name="type">サービス種別 (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of InlineResponse2001</returns>
        public async System.Threading.Tasks.Task <InlineResponse2001> GetBanksAsync(int?offset = default(int?), int?limit = default(int?), string type = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <InlineResponse2001> localVarResponse = await GetBanksWithHttpInfoAsync(offset, limit, type, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Ejemplo n.º 8
0
        /// <summary>
        /// フォーム用選択項目情報の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;指定した事業所のフォーム用選択項目情報を取得する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companyId">事業所ID</param>
        /// <param name="includes">取得する項目(項目: account_item) (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of SelectablesIndexResponse</returns>
        public async System.Threading.Tasks.Task <SelectablesIndexResponse> GetFormsSelectablesAsync(int companyId, string includes = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <SelectablesIndexResponse> localVarResponse = await GetFormsSelectablesWithHttpInfoAsync(companyId, includes, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Ejemplo n.º 9
0
 /// <summary>
 /// 事業所に所属するユーザー一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;事業所に所属するユーザーの一覧を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <param name="limit">取得レコードの件数 (デフォルト: 50, 最小: 1, 最大: 3000) (optional)</param>
 /// <returns>InlineResponse20015</returns>
 public InlineResponse20015 GetUsers(int companyId, int?limit = default(int?))
 {
     Freee.Accounting.Client.ApiResponse <InlineResponse20015> localVarResponse = GetUsersWithHttpInfo(companyId, limit);
     return(localVarResponse.Data);
 }
Ejemplo n.º 10
0
        /// <summary>
        /// ユーザー情報の更新  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザー情報を更新する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="parameters">ユーザー情報の更新 (optional)</param>
        /// <returns>Task of UsersUpdateResponse</returns>
        public async System.Threading.Tasks.Task <UsersUpdateResponse> UpdateUserAsync(UserUpdateParams parameters = default(UserUpdateParams))
        {
            Freee.Accounting.Client.ApiResponse <UsersUpdateResponse> localVarResponse = await UpdateUserAsyncWithHttpInfo(parameters);

            return(localVarResponse.Data);
        }
Ejemplo n.º 11
0
 /// <summary>
 /// フォーム用選択項目情報の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;指定した事業所のフォーム用選択項目情報を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <param name="includes">取得する項目(項目: account_item) (optional)</param>
 /// <returns>SelectablesIndexResponse</returns>
 public SelectablesIndexResponse GetFormsSelectables(int companyId, string includes = default(string))
 {
     Freee.Accounting.Client.ApiResponse <SelectablesIndexResponse> localVarResponse = GetFormsSelectablesWithHttpInfo(companyId, includes);
     return(localVarResponse.Data);
 }
Ejemplo n.º 12
0
        /// <summary>
        /// ログインユーザ情報の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザの情報を取得する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companies">取得情報にユーザが所属する事業所一覧を含める (optional)</param>
        /// <returns>Task of UsersMeResponse</returns>
        public async System.Threading.Tasks.Task <UsersMeResponse> GetUsersMeAsync(bool?companies = default(bool?))
        {
            Freee.Accounting.Client.ApiResponse <UsersMeResponse> localVarResponse = await GetUsersMeAsyncWithHttpInfo(companies);

            return(localVarResponse.Data);
        }
Ejemplo n.º 13
0
        /// <summary>
        /// 事業所に所属するユーザー一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;事業所に所属するユーザーの一覧を取得する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companyId">事業所ID</param>
        /// <param name="limit">取得上限数,最大3000件 (optional)</param>
        /// <returns>Task of UsersIndexResponse</returns>
        public async System.Threading.Tasks.Task <UsersIndexResponse> GetUsersAsync(int companyId, int?limit = default(int?))
        {
            Freee.Accounting.Client.ApiResponse <UsersIndexResponse> localVarResponse = await GetUsersAsyncWithHttpInfo(companyId, limit);

            return(localVarResponse.Data);
        }
Ejemplo n.º 14
0
 /// <summary>
 /// 事業所に所属するユーザー一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;事業所に所属するユーザーの一覧を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <param name="limit">取得上限数,最大3000件 (optional)</param>
 /// <returns>UsersIndexResponse</returns>
 public UsersIndexResponse GetUsers(int companyId, int?limit = default(int?))
 {
     Freee.Accounting.Client.ApiResponse <UsersIndexResponse> localVarResponse = GetUsersWithHttpInfo(companyId, limit);
     return(localVarResponse.Data);
 }
Ejemplo n.º 15
0
 /// <summary>
 /// 税区分コード詳細一覧の取得
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <returns>TaxesCompaniesResponse</returns>
 public TaxesCompaniesResponse GetTaxesCompanies(int companyId)
 {
     Freee.Accounting.Client.ApiResponse <TaxesCompaniesResponse> localVarResponse = GetTaxesCompaniesWithHttpInfo(companyId);
     return(localVarResponse.Data);
 }
Ejemplo n.º 16
0
 /// <summary>
 /// ログインユーザーの権限の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザーの権限情報を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companyId">事業所ID</param>
 /// <returns>InlineResponse20016</returns>
 public InlineResponse20016 GetUsersCapabilities(int companyId)
 {
     Freee.Accounting.Client.ApiResponse <InlineResponse20016> localVarResponse = GetUsersCapabilitiesWithHttpInfo(companyId);
     return(localVarResponse.Data);
 }
Ejemplo n.º 17
0
        /// <summary>
        /// 税区分コード詳細一覧の取得
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companyId">事業所ID</param>
        /// <returns>Task of TaxesCompaniesResponse</returns>
        public async System.Threading.Tasks.Task <TaxesCompaniesResponse> GetTaxesCompaniesAsync(int companyId)
        {
            Freee.Accounting.Client.ApiResponse <TaxesCompaniesResponse> localVarResponse = await GetTaxesCompaniesAsyncWithHttpInfo(companyId);

            return(localVarResponse.Data);
        }
Ejemplo n.º 18
0
 /// <summary>
 /// ログインユーザー情報の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザーの情報を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="companies">取得情報にユーザーが所属する事業所一覧を含める (optional)</param>
 /// <returns>MeResponse</returns>
 public MeResponse GetUsersMe(bool?companies = default(bool?))
 {
     Freee.Accounting.Client.ApiResponse <MeResponse> localVarResponse = GetUsersMeWithHttpInfo(companies);
     return(localVarResponse.Data);
 }
 /// <summary>
 /// 連携サービス一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;連携しているサービス一覧を取得する&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;_2\&quot;&gt;定義&lt;/h2&gt;  &lt;ul&gt; &lt;li&gt;type &lt;ul&gt; &lt;li&gt;bank_account : 銀行口座&lt;/li&gt;  &lt;li&gt;credit_card : クレジットカード&lt;/li&gt;  &lt;li&gt;wallet : その他の決済口座&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="offset">取得レコードのオフセット (デフォルト: 0) (optional)</param>
 /// <param name="limit">取得レコードの件数 (デフォルト: 20, 最小: 1, 最大: 500) (optional)</param>
 /// <param name="type">サービス種別 (optional)</param>
 /// <returns>InlineResponse2001</returns>
 public InlineResponse2001 GetBanks(int?offset = default(int?), int?limit = default(int?), string type = default(string))
 {
     Freee.Accounting.Client.ApiResponse <InlineResponse2001> localVarResponse = GetBanksWithHttpInfo(offset, limit, type);
     return(localVarResponse.Data);
 }
Ejemplo n.º 20
0
        /// <summary>
        /// ログインユーザー情報の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザーの情報を取得する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companies">取得情報にユーザーが所属する事業所一覧を含める (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of MeResponse</returns>
        public async System.Threading.Tasks.Task <MeResponse> GetUsersMeAsync(bool?companies = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <MeResponse> localVarResponse = await GetUsersMeWithHttpInfoAsync(companies, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
 /// <summary>
 /// 税区分コードの取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;税区分コードを取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="code">税区分コード</param>
 /// <returns>TaxResponse</returns>
 public TaxResponse GetTaxCode(int code)
 {
     Freee.Accounting.Client.ApiResponse <TaxResponse> localVarResponse = GetTaxCodeWithHttpInfo(code);
     return(localVarResponse.Data);
 }
Ejemplo n.º 22
0
 /// <summary>
 /// ユーザー情報の更新  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザー情報を更新する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="userParams">ユーザー情報の更新 (optional)</param>
 /// <returns>UserResponse</returns>
 public UserResponse UpdateUser(UserParams userParams = default(UserParams))
 {
     Freee.Accounting.Client.ApiResponse <UserResponse> localVarResponse = UpdateUserWithHttpInfo(userParams);
     return(localVarResponse.Data);
 }
 /// <summary>
 /// 税区分コード一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;税区分コード一覧を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>InlineResponse20012</returns>
 public InlineResponse20012 GetTaxCodes()
 {
     Freee.Accounting.Client.ApiResponse <InlineResponse20012> localVarResponse = GetTaxCodesWithHttpInfo();
     return(localVarResponse.Data);
 }
Ejemplo n.º 24
0
        /// <summary>
        /// ユーザー情報の更新  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;ユーザー情報を更新する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="userParams">ユーザー情報の更新 (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of UserResponse</returns>
        public async System.Threading.Tasks.Task <UserResponse> UpdateUserAsync(UserParams userParams = default(UserParams), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <UserResponse> localVarResponse = await UpdateUserWithHttpInfoAsync(userParams, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
        /// <summary>
        /// 税区分コード詳細一覧の取得
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companyId">事業所ID</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of InlineResponse20013</returns>
        public async System.Threading.Tasks.Task <InlineResponse20013> GetTaxesCompaniesAsync(int companyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <InlineResponse20013> localVarResponse = await GetTaxesCompaniesWithHttpInfoAsync(companyId, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Ejemplo n.º 26
0
 /// <summary>
 /// 税区分コード一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;税区分コード一覧を取得する&lt;/p&gt;
 /// </summary>
 /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>TaxesCodesIndexResponse</returns>
 public TaxesCodesIndexResponse GetTaxCodes()
 {
     Freee.Accounting.Client.ApiResponse <TaxesCodesIndexResponse> localVarResponse = GetTaxCodesWithHttpInfo();
     return(localVarResponse.Data);
 }
Ejemplo n.º 27
0
        /// <summary>
        /// 申請経路の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;指定した事業所の申請経路を取得する&lt;/p&gt;  &lt;p&gt;各種申請APIの使い方については、&lt;a href&#x3D;\&quot;https://developer.freee.co.jp/tips/accounting-approval-requests\&quot; target&#x3D;\&quot;_blank\&quot;&gt;会計freeeの各種申請APIの使い方&lt;/a&gt;をご参照ください&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;\&quot;&gt;注意点&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。&lt;/p&gt;     &lt;ul&gt;       &lt;li&gt;役職指定(申請者の所属部門)&lt;/li&gt;       &lt;li&gt;役職指定(申請時に部門指定)&lt;/li&gt;       &lt;li&gt;部門および役職指定&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;   &lt;li&gt;個人アカウントの場合は、プレミアムプランでご利用できます。&lt;/li&gt;   &lt;li&gt;法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。&lt;/li&gt; &lt;/ul&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="id">経路申請ID</param>
        /// <param name="companyId">事業所ID</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of ApprovalFlowRouteResponse</returns>
        public async System.Threading.Tasks.Task <ApprovalFlowRouteResponse> GetApprovalFlowRouteAsync(int id, int companyId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <ApprovalFlowRouteResponse> localVarResponse = await GetApprovalFlowRouteWithHttpInfoAsync(id, companyId, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Ejemplo n.º 28
0
        /// <summary>
        /// 税区分コード一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;税区分コード一覧を取得する&lt;/p&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of TaxesCodesIndexResponse</returns>
        public async System.Threading.Tasks.Task <TaxesCodesIndexResponse> GetTaxCodesAsync()
        {
            Freee.Accounting.Client.ApiResponse <TaxesCodesIndexResponse> localVarResponse = await GetTaxCodesAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Ejemplo n.º 29
0
        /// <summary>
        /// 申請経路一覧の取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;指定した事業所の申請経路一覧を取得する&lt;/p&gt;  &lt;p&gt;各種申請APIの使い方については、&lt;a href&#x3D;\&quot;https://developer.freee.co.jp/tips/accounting-approval-requests\&quot; target&#x3D;\&quot;_blank\&quot;&gt;会計freeeの各種申請APIの使い方&lt;/a&gt;をご参照ください&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;\&quot;&gt;注意点&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;申請経路、承認者の指定として部門役職データ連携を活用し、以下のいずれかを利用している各種申請と申請経路はAPI経由で参照は可能ですが、作成と更新、承認ステータスの変更ができません。&lt;/p&gt;     &lt;ul&gt;       &lt;li&gt;役職指定(申請者の所属部門)&lt;/li&gt;       &lt;li&gt;役職指定(申請時に部門指定)&lt;/li&gt;       &lt;li&gt;部門および役職指定&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;   &lt;li&gt;個人アカウントの場合は、プレミアムプランでご利用できます。&lt;/li&gt;   &lt;li&gt;法人アカウントの場合は、ベーシックプラン、プロフェッショナルプラン、エンタープライズプランでご利用できます。&lt;/li&gt; &lt;/ul&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="companyId">事業所ID</param>
        /// <param name="includedUserId">経路に含まれるユーザーのユーザーID (optional)</param>
        /// <param name="usage">申請種別(各申請種別が使用できる申請経路に絞り込めます。例えば、ApprovalRequest を指定すると、各種申請が使用できる申請経路に絞り込めます。) * &#x60;TxnApproval&#x60; - 仕訳承認 * &#x60;ExpenseApplication&#x60; - 経費精算 * &#x60;PaymentRequest&#x60; - 支払依頼 * &#x60;ApprovalRequest&#x60; - 各種申請 * &#x60;DocApproval&#x60; - 請求書等 (見積書・納品書・請求書・発注書) (optional)</param>
        /// <param name="requestFormId">申請フォームID request_form_id指定時はusage条件をApprovalRequestに指定してください。指定しない場合無効になります。 (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of ApprovalFlowRoutesIndexResponse</returns>
        public async System.Threading.Tasks.Task <ApprovalFlowRoutesIndexResponse> GetApprovalFlowRoutesAsync(int companyId, int?includedUserId = default(int?), string usage = default(string), int?requestFormId = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Freee.Accounting.Client.ApiResponse <ApprovalFlowRoutesIndexResponse> localVarResponse = await GetApprovalFlowRoutesWithHttpInfoAsync(companyId, includedUserId, usage, requestFormId, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Ejemplo n.º 30
0
        /// <summary>
        /// 連携サービスの取得  &lt;h2 id&#x3D;\&quot;\&quot;&gt;概要&lt;/h2&gt;  &lt;p&gt;連携しているサービスを取得する&lt;/p&gt;  &lt;h2 id&#x3D;\&quot;_2\&quot;&gt;定義&lt;/h2&gt;  &lt;ul&gt; &lt;li&gt;type &lt;ul&gt; &lt;li&gt;bank_account : 銀行口座&lt;/li&gt;  &lt;li&gt;credit_card : クレジットカード&lt;/li&gt;  &lt;li&gt;wallet : その他の決済口座&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt;
        /// </summary>
        /// <exception cref="Freee.Accounting.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="id">連携サービスID</param>
        /// <returns>Task of BanksShowResponse</returns>
        public async System.Threading.Tasks.Task <BanksShowResponse> GetBankAsync(int id)
        {
            Freee.Accounting.Client.ApiResponse <BanksShowResponse> localVarResponse = await GetBankAsyncWithHttpInfo(id);

            return(localVarResponse.Data);
        }