Connect your application to Novadesko and automate invoices, customers, payments and accounting reports.
All API requests require a token in the HTTP header.
Authorization: Bearer {token}
To obtain a token:
curl -X POST https://api.novadesko.com/api/login \
-H "Content-Type: application/json" \
-d '{"email":"john@doe.com","password":"secret"}'
{
"email": "john@doe.com",
"password": "secret"
}
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOi..."
}
Manage all types of documents: invoices, quotes, credit notes.
GET /api/{slug} — Lister les documentsPOST /api/{slug} — Créer un documentGET /api/{slug}/{id} — Détail d’un documentPUT /api/{slug}/{id} — ModifierDELETE /api/{slug}/{id} — Supprimer
curl -H "Authorization: Bearer {token}" https://api.novadesko.com/api/invoices
[
{
"id": 123,
"number": "F2024-0001",
"date": "2024-06-12",
"client": { "id": 1, "name": "ACME Sarl" },
"total": 1200.00,
"status": "paid"
}
]
{
"client_id": 1,
"date": "2024-06-12",
"lines": [
{ "product_id": 15, "qty": 2, "price": 100 }
]
}
Manage your customer base.
GET /api/customers — Lister les clientsPOST /api/customers — Créer un clientGET /api/customers/{id} — Détail d’un clientPUT /api/customers/{id} — ModifierDELETE /api/customers/{id} — Supprimer
curl -H "Authorization: Bearer {token}" https://api.novadesko.com/api/customers
{
"name": "Société Demo",
"email": "contact@demo.com",
"phone": "+33 1 23 45 67 89"
}
{
"id": 2,
"name": "Société Demo",
"email": "contact@demo.com",
"created_at": "2024-06-12T16:10:00Z"
}
Manage your suppliers and their information.
GET /api/suppliers — Lister les fournisseursPOST /api/suppliers — Créer un fournisseurGET /api/suppliers/{id} — Détail d’un fournisseur
curl -H "Authorization: Bearer {token}" https://api.novadesko.com/api/suppliers
{
"company": "Fournisseur SARL",
"vat_number": "FR123456789",
"email": "info@fournisseur.com"
}
{
"id": 5,
"company": "Fournisseur SARL",
"created_at": "2024-06-12T16:22:00Z"
}
Manage your product catalog.
GET /api/products — Lister les produitsPOST /api/products — Créer un produitGET /api/products/{id} — Détail d’un produit
curl -H "Authorization: Bearer {token}" https://api.novadesko.com/api/products
{
"name": "Abonnement Pro",
"price": 49.99,
"category_id": 1
}
{
"id": 42,
"name": "Abonnement Pro",
"price": 49.99
}
Organize your products into categories.
GET /api/product-categories — Lister les catégoriesPOST /api/product-categories — Créer une catégorie
curl -H "Authorization: Bearer {token}" https://api.novadesko.com/api/product-categories
{
"name": "Services",
"parent_id": null
}
{
"id": 7,
"name": "Services"
}
Track financial flows linked to your documents.
GET /api/transactions — Lister les transactionsPOST /api/transactions — Enregistrer une transaction
curl -H "Authorization: Bearer {token}" https://api.novadesko.com/api/transactions
{
"document_id": 123,
"amount": 1200.00,
"date": "2024-06-12",
"type": "payment"
}
{
"id": 88,
"document_id": 123,
"amount": 1200.00,
"type": "payment",
"created_at": "2024-06-12T17:00:00Z"
}
Receive real-time notifications for key events.
POST /webhook — Point d’entrée pour recevoir les notifications
{
"event": "invoice.paid",
"data": {
"id": 123,
"number": "F2024-0001",
"amount": 1200.00,
"client": { "id": 1, "name": "ACME Sarl" }
}
}