连接器指南阅读约 5 分钟20 个 MCP 工具7 种语言

将 BILL MCP 连接到 Microsoft Copilot

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

BILL

BILL

BILL (Bill.com) accounts payable and receivable: vendors, bills, recurring bills, vendor credits, bill approvals and approval policies, AP payments, customers, invoices, credit memos and received payments. BILL v3 API with a developer key and user sign-in; approving bills is included but installed switched off.

个工具

20

区域

INTL

类别

会计

身份验证

Sign-in token

所需环境变量

BILL_API_URLBILL_DEV_KEYBILL_ORGANIZATION_IDBILL_USERNAMEBILL_PASSWORD
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

摘要

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

引导式设置

2 分钟将 BILL 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 BILL,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

无需信用卡 · 7 天试用 · 提供自托管方案

试试这样问

BILL 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

BILL · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → BILL、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

BILL (Bill.com) + Microsoft Copilot

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

BILL_API_URL, BILL_DEV_KEY, BILL_ORGANIZATION_ID, BILL_USERNAME, BILL_PASSWORD

步骤 1 — 获取凭证

  1. 访问 BILL API 需要一个 developer key。由管理员在 BILL 网页应用中通过 Settings → Sync & Integrations → Manage Developer Keys → Generate developer key 生成。如果想先试用,可以在 https://developer.bill.com 注册一个沙盒开发者账号,它自带一个沙盒密钥。把密钥粘贴到 BILL_DEV_KEY。
  2. 把同一 Manage Developer Keys 页面底部显示的组织 ID 复制到 BILL_ORGANIZATION_ID。它以 008 开头。
  3. 在 BILL_USERNAME 和 BILL_PASSWORD 中填入该组织一位 BILL 用户的邮箱和密码。请使用专门的 API 用户:该用户在 BILL 中的角色决定了 AI 能看到和能做的内容。
  4. 正式环境请把 BILL_API_URL 设为 https://gateway.prod.bill.com/connect,沙盒请设为 https://gateway.stage.bill.com/connect。沙盒 developer key 不能用于正式环境,反之亦然。
  5. 安装连接器后先运行 bill_com_get_session。它会检查登录,并显示连接器以哪个组织和用户的身份工作。

会话:连接器以该用户身份登录,并自行管理会话。会话在 35 分钟无活动后结束,连接器会自动重新登录。

可读取的内容:BILL(原 Bill.com)为美国企业处理应付和应收账款。在应付方面,AI 可以读取供应商、带到期日及付款和审批状态的账单、定期账单、供应商贷项、向供应商的付款、审批策略,以及等待你审批的账单。在应收方面,它可以读取客户、发票、贷项通知单和收款。

从这里开始:可以问问按到期日排序的未付和部分支付的账单、等待你审批的账单,或者仍未结清或部分收款的客户发票。

审批功能安装时默认关闭:bill_com_approve_or_deny_bills 会批准或拒绝等待当前登录用户审批的账单,每张账单可附一条可选备注,批准后的账单随后即可付款。只有在希望 AI 以该用户身份审批账单时才开启它;AI 会从 bill_com_list_pending_approvals 的列表开始。其他所有功能都是只读的。

限制:每个 developer key 每小时 20,000 次请求,每个组织同时 3 个请求,每个 developer key 每小时 200 次登录。错误 BDC_1144 和 BDC_1322 表示达到了限制:请稍候重试。

该连接器不会付款,也不会创建账单或发票。

步骤 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 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 BILL (Bill.com) 的工具的请求。
  6. 选择 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 无法使用。

可用工具

ToolWhat it does
bill_com_get_sessionGet the current API session: organization id, user id and whether the session is MFA trusted
bill_com_list_organizationsList the BILL organizations the signed-in user can access, with organization id and name, including Accountant Console organizations
bill_com_list_vendorsList vendors (payees) with id, name, contact, address, payment details status, bill currency and balance
bill_com_get_vendorGet one vendor by id with contact data, address, payment method and network status, bill currency, balance and accounting links
bill_com_list_customersList customers (AR) with id, name, contact, address, invoice currency, balance and whether they can be charged
bill_com_get_customerGet one customer by id with contact data, billing and shipping address, payment terms, invoice currency and balance
bill_com_list_billsList bills (AP invoices from vendors) with id, vendor, invoice number and date, due date, amount, due amount, payment and approval status
bill_com_get_billGet one bill by id with vendor, invoice number, dates, line items with accounts and classifications, amounts, payment status and approval…
bill_com_list_recurring_billsList recurring bill templates with vendor, schedule, amount and next due date
bill_com_list_vendor_creditsList vendor credits (amounts a vendor owes back) with vendor, credit date, amount, applied amount and status
bill_com_list_invoicesList AR invoices with id, customer, invoice number and date, due date, total, due amount and status
bill_com_get_invoiceGet one AR invoice by id with customer, number, dates, line items, totals, amount due, status and payment link details
bill_com_list_credit_memosList AR credit memos with customer, reference number, credit date, amount, applied amount and status
bill_com_list_paymentsList AP payments made to vendors with id, vendor, amount, process date, disbursement type, status and the bills paid
bill_com_get_paymentGet one AP payment by id with vendor, amount, funding account, process and expected arrival dates, status, disbursement type and bills paid
bill_com_list_received_paymentsList payments received from customers (AR) with customer, amount, payment date, type, status and the invoices they settle
bill_com_get_received_paymentGet one received payment by id with customer, amount, payment date, method, status and the invoices it was applied to
bill_com_list_pending_approvalsList the bills waiting for approval by the signed-in user, with bill, vendor, amount and due date
bill_com_list_approval_policiesList the bill approval policies of the organization: rules (for example amount thresholds or vendors) and the approvers in order
bill_com_approve_or_deny_billsApprove or deny bills waiting for the signed-in user's approval, with an optional comment per bill

示例提示

  • “哪些账单未付或部分支付?按到期日排序,并告诉我未来 14 天内到期的金额。”
  • “哪些账单在等待我审批?分别来自哪些供应商,金额多少?”
  • “列出已过到期日但仍未结清的客户发票,以及尚欠金额。”
  • “本月向供应商付了哪些款项,分别结清了哪些账单?”

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" 即可使用新版本。

下一步

这份指南对你有帮助吗?

2 分钟将 BILL 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 BILL,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

相关指南

连接器

BILL MCP 服务器:账单、发票与付款

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

连接器

将 BILL MCP 连接到 ChatGPT

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

连接器

将 BILL MCP 连接到 Claude

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

连接器

将 BILL MCP 连接到 Cursor

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

连接器

将 BILL MCP 连接到 Gemini CLI

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。

连接器

将 BILL MCP 连接到 Meta Muse

BILL (Bill.com) 应付和应收账款:供应商、应付账单、定期账单、供应商贷项、账单审批和审批策略、应付付款、客户、发票、贷项通知单和收款。通过 developer key 和用户登录使用 BILL v3 API;包含账单审批功能,但安装时默认关闭。