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-references11000600.md

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

別表十(八)社会保険診療報酬に係る損金算入、農地所有適格法人の肉用牛の売却に係る所得の特別控除、特定の基金に対する負担金等の損金算入及び特定業績連動給与の損金算入に関する明細書

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

項目マッピング

帳票項番 項目名 xpath 型 区分値 / envelope
事業年度(自) - 元号 //HOC061[@page='1']/DGA00000/DGA00010/DGA00020 区分 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桁)
事業年度(至) - 元号 //HOC061[@page='1']/DGA00000/DGA00010/DGA00030 区分 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桁)
法人名 //HOC061[@page='1']/DGA00000/DGA00040/DGA00050 文字 envelope.NOZEISHA_NM
└ //IT/NOZEISHA_NM
1 1 社会保険診療報酬に係る損金算入に関する明細書 - 医業又は歯科医業に係る総収入金額 //HOC061[@page='1']/DGB00000/DGB00010 数値
2 - 同上のうち社会保険診療報酬に係る収入金額 //HOC061[@page='1']/DGB00000/DGB00020 数値
3 - 損金算入限度額 //HOC061[@page='1']/DGB00000/DGB00030 数値
4 - 医業又は歯科医業に係る経費の額 //HOC061[@page='1']/DGB00000/DGB00040/DGB00050 数値
5 - 同上のうち社会保険診療報酬に係る経費の額 //HOC061[@page='1']/DGB00000/DGB00040/DGB00060 数値
6 - 損金算入額 //HOC061[@page='1']/DGB00000/DGB00040/DGB00070 数値
7 社会保険診療報酬に係る収入金額 - 2,500万円以下の金額 //HOC061[@page='1']/DGB00000/DGB00080/DGB00090/DGB00100 数値
8 - 2,500万円を超え3,000万円以下の金額 //HOC061[@page='1']/DGB00000/DGB00080/DGB00090/DGB00110 数値
9 - 3,000万円を超え4,000万円以下の金額 //HOC061[@page='1']/DGB00000/DGB00080/DGB00090/DGB00120 数値
10 - 4,000万円を超え5,000万円以下の金額 //HOC061[@page='1']/DGB00000/DGB00080/DGB00090/DGB00130 数値
11 - 計 //HOC061[@page='1']/DGB00000/DGB00080/DGB00090/DGB00140 数値
12 法定経費率による経費の額 - (7)*72/100 //HOC061[@page='1']/DGB00000/DGB00080/DGB00150/DGB00160 数値
13 - (8)*70/100 //HOC061[@page='1']/DGB00000/DGB00080/DGB00150/DGB00170 数値
14 - (9)*62/100 //HOC061[@page='1']/DGB00000/DGB00080/DGB00150/DGB00180 数値
15 - (10)*57/100 //HOC061[@page='1']/DGB00000/DGB00080/DGB00150/DGB00190 数値
16 - 計 //HOC061[@page='1']/DGB00000/DGB00080/DGB00150/DGB00200 数値
17 2 農地所有適格法人の肉用牛の売却に係る所得の特別控除に関する明細書 - 肉用牛の売却に係る原価の額 //HOC061[@page='1']/DGC00000/DGC00010/DGC00020 数値
18 - 肉用牛の売却に係る経費の額 //HOC061[@page='1']/DGC00000/DGC00010/DGC00030 数値
19 - 譲渡原価の額 //HOC061[@page='1']/DGC00000/DGC00010/DGC00040 数値
20 - 肉用牛の売却に係る収益の額 //HOC061[@page='1']/DGC00000/DGC00050/DGC00060 数値
21 - 譲渡原価の額 //HOC061[@page='1']/DGC00000/DGC00050/DGC00070 数値
22 - 特別控除額 //HOC061[@page='1']/DGC00000/DGC00050/DGC00080 数値
【繰り返しグループ】(繰り返しグループ ラッパー: 3 特定の基金に対する負担金等の損金算入に関する明細書) //HOC061[@page='1']/DGD00000/DGD00010[n] Array
23 └ 3 特定の基金に対する負担金等の損金算入に関する明細書 - 基金に係る法人名 //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00020 文字
24 └ - 基金の名称 //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00030 文字
25 └ 告示番号 - 元号 //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00040/DGD00050 区分
└ //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00040/DGD00050/gen:era 1=明治, 2=大正, 3=昭和, 4=平成, 5=令和
└ //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00040/DGD00050/gen:yy 和暦年(2桁)
└ //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00040/DGD00050/gen:mm 月(2桁)
└ //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00040/DGD00050/gen:dd 日(2桁)
25 └ - 第_号 //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00040/DGD00060 文字
26 └ 当期に支出した負担金等の額 //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00070 数値
27 └ 同上のうち損金の額に算入した金額 //HOC061[@page='1']/DGD00000/DGD00010[n]/DGD00080 数値
【繰り返しグループ】(繰り返しグループ ラッパー: 4 特定業績連動給与の損金算入に関する明細書) //HOC061[@page='1']/DGE00000/DGE00010[n] Array
28 └ 4 特定業績連動給与の損金算入に関する明細書 - 特定業績連動給与の支給を受ける役員の氏名 //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00020 文字
29 └ 特定業績連動給与の算定方法に係る報酬委員会の決定等をした日 - 元号 //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00030 区分
└ //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00030/gen:era 1=明治, 2=大正, 3=昭和, 4=平成, 5=令和
└ //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00030/gen:yy 和暦年(2桁)
└ //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00030/gen:mm 月(2桁)
└ //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00030/gen:dd 日(2桁)
30 └ 特定業績連動給与の額 //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00040 数値
31 └ 同上のうち損金の額に算入した金額 //HOC061[@page='1']/DGE00000/DGE00010[n]/DGE00050 数値
30 計 - 特定業績連動給与の額 //HOC061[@page='1']/DGE00000/DGE00060/DGE00070 数値
31 - 同上のうち損金の額に算入した金額 //HOC061[@page='1']/DGE00000/DGE00060/DGE00080 数値
適用事業年度等 //HOC061[@page='1']/DGF00000 文字

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.