AI 开票助手 · 电子发票开具

对话式开具电子发票(数电票):第一步免费生成发票草稿(自动校验税号、税率并算税),第二步确认开票(需 App Key,按张计费),支持开票记录查询。

Should I use this

Quality & Safety

B
Description quality
73%
Schema completeness
80%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • LOWTool 'service_info' description lacks action verbin service_info
  • LOWTool 'invoice_create_draft' description lacks action verbin invoice_create_draft
  • LOWTool 'invoice_query' description lacks action verbin invoice_query

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~661Tokens (tool definitions)
~922 BTypical response size
Moderate attention impact (0.52% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "e-invoice": {
      "url": "https://e-invoice-mcp.601096790.workers.dev/mcp"
    }
  }
}

Remote endpoints

https://e-invoice-mcp.601096790.workers.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪service_info

查看服务介绍、计费方式与联系方式(无需 App Key,免费)。

Input Schema

{
  "type": "object",
  "properties": {}
}
🟡invoice_create_draft(buyer_name, buyer_tax_id, invoice_type, items, remark)

第 1 步:把订单信息(文字描述或结构化明细)生成发票草稿。自动校验购方税号格式、税率合法性、金额上限,并自动计算税额与价税合计。草稿免费生成,24 小时内有效。

Input Schema

{
  "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,按张计费)。开票后生成发票号码与交付信息。

Input Schema

{
  "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。

Input Schema

{
  "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(可选)"
    }
  }
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools
verifiedversion not recorded4 tools