Format Conversion
Erstellt Rechnung oder Angebot mit Steuer und Logo
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/xlsx-invoice-generator' \
-F 'file=@/path/to/logoFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/de/api/tools/xlsx-invoice-generator' \
-F 'documentType=invoice' \
-F 'title=Tax Invoice' \
-F 'companyInfoJson={
"name": "Elysia Labs Ltd.",
"address": "88 Innovation Road, Shanghai",
"taxId": "CN-91440000-2026",
"phone": "+86-21-8888-6666",
"email": "[email protected]"
}' \
-F 'customerInfoJson={
"name": "Nova Commerce",
"address": "120 Market Street, Shenzhen",
"email": "[email protected]"
}' \
-F 'lineItemsJson=[
{
"description": "Implementation Service",
"quantity": 3,
"unitPrice": 1200,
"taxRate": 13
},
{
"description": "Support Package",
"quantity": 2,
"unitPrice": 600
}
]' \
-F 'defaultTaxRate=13' \
-F 'invoiceNumber=INV-2026-031' \
-F 'issueDate=2026-03-06' \
-F 'dueDate=2026-03-20' \
-F 'currencySymbol=$' \
-F 'logoFile=/public/samples/images/logo.png' \
-F 'notes=Thank you for your business.'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/xlsx-invoice-generator| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| documentType | select | Nein | — |
| title | text | Nein | — |
| companyInfoJson | textarea | Ja | — |
| customerInfoJson | textarea | Ja | — |
| lineItemsJson | textarea | Ja | — |
| defaultTaxRate | number | Nein | — |
| invoiceNumber | text | Nein | — |
| issueDate | date | Nein | — |
| dueDate | date | Nein | — |
| currencySymbol | text | Nein | — |
| logoFile | fileUpload nötig | Nein | — |
| notes | textarea | Nein | — |
Dateiergebnis
{
"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)"
}Fügen Sie dieses Werkzeug Ihrem Model-Context-Protocol-Server hinzu, damit KI-Agenten es auflisten und aufrufen können.
Fügen Sie diesen Block Ihrer MCP-Client-Konfiguration hinzu:
{
"mcpServers": {
"elysiatools-xlsx-invoice-generator": {
"name": "xlsx-invoice-generator",
"description": "Erstellt Rechnung oder Angebot mit Steuer und Logo",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=xlsx-invoice-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Nach dem Verbinden mit dem SSE-Endpunkt listen Sie die bereitgestellten Werkzeuge auf:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Rufen Sie das Werkzeug über seine ID auf; Argumente werden aus seiner Parameterliste gebildet:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "xlsx-invoice-generator",
"arguments": {
"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",
"notes": "Thank you for your business."
}
}
}Fragen oder Probleme? Kontakt: [email protected]