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.

tax-return-references10200000.md

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

別表二 同族会社等の判定に関する明細書

<!-- markdownlint-disable MD013 -->
  • sheet_code: 10200000
  • 様式ID: HOA201
  • 電子申告: e-Tax(国税)
  • 取得API: GET /hub/tax_return/corporate/sheet/national/{tax_return_id}/10200000
  • レスポンス: XTX(XML)
  • xpath ルート: //HOA201[@page='1']
  • 共通仕様(xpath 表記の規則・名前空間・共通ヘッダ)は index.md を参照。

項目マッピング

帳票項番 項目名 xpath 型 区分値 / envelope
事業年度(自) - 元号 //HOA201[@page='1']/VAA00000/VAA00010/VAA00020 区分 envelope.JIGYO_NENDO_FROM
└ //IT/JIGYO_NENDO_FROM/gen:era 1=明治, 2=大正, 3=昭和, 4=平成, 5=令和
└ //IT/JIGYO_NENDO_FROM/gen:yy 和暦年(2桁)
└ //IT/JIGYO_NENDO_FROM/gen:mm 月(2桁)
└ //IT/JIGYO_NENDO_FROM/gen:dd 日(2桁)
事業年度(至) - 元号 //HOA201[@page='1']/VAA00000/VAA00010/VAA00030 区分 envelope.JIGYO_NENDO_TO
└ //IT/JIGYO_NENDO_TO/gen:era 1=明治, 2=大正, 3=昭和, 4=平成, 5=令和
└ //IT/JIGYO_NENDO_TO/gen:yy 和暦年(2桁)
└ //IT/JIGYO_NENDO_TO/gen:mm 月(2桁)
└ //IT/JIGYO_NENDO_TO/gen:dd 日(2桁)
法人名 //HOA201[@page='1']/VAA00000/VAA00040 文字 envelope.NOZEISHA_NM
└ //IT/NOZEISHA_NM
1 同族会社の判定 - 期末現在の発行済株式の総数又は出資の総額 内書き //HOA201[@page='1']/VAB00000/VAB00005 数値
1 - 期末現在の発行済株式の総数又は出資の総額 本書き //HOA201[@page='1']/VAB00000/VAB00010 数値
2 - (19)と(21)の上位3順位の株式数又は出資の金額 //HOA201[@page='1']/VAB00000/VAB00020 数値
3 - 株式数等による判定 //HOA201[@page='1']/VAB00000/VAB00030 数値
4 - 期末現在の議決権の総数 内書き //HOA201[@page='1']/VAB00000/VAB00040/VAB00050 数値
4 - 期末現在の議決権の総数 本書き //HOA201[@page='1']/VAB00000/VAB00040/VAB00060 数値
5 - (20)と(22)の上位3順位の議決権の数 //HOA201[@page='1']/VAB00000/VAB00070 数値
6 - 議決権の数による判定 //HOA201[@page='1']/VAB00000/VAB00080 数値
7 - 期末現在の社員の総数 //HOA201[@page='1']/VAB00000/VAB00090 数値
8 - 社員の3人以下及びこれらの同族関係者の合計人数のうち最も多い数 //HOA201[@page='1']/VAB00000/VAB00100 数値
9 - 社員の数による判定 //HOA201[@page='1']/VAB00000/VAB00110 数値
10 - 同族会社の判定割合 //HOA201[@page='1']/VAB00000/VAB00120 数値
11 特定同族会社の判定 - (21)の上位1順位の株式数又は出資の金額 //HOA201[@page='1']/VAC00000/VAC00010 数値
12 - 株式数等による判定 //HOA201[@page='1']/VAC00000/VAC00020 数値
13 - (22)の上位1順位の議決権の数 //HOA201[@page='1']/VAC00000/VAC00030 数値
14 - 議決権の数による判定 //HOA201[@page='1']/VAC00000/VAC00040 数値
15 - (21)の社員の1人及びその同族関係者の合計人数のうち最も多い数 //HOA201[@page='1']/VAC00000/VAC00050 数値
16 - 社員の数による判定 //HOA201[@page='1']/VAC00000/VAC00060 数値
17 - 特定同族会社の判定割合 //HOA201[@page='1']/VAC00000/VAC00070 数値
18 判定結果 //HOA201[@page='1']/VAD00000 区分
└ //HOA201[@page='1']/VAD00000/kubun_CD 1=特定同族会社, 2=同族会社, 3=非同族会社
└ //HOA201[@page='1']/VAD00000/kubun_NM kubun_CDに対応する名称(最大30文字)
判定基準となる株主等の株式数等の明細 本人 - 株式数等 //HOA201[@page='1']/VAE00000/VAE00010/VAE00020/VAE00030 数値
- 議決権数 //HOA201[@page='1']/VAE00000/VAE00010/VAE00020/VAE00040 数値
- 住所又は所在地 //HOA201[@page='1']/VAE00000/VAE00010/VAE00050/VAE00060 文字
- 氏名又は法人名 //HOA201[@page='1']/VAE00000/VAE00010/VAE00050/VAE00070 文字
19 - 被支配会社でない法人株主等 株式数又は出資の金額 //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00090/VAE00100 数値
20 - 被支配会社でない法人株主等 外書文字(外) //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00090/VAE00103 文字
20 - 被支配会社でない法人株主等 議決権の数(外書き) //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00090/VAE00105 数値
20 - 被支配会社でない法人株主等 議決権の数(本書き) //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00090/VAE00110 数値
21 - その他の株主等 株式数又は出資の金額 //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00120/VAE00130 数値
22 - その他の株主等 外書文字(外) //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00120/VAE00140/VAE00145 文字
22 - その他の株主等 議決権の数 外書き //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00120/VAE00140/VAE00155 数値
22 - その他の株主等 議決権の数 本書き //HOA201[@page='1']/VAE00000/VAE00010/VAE00080/VAE00120/VAE00140/VAE00160 数値
【繰り返しグループ】(繰り返しグループ ラッパー: 判定基準となる株主等の株式数等の明細 空白部) //HOA201[@page='1']/VAE00000/VAE00170[n] Array
└ 判定基準となる株主等の株式数等の明細 空白部 - 株式数等 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00180/VAE00190 数値
└ - 議決権数 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00180/VAE00200 数値
└ - 住所又は所在地 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00210/VAE00220 文字
└ - 氏名又は法人名 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00210/VAE00230 文字
└ - 判定基準となる株主等との続柄 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00235 区分
└ //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00235/kubun_CD 01=本人, 02=配偶者, 03=父, 04=母, 05=義父, 06=義母, 07=長男, 08=次男, 09=三男, 10=長女, 11=次女, 12=三女, 13=子, 14=孫, 15=祖父, 16=祖母, 17=兄弟, 18=姉妹, 90=その他
└ //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00235/kubun_NM kubun_CDに対応する名称(最大30文字)
19 └ - 被支配会社でない法人株主等 株式数又は出資の金額 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00260/VAE00270 数値
20 └ - 被支配会社でない法人株主等 外書文字(外) //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00260/VAE00273 文字
20 └ - 被支配会社でない法人株主等 議決権の数(外書き) //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00260/VAE00275 数値
20 └ - 被支配会社でない法人株主等 議決権の数(本書き) //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00260/VAE00280 数値
21 └ - その他の株主等 株式数又は出資の金額 //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00290/VAE00300 数値
22 └ - その他の株主等 外書文字(外) //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00290/VAE00310/VAE00315 文字
22 └ - その他の株主等 議決権の数 外書き //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00290/VAE00310/VAE00325 数値
22 └ - その他の株主等 議決権の数 本書き //HOA201[@page='1']/VAE00000/VAE00170[n]/VAE00250/VAE00290/VAE00310/VAE00330 数値
適用事業年度等 //HOA201[@page='1']/VAF00000 文字

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.