AI 开票助手 · 电子发票开具 is an MCP server published by io.github.imoldyoung, hosted at e-invoice-mcp.601096790.workers.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 4 tools, including service_info, invoice_create_draft, invoice_confirm_issue, invoice_query.
对话式开具电子发票(数电票):第一步免费生成发票草稿(自动校验税号、税率并算税),第二步确认开票(需 App Key,按张计费),支持开票记录查询。
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
查看服务介绍、计费方式与联系方式(无需 App Key,免费)。
No parameters.
{
"name": "service_info",
"description": "查看服务介绍、计费方式与联系方式(无需 App Key,免费)。",
"inputSchema": {
"type": "object",
"properties": {}
}
}第 1 步:把订单信息(文字描述或结构化明细)生成发票草稿。自动校验购方税号格式、税率合法性、金额上限,并自动计算税额与价税合计。草稿免费生成,24 小时内有效。
| Parameter | Type | Description |
|---|---|---|
| items * | array | 商品/服务明细 |
| remark | string | 发票备注(如订单号、项目名) |
None yet. Changes appear after a server's second daily check.
| buyer_name * | string | 购方名称(企业/个人抬头) |
| buyer_tax_id | string | 购方税号(统一社会信用代码,15/18/20 位);个人开票传空 |
| invoice_type | string | 发票类型,默认普通发票(数电普票) |
{
"name": "invoice_create_draft",
"description": "第 1 步:把订单信息(文字描述或结构化明细)生成发票草稿。自动校验购方税号格式、税率合法性、金额上限,并自动计算税额与价税合计。草稿免费生成,24 小时内有效。",
"inputSchema": {
"type": "object",
"required": [
"buyer_name",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"amount"
],
"properties": {
"name": {
"type": "string",
"description": "项目名称,如 *餐饮服务*餐费"
},
"unit": {
"type": "string",
"description": "单位,如 份/次"
},
"amount": {
"type": "number",
"description": "不含税金额(元)"
},
"quantity": {
"type": "number",
"description": "数量,默认 1"
},
"tax_rate": {
"type": "number",
"description": "税率,如 0.01、0.06、0.13"
}
}
},
"description": "商品/服务明细"
},
"remark": {
"type": "string",
"description": "发票备注(如订单号、项目名)"
},
"buyer_name": {
"type": "string",
"description": "购方名称(企业/个人抬头)"
},
"buyer_tax_id": {
"type": "string",
"description": "购方税号(统一社会信用代码,15/18/20 位);个人开票传空"
},
"invoice_type": {
"enum": [
"普通发票",
"专用发票"
],
"type": "string",
"description": "发票类型,默认普通发票(数电普票)"
}
}
}
}第 2 步:确认开具草稿。传入 invoice_create_draft 返回的 draft_id,正式提交开票(需 App Key,按张计费)。开票后生成发票号码与交付信息。
| Parameter | Type | Description |
|---|---|---|
| draft_id * | string | 草稿 ID(invoice_create_draft 返回) |
| payer_email | string | 接收发票文件的邮箱(可选) |
{
"name": "invoice_confirm_issue",
"description": "第 2 步:确认开具草稿。传入 invoice_create_draft 返回的 draft_id,正式提交开票(需 App Key,按张计费)。开票后生成发票号码与交付信息。",
"inputSchema": {
"type": "object",
"required": [
"draft_id"
],
"properties": {
"draft_id": {
"type": "string",
"description": "草稿 ID(invoice_create_draft 返回)"
},
"payer_email": {
"type": "string",
"description": "接收发票文件的邮箱(可选)"
}
}
}
}查询当前 App Key 名下的发票草稿与开票记录(需 App Key)。可按状态筛选:draft(草稿)/ issued(已开具)/ all。
| Parameter | Type | Description |
|---|---|---|
| status | string | 筛选状态,默认 all |
| date_to | string | 结束日期 YYYY-MM-DD(可选) |
| date_from | string | 起始日期 YYYY-MM-DD(可选) |
{
"name": "invoice_query",
"description": "查询当前 App Key 名下的发票草稿与开票记录(需 App Key)。可按状态筛选:draft(草稿)/ issued(已开具)/ all。",
"inputSchema": {
"type": "object",
"properties": {
"status": {
"enum": [
"draft",
"issued",
"all"
],
"type": "string",
"description": "筛选状态,默认 all"
},
"date_to": {
"type": "string",
"description": "结束日期 YYYY-MM-DD(可选)"
},
"date_from": {
"type": "string",
"description": "起始日期 YYYY-MM-DD(可选)"
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.