GET /invoices/payments-waiting

Récupère les factures qui sont en attente de paiement (état waiting ou late).

Réponse:

  • invoices: Liste des factures en attente
  • total: Nombre de factures
  • totalAmount: Somme des montants restant à payer (total_nettopay)

Query parameters

  • state array[string]

    Filtre par état (par défaut waiting et late)

    Values are waiting or late.

  • limit integer
  • skip integer

Responses

  • 200 application/json

    Factures en attente de paiement

    Hide response attributes Show response attributes object
    • invoices array[object]
      Hide invoices attributes Show invoices attributes object
      • _id string
      • number string
      • client_name string
      • total_nettopay number
      • payment_expiry_date string(date-time)
    • total integer
    • totalAmount number

      Somme des montants restant à payer

GET /invoices/payments-waiting
curl \
 --request GET 'https://wuro.pro/api/v3.2/invoices/payments-waiting' \
 --header "X-APP-ID: $API_KEY" \
 --header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
  "invoices": [
    {
      "_id": "string",
      "number": "string",
      "client_name": "string",
      "total_nettopay": 42.0,
      "payment_expiry_date": "2025-05-04T09:42:00Z"
    }
  ],
  "total": 42,
  "totalAmount": 42.0
}