AI 开票助手 · 电子发票开具
对话式开具电子发票(数电票):第一步免费生成发票草稿(自动校验税号、税率并算税),第二步确认开票(需 App Key,按张计费),支持开票记录查询。
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- LOWen service_info
- LOWen invoice_create_draft
- LOWen invoice_query
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"e-invoice": {
"url": "https://e-invoice-mcp.601096790.workers.dev/mcp"
}
}
}Puntos de conexión remotos
https://e-invoice-mcp.601096790.workers.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
⚪service_info
查看服务介绍、计费方式与联系方式(无需 App Key,免费)。
Esquema de entrada
{
"type": "object",
"properties": {}
}🟡invoice_create_draft(buyer_name, buyer_tax_id, invoice_type, items, remark)
第 1 步:把订单信息(文字描述或结构化明细)生成发票草稿。自动校验购方税号格式、税率合法性、金额上限,并自动计算税额与价税合计。草稿免费生成,24 小时内有效。
Esquema de entrada
{
"type": "object",
"properties": {
"buyer_name": {
"type": "string",
"description": "购方名称(企业/个人抬头)"
},
"buyer_tax_id": {
"type": "string",
"description": "购方税号(统一社会信用代码,15/18/20 位);个人开票传空"
},
"invoice_type": {
"type": "string",
"enum": [
"普通发票",
"专用发票"
],
"description": "发票类型,默认普通发票(数电普票)"
},
"items": {
"type": "array",
"description": "商品/服务明细",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "项目名称,如 *餐饮服务*餐费"
},
"amount": {
"type": "number",
"description": "不含税金额(元)"
},
"tax_rate": {
"type": "number",
"description": "税率,如 0.01、0.06、0.13"
},
"quantity": {
"type": "number",
"description": "数量,默认 1"
},
"unit": {
"type": "string",
"description": "单位,如 份/次"
}
},
"required": [
"name",
"amount"
]
}
},
"remark": {
"type": "string",
"description": "发票备注(如订单号、项目名)"
}
},
"required": [
"buyer_name",
"items"
]
}🟡invoice_confirm_issue(draft_id, payer_email)
第 2 步:确认开具草稿。传入 invoice_create_draft 返回的 draft_id,正式提交开票(需 App Key,按张计费)。开票后生成发票号码与交付信息。
Esquema de entrada
{
"type": "object",
"properties": {
"draft_id": {
"type": "string",
"description": "草稿 ID(invoice_create_draft 返回)"
},
"payer_email": {
"type": "string",
"description": "接收发票文件的邮箱(可选)"
}
},
"required": [
"draft_id"
]
}🟢invoice_query(status, date_from, date_to)
查询当前 App Key 名下的发票草稿与开票记录(需 App Key)。可按状态筛选:draft(草稿)/ issued(已开具)/ all。
Esquema de entrada
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"draft",
"issued",
"all"
],
"description": "筛选状态,默认 all"
},
"date_from": {
"type": "string",
"description": "起始日期 YYYY-MM-DD(可选)"
},
"date_to": {
"type": "string",
"description": "结束日期 YYYY-MM-DD(可选)"
}
}
}Comunidad
Evidencia