Récupère la liste des factures avec pagination, tri et filtres avancés.
Filtres disponibles:
state: État de la facture (draft, waiting, paid, notpaid, late, inactive)type: Type de facture (invoice, invoice_credit, external, external_credit, proforma, advance)client: ID du clientminDate/maxDate: Plage de datesnumber: Numéro de facturesearch: Recherche textuelle
Réponse:
invoices: Liste des facturestotal: Nombre total de factures correspondantesskipetlimit: Paramètres de pagination
Query parameters
-
Nombre maximum de factures à retourner
Default value is
20. -
Nombre de factures à ignorer (pagination)
Default value is
0. -
Champ de tri et direction (ex. "date:-1" pour tri décroissant par date)
-
Filtre par état de la facture
Values are
draft,waiting,paid,notpaid,late, orinactive. -
Filtre par type de facture
Values are
invoice,invoice_credit,external,external_credit,proforma, oradvance. -
Filtre par ID du client
-
Date minimum (ISO 8601)
-
Date maximum (ISO 8601)
-
Numéro de facture (recherche exacte)
-
Recherche textuelle dans les factures
GET
/invoices
curl \
--request GET 'https://wuro.pro/api/v3.2/invoices' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
"invoices": [
{
"_id": "string",
"VATRates": [
{
"amount": 42.0,
"rate": "string",
"total": 42.0
}
],
"acomptes": [
{
"_id": "string",
"amount": 42.0,
"amount_ht": 42.0,
"credit": false,
"date": "2025-05-04T09:42:00Z"
}
],
"base_currency": "EUR",
"client": "string",
"client_name": "string",
"client_address": "string",
"client_city": "string",
"client_zip_code": "string",
"client_country": "France",
"client_email": "string",
"client_phone": "string",
"company": "string",
"company_name": "string",
"date": "2025-05-04T09:42:00Z",
"payment_expiry_date": "2025-05-04T09:42:00Z",
"invoice_lines": [
{
"_id": "string",
"description": "string",
"price_ht": 0,
"quantity": 1,
"reference": "string",
"title": "string",
"total_ht": 0,
"total_ttc": 0,
"tva_rate": 42.0,
"type": "product",
"unit": "string"
}
],
"number": "string",
"state": "draft",
"title": "string",
"total_ht": 42.0,
"total_ttc": 42.0,
"total_tva": 42.0,
"type": "invoice",
"payments": [
{
"_id": "string",
"mode": "string",
"method_name": "string",
"amount": 42.0,
"date": "2025-05-04T09:42:00Z",
"check_number": "string"
}
]
}
],
"total": 42,
"skip": 42,
"limit": 42
}