{"service":"Libeo Webhook Server","version":"2.0.0 - Version Simplifiée","workflow":{"description":"Webhook → Invoice → customInvoiceNumber → Sellsy Smart Tag","steps":["1. Réception webhook Libeo avec invoice_id","2. GET /invoice/{invoice_id} pour récupérer customInvoiceNumber","3. Sellsy: trouver BC + ajouter smart tag selon statut paiement"],"events":{"direct_debit.processed":"→ Smart tag 'Paiement en cours'","invoice.update (status=paid)":"→ Smart tag 'Payé'"}},"endpoints":{"webhook":"POST /webhooks/libeo","test":"POST /test-workflow/{invoice_id}","debug":"GET /debug/invoice/{invoice_id}","health":"GET /health","docs":"GET /docs"},"status":"✅ Prêt pour les tests"}