Catégories

Générateur de Reçu/Billet PDF

Crée un reçu PDF au format thermique avec titre en gras et QR code

Générez des reçus compacts pour imprimantes thermiques. **Fonctions** - Largeur thermique 58mm/80mm - Titre en gras et totaux compacts - QR code optionnel pour liens ou commandes **Entrée** - Liste d'articles en JSON - Informations magasin et commande **Sortie** - PDF de reçu prêt à imprimer

Documentation de l'API

Point de terminaison de la requête

POST /fr/api/tools/pdf-receipt-ticket

Paramètres de la requête

Nom du paramètre Type Requis Description
storeName text Oui -
receiptTitle text Non -
items textarea Oui -
currency text Non -
taxRate number Non -
paymentMethod text Non -
orderNumber text Non -
date date Non -
thermalWidth select Non -
qrData text Non -
footerText textarea Non -

Format de réponse

{
  "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)"
}
Fichier: Fichier

Documentation de MCP

Ajoutez cet outil à votre configuration de serveur MCP:

{
  "mcpServers": {
    "elysiatools-pdf-receipt-ticket": {
      "name": "pdf-receipt-ticket",
      "description": "Crée un reçu PDF au format thermique avec titre en gras et QR code",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-receipt-ticket",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Vous pouvez chaîner plusieurs outils, par ex.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 outils.

Si vous rencontrez des problèmes, veuillez nous contacter à [email protected]