分类

XLSX 发票/报价单生成器

生成发票或报价单,自动计算总价/税额并支持嵌入 Logo

支持行项目税率、自动汇总、公司与客户信息块、可选 Logo 嵌入。

示例结果

1 个示例

生成含税发票(含 Logo)

自动计算小计、税额与总计,并嵌入公司 Logo

xlsx-invoice-generator-example1.xlsx 查看文件
查看输入参数
{ "documentType": "invoice", "title": "Tax Invoice", "companyInfoJson": "{\n \"name\": \"Elysia Labs Ltd.\",\n \"address\": \"88 Innovation Road, Shanghai\",\n \"taxId\": \"CN-91440000-2026\",\n \"phone\": \"+86-21-8888-6666\",\n \"email\": \"[email protected]\"\n}", "customerInfoJson": "{\n \"name\": \"Nova Commerce\",\n \"address\": \"120 Market Street, Shenzhen\",\n \"email\": \"[email protected]\"\n}", "lineItemsJson": "[\n {\n \"description\": \"Implementation Service\",\n \"quantity\": 3,\n \"unitPrice\": 1200,\n \"taxRate\": 13\n },\n {\n \"description\": \"Support Package\",\n \"quantity\": 2,\n \"unitPrice\": 600\n }\n]", "defaultTaxRate": 13, "invoiceNumber": "INV-2026-031", "issueDate": "2026-03-06", "dueDate": "2026-03-20", "currencySymbol": "$", "logoFile": "/public/samples/images/logo.png" }

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: image/png, image/jpeg

API 文档

请求端点

POST /zh/api/tools/xlsx-invoice-generator

请求参数

参数名 类型 必填 描述
documentType select -
title text -
companyInfoJson textarea -
customerInfoJson textarea -
lineItemsJson textarea -
defaultTaxRate number -
invoiceNumber text -
issueDate date -
dueDate date -
currencySymbol text -
logoFile file (需要先上传) -
notes textarea -

文件类型参数需要先通过 POST /upload/xlsx-invoice-generator 上传获取 filePath,然后将 filePath 传递给对应的文件字段。

响应格式

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
文件: 文件

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-xlsx-invoice-generator": {
      "name": "xlsx-invoice-generator",
      "description": "生成发票或报价单,自动计算总价/税额并支持嵌入 Logo",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=xlsx-invoice-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

支持 URL 文件链接或 Base64 编码作为文件参数。

如果遇见问题,请联系我们:[email protected]