curl -X GET https://api.contazen.ro/v1/invoices/totals \ -H "Authorization: Bearer sk_live_YOUR_API_KEY" \ -G -d "start_date=2024-01-01" \ -d "end_date=2024-12-31"
{ "success": true, "data": { "totals": [ { "currency": "RON", "total_amount": 125000.00, "total_paid": 95000.00, "total_unpaid": 30000.00, "total_vat": 21000.00, "invoice_count": 45, "paid_count": 35, "unpaid_count": 10 }, { "currency": "EUR", "total_amount": 15000.00, "total_paid": 12000.00, "total_unpaid": 3000.00, "total_vat": 2520.00, "invoice_count": 8, "paid_count": 6, "unpaid_count": 2 } ], "period": { "start_date": "2024-01-01", "end_date": "2024-12-31" }, "grand_total_ron": 199575.00 } }
Get aggregated invoice totals for a specific period
Show properties
Was this page helpful?