All skills
freee avatar

/freee-api-skill

@f5d1212
by freeefreee/freee-mcp503 stars
58

freee-mcp / freee-sign-mcp と連携するスキル。会計・人事労務・請求書・工数管理・販売・IT管理・固定資産・業務委託管理・サーベイ・開業・人事評価・申告・サイン(電子契約)の詳細APIリファレンスと使い方ガイドを提供。freee の経費申請・取引登録・勤怠打刻・給与明細・見積書・試算表・仕訳・従業員管理・工数登録・売上管理・SaaSアカウント管理・備品管理・固定資産管理・業務委託先の企業ユーザー/部門管理・サーベイ企画/実施回の取得・開業申請用データの参照/更新・人事評価結果の取得・法人税申告データや帳票の参照・電子契約の文書管理などの操作やAPI仕様を調べたいときに使う。ユーザーが freee のデータ操作、会計処理、人事労務管理、請求・見積、プロジェクト工数管理、販売管理、IT管理、固定資産管理、業務委託管理、サーベイ、開業、人事評価、申告、電子契約について質問や操作を依頼してきた場合は、明示的に freee と言及していなくても、このスキルの利用を検討すること。サインは別途 freee-sign-mcp の設定が必要。

Use this Skill: https://skilld.dev/gh/freee/freee-mcp/freee-api-skill

This session only. Nothing lands on disk.

referencesinvoice-quotations.md

≈2.5k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Quotations

見積書

GET /quotations — 見積書一覧の取得

パラメータ

  • company_id*: integer(int64) - 事業所ID
  • quotation_number: string - 見積書番号
  • subject: string - 件名
  • partner_ids: string - 取引先ID(半角数字のidを半角カンマ区切りスペースなしで指定してください。最大3件まで指定できます。)
  • sending_status: string - 送付ステータス(sent: 送付済み、 unsent: 送付待ち) (選択肢: sent, unsent)
  • cancel_status: string - 取消済み(canceled: 該当する、 uncanceled: 該当しない) (選択肢: canceled, uncanceled)
  • start_quotation_date: string(date) - 見積日の開始日
  • end_quotation_date: string(date) - 見積日の終了日
  • start_expiration_date: string(date) - 有効期限の開始日
  • end_expiration_date: string(date) - 有効期限の終了日
  • limit: integer - 取得レコードの件数 (デフォルト: 20, 最小: 1, 最大: 100)。limit と offset の合計は 10,000 を超えることはできません。
  • offset: integer - 取得レコードのオフセット (デフォルト: 0)。limit と offset の合計は 10,000 を超えることはできません。
  • sales_management_origin: boolean - freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。

レスポンス

The request has succeeded.

  • quotations*: array[object]

POST /quotations — 見積書の作成

見積書の作成をします。

リクエストボディ*

  • company_id*: integer(int64) - 事業所ID (最小: 1, 最大: 9223372036854775000)

  • template_id: integer(int64) - 帳票テンプレートID(指定しない場合、事業所の既定のテンプレートが指定されます。) (最小: 1, 最大: 9223372036854775000)

  • quotation_number: string - 見積書番号

    • 採番の設定が、[自動採番する]の場合、指定できません。
    • 採番の設定が、[自動採番する]以外の場合、必須になります。
  • branch_no: integer - 枝番 (最小: 0, 最大: 2147483647)

  • quotation_date*: string(date) - 見積日 (パターン: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$)

  • expiration_date: string(date) - 有効期限 (パターン: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$)

  • delivery_deadline: string - 納品期限

  • delivery_location: string - 納品場所

  • subject: string - 件名

  • tax_entry_method*: string - 消費税の内税・外税区分(in: 税込表示(内税)、out: 税別表示(外税)) (選択肢: in, out)

  • tax_fraction*: string - 消費税端数の計算方法(omit: 切り捨て、round_up: 切り上げ、round: 四捨五入) (選択肢: omit, round_up, round)

  • line_amount_fraction: string - 金額端数の計算方法(omit: 切り捨て、round_up: 切り上げ、round: 四捨五入) (選択肢: omit, round_up, round)

  • withholding_tax_entry_method*: string - 源泉徴収の計算方法(in: 税込み価格で計算、out: 税別価格で計算) (選択肢: in, out)

  • quotation_note: string - 備考

  • memo: string - 社内メモ

  • partner_id: integer(int64) - 取引先ID

    取引先IDと取引先コードはどちらか一方を必ず指定してください。

    取引先役割に関してはヘルプページを御覧ください。 (最小: 1, 最大: 9223372036854775000)

  • partner_code: string - 取引先コード

    取引先コードと取引先IDはどちらか一方を必ず指定してください。

    取引先役割に関してはヘルプページを御覧ください。

  • partner_title*: string - 敬称(御中、様、(空白)の3つから選択)

    • [非推奨]全角カッコの(空白)は削除予定です。
    • 全角カッコの(空白)を指定した場合、はレスポンスは、半角カッコの(空白)になります。 (選択肢: 御中, 様, (空白), (空白))
  • partner_address_zipcode: string - 郵便番号

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく郵便番号が利用されます。 (パターン: ^[0-9]{3}-?[0-9]{4}$)
  • partner_address_prefecture_code: integer - 都道府県コード(-1: 設定しない、0: 北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄)

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく都道府県コードが利用されます。 (最小: -1, 最大: 46)
  • partner_address_street_name1: string - 取引先 市区町村・番地

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく取引先 市区町村・番地が利用されます。
  • partner_address_street_name2: string - 取引先 建物名・部屋番号など

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく取引先 建物名・部屋番号などが利用されます。
  • partner_contact_department: string - 取引先部署

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく取引先部署が利用されます。
  • partner_contact_email_cc: string - 取引先担当者メールアドレス(CC)

    • 入力がない場合、メールテンプレートに指定されたCCが利用されます。
    • カンマ区切りで複数メールアドレスに送付可能です。
  • partner_contact_email_to: string - 取引先担当者メールアドレス(TO)

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく取引先担当者メールアドレスが利用されます。
    • カンマ区切りで複数メールアドレスに送付可能です。
  • partner_contact_name: string - 取引先担当者名

    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく取引先担当者名が利用されます。
  • partner_display_name: string - 取引先宛名

    • 帳票の宛名に利用されます。
    • 入力がない場合、帳票に指定されたpartner_id, partner_codeに紐づく取引先名称が利用されます。
  • partner_sending_method: string - 取引先への送付方法

    • 一括送付時に取引先マスタに登録された送付方法以外を利用したい場合に指定します。
    • 入力がない場合、取引先マスタに登録された送付方法で一括送付を行います。 (選択肢: email, posting, email_and_posting)
  • company_contact_name: string - 自社担当者(デフォルトは操作者の表示ユーザー名が補完されます)

  • company_name: string - 自社名を上書きする場合に指定します。

  • company_description: string - 自社説明を上書きする場合に指定します。。

  • lines*: array[object] - 見積書の明細行 配列の要素:

    • type: string - 明細の種類
      • item: 品目行
      • tax_rate、quantityは必須になります。
      • text: テキスト行
      • descriptionのみ入力可能です。
      • 入力がない場合、itemが利用されます。 (選択肢: item, text)
    • description: string - 摘要(品名)
    • unit: string - 明細の単位名
    • quantity: number - 明細の数量 (整数部は8桁まで、小数部は3桁まで) (最小: -99999999.999, 最大: 99999999.999)
    • unit_price: string - 明細の単価 (整数部は13桁まで、小数部は3桁まで) (パターン: ^-?[0-9]{0,13}(.[0-9]{1,3})?$)
    • tax_rate: number - 税率(%)(帳票の税率計算に用います。) (選択肢: 0, 8, 10)
    • reduced_tax_rate: boolean - 軽減税率対象(true: 対象、 false: 対象外)trueはtax_rate:8の時のみ指定可能です。
    • withholding: boolean - 源泉徴収対象

レスポンス

The request has succeeded and a new resource has been created as a result.

  • quotation*: object

GET /quotations/templates — 使用可能な見積書の帳票テンプレート一覧の取得

使用可能な見積書の帳票テンプレート一覧を返します。

パラメータ

  • company_id*: integer(int64) - 事業所ID

レスポンス

The request has succeeded.

  • templates*: array[object]

GET /quotations/{id} — 見積書の取得

指定されたIDの見積書を返します。

パラメータ

  • company_id*: integer(int64) - 事業所ID
  • id* (path): integer - 見積書ID

レスポンス

The request has succeeded.

  • quotation*: object

PUT /quotations/{id} — 見積書の更新

見積書の更新をします。

パラメータ

  • id* (path): integer - 見積書ID

リクエストボディ*

POST /quotations と同じ

レスポンス

GET /quotations/{id} と同じ

PUT /quotations/{id}/cancel — 見積書の取消

指定された見積書を取消状態にします。

パラメータ

PUT /quotations/{id} と同じ

リクエストボディ*

  • company_id*: integer(int64) - 事業所ID (最小: 1, 最大: 9223372036854775000)

レスポンス

GET /quotations/{id} と同じ

PUT /quotations/{id}/uncancel — 取消された見積書の復元

指定された取消済み見積書を復元します。

パラメータ

PUT /quotations/{id} と同じ

リクエストボディ*

PUT /quotations/{id}/cancel と同じ

レスポンス

GET /quotations/{id} と同じ

Source: SKILL.md on GitHub

1 warningtoday5 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill provides a comprehensive interface for AI agents to interact with the freee suite of APIs (Accounting, HR, Invoices, IT Management, etc.) via the Model Context Protocol (MCP). It includes exhaustive documentation, usage recipes, and security-conscious guidelines that instruct the agent to treat all retrieved financial and tax data as information rather than executable commands.

  • Sockettoday

    No alerts

  • Snyktoday

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    3/83 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f5d1212. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 3 weeks ago
metadata
{
  "author": "freee_jp",
  "homepage": "https://github.com/freee/freee-mcp"
}
  • API
  • MCP
  • freee
  • accounting
  • hr
  • invoicing
  • project-management
  • expense-tracking
  • payroll

README badge

README badge for freee/freee-mcp

Provides detailed API reference and usage guides for freee's accounting, HR, invoicing, project management, sales, and IT management services through the freee-mcp MCP server. Use this skill when you need to query or perform operations on freee data like expense reports, transactions, employee records, timesheets, invoices, or project hours.

Generated from the current SKILL.md.

Does this skill work with both Remote MCP and local setup?
Yes. The skill supports Remote MCP (recommended, auto-authenticated via browser) and local MCP server setup (requires running `npx freee-mcp configure`). Use `freee_server_info` to check which transport mode is active.
Which freee products does this skill cover?
The skill covers accounting, HR/payroll, invoicing, project time tracking, sales management, IT management, and expense applications. Signing (electronic contracts) requires a separate `freee-sign-mcp` setup.
Do I need to specify a company ID for API calls?
Yes. You must first fetch the current company ID using `freee_get_current_company`, and it must match the company you want to operate on. Use `freee_set_current_company` to switch between companies before making API calls.
What should I do if I get an authentication error?
For Remote MCP, the client will prompt for re-authentication; if that fails, remove and re-add the custom connector. For local mode, use `freee_auth_status` to check status, then run `freee_clear_auth` followed by `freee_authenticate`.
Where do I find API details and usage examples?
The skill includes `recipes/` for common workflows (expense applications, deals, payroll, invoicing, etc.) and `references/` with detailed API parameters and response specs. Start with relevant recipes before consulting references.

Generated from the current SKILL.md. These answers refresh after source changes.