对话式开具电子发票(数电票):第一步免费生成发票草稿(自动校验税号、税率并算税),第二步确认开票(需 App Key,按张计费),支持开票记录查询。
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
购买服务后发放的 App Key(体验包 ¥10/10 张起)
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
第 2 步:确认开具草稿。传入 invoice_create_draft 返回的 draft_id,正式提交开票(需 App Key,按张计费)。开票后生成发票号码与交付信息。
草稿 ID(invoice_create_draft 返回)
接收发票文件的邮箱(可选)
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
第 2 步:确认开具草稿。传入 invoice_create_draft 返回的 draft_id,正式提交开票(需 App Key,按张计费)。开票后生成发票号码与交付信息。
| Argument | Type | Description |
|---|---|---|
| draft_id* | string | 草稿 ID(invoice_create_draft 返回) |
| payer_email | string | 接收发票文件的邮箱(可选) |
{
"type": "object",
"required": [
"draft_id"
],
"properties": {
"draft_id": {
"type": "string",
"description": "草稿 ID(invoice_create_draft 返回)"
},
"payer_email": {
"type": "string",
"description": "接收发票文件的邮箱(可选)"
}
}
}第 1 步:把订单信息(文字描述或结构化明细)生成发票草稿。自动校验购方税号格式、税率合法性、金额上限,并自动计算税额与价税合计。草稿免费生成,24 小时内有效。
| Argument | Type |
|---|
| Description |
|---|
| items* | array | 商品/服务明细 |
| remark | string | 发票备注(如订单号、项目名) |
| buyer_name* | string | 购方名称(企业/个人抬头) |
| buyer_tax_id | string | 购方税号(统一社会信用代码,15/18/20 位);个人开票传空 |
| invoice_type | string | 发票类型,默认普通发票(数电普票) |
{
"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": "发票类型,默认普通发票(数电普票)"
}
}
}查询当前 App Key 名下的发票草稿与开票记录(需 App Key)。可按状态筛选:draft(草稿)/ issued(已开具)/ all。
| Argument | Type | Description |
|---|---|---|
| status | string | 筛选状态,默认 all |
| date_to | string | 结束日期 YYYY-MM-DD(可选) |
| date_from | string | 起始日期 YYYY-MM-DD(可选) |
{
"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(可选)"
}
}
}查看服务介绍、计费方式与联系方式(无需 App Key,免费)。
No arguments.
{
"type": "object",
"properties": {}
}