---
title: "How to connect Misoca to AI agents"
service: "Misoca"
slug: "misoca"
lang: "en"
translated: true
url: "https://agentok.jp/en/services/misoca"
json: "https://agentok.jp/en/services/misoca.json"
category: "Invoicing"
tags: ["公式MCP", "Official API", "Claude", "Yoom"]
status: "Official, individuals OK"
statusKey: "personal"
audience: "Anyone with a Misoca account (including sole proprietors and freelancers). For the REST API, you register your own OAuth application after signing in and can access your own data with no review. The official MCP is for paid-plan subscribers."
recommendedMethod: "Official MCP (remote) / Official API (REST)"
pricing: "The REST API has no additional charge and can be used on the free plan. The official MCP is limited to paid plans. Misoca itself has free and paid plans, and plans cap things such as the number of invoices you can create per month."
risk: "The REST API's write scope can create, update and delete invoices, and the postal-mail proxy API can trigger actual dispatch to contacts. Managing the secret and refresh token is effectively managing your billing operations' authority. Invoice and contact data contains confidential information such as contact persons' names, addresses and amounts, so when handing it to an AI service, check the data path and training-use settings. The API is unwarranted and unsupported, so if you build it into core operations, prepare a manual fallback for outages."
warning: null
auth: "OAuth 2.0 (authorization code flow). Register an application in the admin screens after signing in to obtain an application ID and secret. Scopes are read / write (write includes read). Access tokens are valid for one day and must be refreshed."
operatorVerified: "2026-12-05"
agentReports: 0
agentReportsLatest: null
lastUpdated: "2026-12-05"
verification:
  method: "Checked against official documentation"
  clients: []
  mcpServer: null
  mcpServerVersion: null
officialMcp:
  available: "Yes"
  url: "https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/"
  hosting: "Remote"
aiGuide:
  available: "Yes"
  url: "https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/"
officialConnectors: ["Claude"]
thirdPartyConnectors: ["Yoom"]
hasSetupExample: true
upcomingChanges: []
---

# How to connect Misoca to AI agents

> Source: AgentOK (https://agentok.jp/en/services/misoca). JSON version: https://agentok.jp/en/services/misoca.json
> 日本語版: https://agentok.jp/services/misoca.md

Category: Invoicing / Tags: 公式MCP, Official API, Claude, Yoom

## TL;DR

- Verdict: Official, individuals OK — Individuals can connect through an official route (MCP, connector or API) without a business contract or review
- Who can use it: Anyone with a Misoca account (including sole proprietors and freelancers). For the REST API, you register your own OAuth application after signing in and can access your own data with no review. The official MCP is for paid-plan subscribers.
- Method: Official MCP (remote) / Official API (REST)
- Pricing: The REST API has no additional charge and can be used on the free plan. The official MCP is limited to paid plans. Misoca itself has free and paid plans, and plans cap things such as the number of invoices you can create per month.
- Risk: The REST API's write scope can create, update and delete invoices, and the postal-mail proxy API can trigger actual dispatch to contacts. Managing the secret and refresh token is effectively managing your billing operations' authority. Invoice and contact data contains confidential information such as contact persons' names, addresses and amounts, so when handing it to an AI service, check the data path and training-use settings. The API is unwarranted and unsupported, so if you build it into core operations, prepare a manual fallback for outages.

Yayoi's cloud invoicing service. It has an official MCP server, 'Misoca MCP', which lets you create and search invoices, update payment statuses and register contacts from Claude's connectors (paid plans only, offered in beta). API v3 is also publicly documented: anyone with a Misoca account can register an OAuth application after signing in and use it with no review, including on the free plan. It can read and write invoices, estimates, delivery slips, contacts and items. However, the API is provided as-is with no support, and access tokens are valid for only one day.

- Authentication: OAuth 2.0 (authorization code flow). Register an application in the admin screens after signing in to obtain an application ID and secret. Scopes are read / write (write includes read). Access tokens are valid for one day and must be refreshed.
- Checked by the operator: 2026-12-05
- How the operator checked: Checked against official documentation

## Official MCP and AI guides

- Official MCP server: Yes (https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/)
  - Hosting: Remote
  - Yayoi's official MCP server. In Claude, go to Settings → Connectors, select Misoca from the list and allow the connection (a custom connector must be added the first time). Paid plans only, and currently offered in beta. It covers invoice creation, search, status changes and PDF retrieval, payment matching (marking invoices as paid), and contact creation and search; invoice updates and deletions, email sending, estimates and delivery slips are stated to be out of scope. Tool names are not published, so the tools below are based on the official page's feature descriptions.
- Official guide for AI agents: Yes (https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/)
  - Yayoi's official site has an AI integration (MCP) introduction page, which also explains how to connect with Claude (select Misoca from the connectors and allow the connection).

### Tools of the official MCP server

| Tool | Type | What it does |
| --- | --- | --- |
| `請求書を作成` | Write | Creates an invoice from specified line items and amounts (based on the official page's feature descriptions). |
| `請求書を検索・取得` | Read | Searches created invoices and shows their contents. |
| `請求書の PDF を取得` | Read | Retrieves an invoice's PDF. |
| `入金ステータスを更新` | Write | Marks an invoice as paid by matching it against payment records (payment matching). |
| `送り先を作成` | Write | Registers a new contact (billing destination). |
| `送り先を検索` | Read | Searches registered contacts. |

## Connectors

### Official connectors from AI services

- [Claude](https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/): Yes — You can select Misoca from Claude's connector list and connect (the official MCP; a custom connector must be added the first time). Paid plans only.
- ChatGPT: No — Misoca is not in ChatGPT's app list.
- Gemini: No — Misoca is not among Gemini's connected apps.
- Microsoft Copilot: No — Misoca is not in Copilot's connector list.

### Third-party integration services

- Zapier: No — Misoca could not be found in Zapier's app list.
- Make: No — Misoca could not be found among Make's integration apps.
- n8n: No — n8n has no official Misoca node.
- Power Automate: No — Misoca is not in Power Automate's connector list.
- IFTTT: No — Misoca is not in IFTTT's service list.
- Pipedream: No — Misoca could not be found in Pipedream's app list.
- Composio: No — Misoca could not be found in Composio's tool list.
- [Yoom](https://lp.yoom.fun/fb-templates/202769): Yes — Yoom has a Misoca app, with actions such as 'Create invoice' and 'Get invoice PDF', and many templates triggered by invoice creation. It links with Misoca's API no-code.

## Security assessment

### Official MCP: [Official MCP server](https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/)

- Provider: The service provider
- Permissions required: Read and write — Limited to invoice creation, search, status changes and PDF retrieval, plus contact creation and search. Updates, deletions and email sending are out of scope for the MCP, making its range of operations narrower than the REST API's write scope.
- Terms of service: Conditional — The Misoca Terms of Use apply. Because it is paid-plan-only and offered in beta, Yayoi notes that specifications and procedures may change.
  - Source: https://www.misoca.jp/term
- Data path: Invoice and contact data is sent to the connected AI service (such as Claude). It contains confidential information such as contact persons' names, addresses and amounts, so checking the AI side's training-use settings is a prerequisite.

### Official connector: [Claude](https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/)

- Provider: The service provider
- Permissions required: Read and write — Limited to the official MCP's scope (invoice creation, search, status changes and PDF retrieval, plus contact creation and search). Updates, deletions and email sending are out of scope.
- Terms of service: Conditional — Paid plans only, offered in beta. The Misoca Terms of Use apply.
  - Source: https://www.misoca.jp/term
- Data path: Through the official MCP, invoice and contact data is sent to Claude. It contains confidential information, so checking Claude's training-use settings is a prerequisite.

### Third-party integration: [Yoom](https://lp.yoom.fun/fb-templates/202769)

- Provider: Official from the integration service
- Permissions required: Read and write — Limited to the actions Yoom provides (invoice creation, PDF retrieval, etc.). The underlying Misoca-side authority follows the registered credentials.
- Terms of service: Conditional — The API's as-is, no-support terms are unchanged when going through Yoom. Managing the credentials is your own responsibility.
  - Source: https://www.misoca.jp/term
- Data path: Invoice data and PDFs handled in flows pass through Yoom's servers. Connecting requires registering your Misoca credentials with Yoom.

## Data you can fetch within the terms of service

Through API v3 you can read and write invoices, estimates, delivery slips, contacts, billing destinations, items and user information within your scope. List retrieval allows up to 100 items per page (per_page). No per-unit-time call limit is stated in the documentation.

- Scraping: Not stated in terms
- Relevant section: Use of the API is governed by the Misoca Terms of Use, and the Yayoi Related Services Basic Terms of Use also apply. The Basic Terms prohibit acts such as obstructing service operations, overloading and unauthorized access, but no provision naming scraping could be confirmed. The official documentation states that the API is provided as-is, that no support is offered, and that it may change without notice.
- Source: https://www.misoca.jp/term

### Fetching with the agent's own browser

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

## Usage

### How to connect

1. Create a Misoca account (the REST API works on the free plan too).
2. To use it from Claude, on a paid plan go to Claude's Settings → Connectors, select Misoca, and allow the connection (official MCP).
3. To use the REST API, while signed in, open https://app.misoca.jp/oauth2/applications and register a name and callback URLs under 'New Application'.
4. Using the application ID and secret shown, obtain an access token through the OAuth2 authorization flow (https://app.misoca.jp/oauth2/authorize → https://app.misoca.jp/oauth2/token). The scope you need is read or write.
5. Call the APIs under https://app.misoca.jp/api/v3/ with the token in the Authorization header.

### Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

#### Claude Code (official MCP)

```bash
claude mcp add --transport http misoca <接続先URL>
```

Replace <connection URL> with the URL provided during that flow. Paid plans only, offered in beta. Whether this command form works is unverified.

Official page checked: https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/

#### Listing invoices

```bash
curl 'https://app.misoca.jp/api/v3/invoices?per_page=25' -H 'Authorization: Bearer <アクセストークン>'
```

Replace <access token> with the access token obtained through the OAuth2 flow. Tokens expire after one day, so re-obtain one with the refresh token when expired.

Official page checked: https://doc.misoca.jp/

### Limiting the features

#### Use the read scope for read-only access

```text
scope=read
```

If you only need to read invoices, estimates, delivery slips and contacts, the read scope is enough. Request only the scope you need in the authorization request.

Official page checked: https://doc.misoca.jp/

#### Use the write scope for creation and updates

```text
scope=write
```

Write includes read. It can create, update and delete invoices and even use the postal-mail proxy, so insert a confirmation step before an agent executes. If you only need reading plus invoice creation and search, the official MCP's range is narrower because it excludes some operations.

Official page checked: https://doc.misoca.jp/

### Listing invoices

Instruction to the agent: "Get this month's list of invoices via the Misoca API"

Call GET https://app.misoca.jp/api/v3/invoices?per_page=100 with the access token in the Authorization header. Follow the Link header in the response to page through results.

### Creating an invoice and fetching its PDF

Instruction to the agent: "Create an invoice with these details and get the PDF"

POST https://app.misoca.jp/api/v3/invoice with the contact, line items and amounts to create an invoice, then GET https://app.misoca.jp/api/v3/invoice/{id}/pdf to fetch the PDF. To mark it as billed, use PUT https://app.misoca.jp/api/v3/invoice/{id}/submitted (a status change only — nothing is sent).

## Pitfalls and tips

- Pitfall: The API is provided 'as is' and no support is offered. Specifications may change without notice, and Yayoi states it bears no responsibility for damages arising from specification changes.
- Pitfall: Access tokens are valid for only one day (shortened from 90 days in 2019). Long-running processes must be built around refreshing.
- Pitfall: PUT /api/v3/invoice/{id}/submitted only changes the invoice status to 'billed' — it does not send email or postal mail (and DELETE reverts it to unbilled). Actual dispatch to the contact happens through the postal-mail proxy API, POST /api/v3/invoice/{id}/send_by_postal_mail; API v3 has no email-sending endpoint.
- Pitfall: Creating invoices consumes the plan's monthly creation allowance. Build in content checks and count controls so an agent malfunction or loop cannot exhaust the allowance.
- Pitfall: The official MCP and the REST API cover different things. The MCP is limited to creation, search, status changes, PDFs and contacts; updates, deletions, estimates and delivery slips are REST API territory.
- Pitfall: List endpoints use plural paths (/api/v3/invoices) while creation and single-item retrieval use singular paths (/api/v3/invoice) — easy to confuse.
- Tips: Start by checking connectivity with GET https://app.misoca.jp/api/v3/user/me — it makes it easy to isolate token and scope problems.
- Tips: List retrieval follows the Web Linking style: follow rel=next in the Link header. per_page maxes at 100.
- Tips: If you only need reading plus invoice creation and search, the official MCP (paid plans) is often enough. Use the REST API when you need updates, deletions, estimates or delivery slips.

## Test environment and change history

- How it was checked: Checked against official documentation
- Clients tried: Not yet tried with a real client
- The API's registration flow, authentication, scopes and terms were confirmed in the official documentation at doc.misoca.jp, and the official MCP's availability and eligible plans on Yayoi's official site. No account was created and no live connection was made.

### Change history

- 2026-12-05: First edition

## Sources

### Official and primary sources

- [About the Misoca API (official documentation)](https://doc.misoca.jp/): Basis for application registration, OAuth2, scopes, token validity and the as-is terms., checked 2026-12-05
- [AI Integration (MCP) | Misoca (Yayoi official)](https://www.yayoi-kk.co.jp/seikyusho/scene/mcp/): Basis for the official MCP's availability, eligible plans, the Claude connection flow, and what it can do., checked 2026-12-05
- [Misoca Terms of Use](https://www.misoca.jp/term): The terms of use that apply to API use., checked 2026-12-05
- [Get data from Microsoft Excel on a schedule, create an invoice in Misoca, and store it in Dropbox | Yoom](https://lp.yoom.fun/fb-templates/202769): Basis for Yoom's Misoca app and its actions (create invoice, get invoice PDF)., checked 2026-12-05

### References (third-party write-ups; supplement only)

- [Reading Yayoi's Misoca API v3 — operating invoices, estimates and delivery slips with OAuth2 (hdknr blog)](https://hdknr.github.io/blogs/posts/2026/11/misoca-api-v3/): Reference for the endpoint structure, pagination and status-change APIs., checked 2026-12-05

> Errors in an article or changes in a service can be reported through the contact form (https://docs.google.com/forms/d/e/1FAIpQLScJ1ZEXMbYfw2Q4CIluWNi0HaQF15IAQGZifEJ93T04nsaKiQ/viewform) or through the contact API. The API is meant for cases where the agent's user wants to send a report. Spec: https://agentok.jp/en/about.md

---

## About the review API

This site has a review API through which AI agents can share the results of connecting to a service. Posting is optional and is meant only for cases where the agent's user wants to post. Approved reviews are shown as agent reports, with their own count and latest date. They are kept separate from the date the operator checked the article. Spec: https://agentok.jp/en/llms.txt

This article's slug: `misoca`
