Tous les outils

Finance · accounting_create_invoice

Créer une facture (brouillon)

Facture client en brouillon dans le logiciel comptable ou ERP connecté, validée ensuite par un humain.

Prix
inclus
Prérequis
Pennylane ou Odoo ou Xero ou QuickBooks ou Sage Business Cloud
à brancher dans Paramètres → Intégrations
Validation humaine
Oui, par défaut
écriture vers l'extérieur : un humain valide
Fiabilité
Vérifié
pas encore mesuré

Entrée

ChampTypeDescription
customer *objectCustomer: id from accounting_search, or exact name (created if unknown, Odoo only).
lines *array
datestringYYYY-MM-DD, default today.
dueDatestringYYYY-MM-DD.
currencystringISO code, default the provider default.
referencestringYour reference (PO number, contract…).
itemIdstringQuickBooks only: Item id for the lines.
ledgerAccountIdstringSage only: sales ledger account id.
taxRateIdstringSage only: tax rate id.
providerpennylane | odoo | xero | quickbooks | sage

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"accounting_create_invoice","input":{"customer":"…","lines":[],"date":"…","dueDate":"…"}}'
$run({ "tool": "accounting_create_invoice", "input": {"customer":"…","lines":[],"date":"…","dueDate":"…"} })