跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Invoice123,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
Invoice123(Saskaita123),面向立陶宛和拉脱维亚的开票服务,只读:含收款、付款链接和 PDF 的销售发票、采购、客户、产品、项目、运单、增值税税率、单据编号系列和银行账户。
试试这样问
Invoice123 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Invoice123、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Invoice123 + Microsoft Copilot
Invoice123(Saskaita123),面向立陶宛和拉脱维亚的开票服务,只读:含收款、付款链接和 PDF 的销售发票、采购、客户、产品、项目、运单、增值税税率、单据编号系列和银行账户。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
INVOICE123_API_TOKEN
步骤 1 — 获取凭证
设置大约需要 2 分钟。你需要一个可以安装集成的 Invoice123 账号(在立陶宛叫 Saskaita123)。
- 在 Invoice123 中打开右上角的账号菜单,进入 Integrations(拼图图标)或 Account settings > Integrations,安装 API 集成。
- 点击 Generate your API key,为密钥命名,并勾选允许 AI 使用的权限:至少
invoice:index,按需再加expense:index、client:index、product:index、project:index和waybills:index。发票 PDF 会检查invoice:store,报价单 PDF 会检查commercial:store。 - 只把密钥本身粘贴到
INVOICE123_API_TOKEN,不要加 Bearer 一词、空格或引号。连接器会以Authorization: Bearer发送它。 - 安装连接器并运行
invoice123_get_company检查令牌。
可读取的内容:销售发票,含客户、明细行、增值税、合计、币种、收款和已付标记;单张发票的收款,即何时以何种方式付款(转账、现金、银行卡、收银小票);公司启用了 Montonio 或 Paysera 时发票的在线付款链接;立陶宛语、英语或拉脱维亚语的发票和商业报价单 PDF;采购发票(费用),含费用类型、增值税和付款;客户(客户和供应商);含价格和各仓库库存的产品目录;含预算的项目;运单;以及参考数据:单据编号系列、销售和采购增值税税率、银行账户、计量单位、经营活动、收银机和邮件模板。
AI 如何使用它:需要 ID 时,它先读取参考数据,可以用 invoice123_get_invoice_data 一次读取(经营活动、编号系列、银行、单位、增值税税率和仓库),也可以逐个列表读取。查未结发票时,它按 status(unpaid 或 late)筛选 invoice123_list_invoices,按 range 限定时段,按 client_id 限定客户;然后用 invoice123_list_invoice_payments 查看发票是如何结清的。
只读:全部 21 个工具都只读取。不会在 Invoice123 中开具、发送或修改任何内容,因此无需确认,安装时也没有关闭的工具。
分页、日期和金额:列表返回 data.result 和 data.pagination(current_page、last_page、total);AI 传入 page(从 1 开始)和 limit(默认 20),到 last_page 为止。日期范围是用逗号连接的两个 YYYY-MM-DD 日期。金额是发票币种(通常为 EUR)的字符串。
限制:Standard 套餐每分钟 60 次请求,Business 套餐每小时 1,000 次。超过后 Invoice123 返回 429。
常见错误:401 表示令牌错误或已被删除。403 表示令牌缺少工具说明中列出的权限;采购、运单和报价单还需要在账号中启用对应模块。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Microsoft Copilot 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。
- 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
- 填写 Server name(例如
AnythingMCP)、说明连接器用途的 Server description,以及 Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。 - 身份验证选择 API key,把 Type 设为 Header,请求头名称填
X-API-Key,然后选择 Create。 - 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
- 在智能体的 Test 窗格中试一试:提出需要用到
Invoice123的工具的请求。 - 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。
希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
invoice123_get_company | Get the company profile behind the API token (currently whether the company is VAT registered) |
invoice123_list_invoices | List sales invoices with client, line items, VAT, totals, currency, payments and paid flag, 20 per page by default |
invoice123_list_invoice_payments | List the payments registered for one invoice: type (transfer, cash, refund, other), cash document type and receipt number, amount, date and… |
invoice123_download_invoice_pdf | Download the PDF of an invoice in Lithuanian, English or Latvian; the file is handed over as an attachment |
invoice123_get_invoice_payment_link | Get the online payment link of an invoice, when the company has a payment provider (Montonio or Paysera) enabled |
invoice123_list_invoice_vat_rates | List the VAT rates available on sales invoices: id, VAT code (e.g |
invoice123_get_invoice_data | Get in one call the reference data used on invoices: activities, document series, bank accounts, units, VAT rates and warehouses, with… |
invoice123_list_purchases | List purchase invoices (expenses) with supplier, line items with expense type, VAT, totals, payments and paid flag |
invoice123_list_purchase_vat_rates | List the VAT rates available on purchase invoices: id, VAT code, tariff in percent and reverse-charge article |
invoice123_list_purchase_types | List the expense types (purchase categories) that purchase line items can carry, with their ids |
invoice123_download_commercial_offer_pdf | Download the PDF of a commercial offer (quote) in Lithuanian, English or Latvian; the file is handed over as an attachment |
invoice123_list_clients | List clients (customers and suppliers): id, name, company or personal code, client code, VAT code, address and country |
invoice123_list_products | List the product catalog: id, name, code, price, description, prime cost, type, weight and stock per warehouse |
invoice123_list_projects | List projects with number, description, start and end dates and budget |
invoice123_list_waybills | List waybills (delivery notes) with type, series, receiver, carrier, load and delivery dates and the linked invoice series, at most 50 per… |
invoice123_list_bank_accounts | List the company bank accounts (IBAN, bank name, code, SWIFT, default flag) that invoices show for payment |
invoice123_list_series | List document series (numbering ranges) with id, title and type: simple, advance, credit invoices, and the cash documents kpo, ppk, kio |
invoice123_list_cash_registers | List the company cash registers with register number, last receipt number and receipt pattern |
invoice123_list_units | List the measurement units (pcs, hours, kg...) with their ids, as used on invoice lines |
invoice123_list_activities | List the business activities (for individual activity accounts) with their ids, used to filter invoices and purchases |
invoice123_list_email_templates | List the e-mail templates the company uses to send invoices, with their ids and names |
示例提示
- “哪些发票已逾期?金额是多少?分别是哪些客户的?”
- “开给 UAB Pavyzdys 的最近一张发票是何时、以什么方式付款的?”
- “按费用类型列出本月的采购发票及其增值税。”
- “给我 UAB Pavyzdys 那张未结发票的在线付款链接。”
- “下载我们最新一张发票的英文 PDF。”
FAQ
这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。
我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。
智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。
下一步
这份指南对你有帮助吗?