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

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

適用額明細書

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

項目マッピング

帳票項番 項目名 xpath 型 区分値 / envelope
事業年度(自) - 元号 //HOE990[@page='1']/MAA00000/MAA00010/MAA00020 区分 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桁)
事業年度(至) - 元号 //HOE990[@page='1']/MAA00000/MAA00010/MAA00030 区分 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桁)
提出区分 //HOE990[@page='1']/MAA00000/MAA00040 区分
└ //HOE990[@page='1']/MAA00000/MAA00040/kubun_CD 1=当初提出分, 2=再提出分
└ //HOE990[@page='1']/MAA00000/MAA00040/kubun_NM kubun_CDに対応する名称(最大30文字)
提出年月日 - 元号 //HOE990[@page='1']/MAA00000/MAA00050 区分 envelope.TEISYUTSU_DAY
└ //IT/TEISYUTSU_DAY/gen:era 1=明治, 2=大正, 3=昭和, 4=平成, 5=令和
└ //IT/TEISYUTSU_DAY/gen:yy 和暦年(2桁)
└ //IT/TEISYUTSU_DAY/gen:mm 月(2桁)
└ //IT/TEISYUTSU_DAY/gen:dd 日(2桁)
税務署名 //HOE990[@page='1']/MAA00000/MAA00060 区分 envelope.ZEIMUSHO
└ //IT/ZEIMUSHO
納税地 //HOE990[@page='1']/MAA00000/MAA00070 文字 envelope.NOZEISHA_ADR
└ //IT/NOZEISHA_ADR
納税地電話番号 - 市外局番 //HOE990[@page='1']/MAA00000/MAA00080 文字 envelope.NOZEISHA_TEL
└ //IT/NOZEISHA_TEL/gen:tel1 市外局番
└ //IT/NOZEISHA_TEL/gen:tel2 市内局番
└ //IT/NOZEISHA_TEL/gen:tel3 加入者番号
法人名(カナ) //HOE990[@page='1']/MAA00000/MAA00090/MAA00100 文字 envelope.NOZEISHA_NM_KN
└ //IT/NOZEISHA_NM_KN
法人名 //HOE990[@page='1']/MAA00000/MAA00090/MAA00110 文字 envelope.NOZEISHA_NM
└ //IT/NOZEISHA_NM
法人番号 //HOE990[@page='1']/MAA00000/MAA00115 文字 envelope.NOZEISHA_BANGO
└ //IT/NOZEISHA_BANGO/gen:hojinbango 13桁数値
期末現在の資本金の額又は出資金の額 //HOE990[@page='1']/MAA00000/MAA00120 数値 envelope.SHIHON_KIN
└ //IT/SHIHON_KIN
所得金額又は欠損金額 //HOE990[@page='1']/MAA00000/MAA00130 数値
提出枚数 - 総数 //HOE990[@page='1']/MAA00000/MAA00140/MAA00150 数値
- うち_枚目 //HOE990[@page='1']/MAA00000/MAA00140/MAA00160 数値
事業種目 //HOE990[@page='1']/MAA00000/MAA00170 文字 envelope.JIGYO_NAIYO
└ //IT/JIGYO_NAIYO
業種番号 //HOE990[@page='1']/MAA00000/MAA00180 文字
【繰り返しグループ】(繰り返しグループ ラッパー: 租税特別措置法の条項) //HOE990[@page='1']/MAB00000[n] Array
└ 租税特別措置法の条項 - 旧条項 //HOE990[@page='1']/MAB00000[n]/MAB00010/MAB00015 文字
└ - 第_条 //HOE990[@page='1']/MAB00000[n]/MAB00010/MAB00020 文字
└ - 条_ //HOE990[@page='1']/MAB00000[n]/MAB00010/MAB00030 文字
└ - 第_項 //HOE990[@page='1']/MAB00000[n]/MAB00010/MAB00040 文字
└ - 第_号 //HOE990[@page='1']/MAB00000[n]/MAB00010/MAB00050 文字
└ - 号_ //HOE990[@page='1']/MAB00000[n]/MAB00010/MAB00060 文字
└ 区分番号 //HOE990[@page='1']/MAB00000[n]/MAB00070 文字
└ 適用額 //HOE990[@page='1']/MAB00000[n]/MAB00080 数値

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.