Récupère les factures qui sont en attente de paiement (état waiting ou late).
Réponse:
invoices: Liste des factures en attentetotal: Nombre de facturestotalAmount: Somme des montants restant à payer (total_nettopay)
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
}