Offsys documentatie
Statistieken
Statistieken
Overzicht
| Veld | Waarde | Verplicht | Omschrijving |
|---|---|---|---|
| startDate | Datum | Nee | Vanaf deze datum |
| endDate | Datum | Nee | Tot en met deze datum |
| type | invoice of delivery | Nee | Tel op factuurdatum of leverdatum. Standaard: invoice |
| daily | 1 of 0 | Nee | 1 voegt de bedragen per dag toe. Standaard: 0 |
Voorbeeld:
curl "https://api.offsys.nl/statistics?startDate=2026-06-01&endDate=2026-06-30&daily=1" \-X GET \-H "Authorization: 37d37675-59cd-431c-8d28-9553de7bae4d"Resultaat:
{ "status": "success", "statistics": { "total": "1712.53", "received": "1450.00", "invoices": 7, "quotations": 5, "invoices_unpaid": 1, "quotations_accepted": 2, "requests_open": 3, "daily": { "2026-06-02": { "amount": "173.35", "orders": 1 }, "2026-06-06": { "amount": "359.51", "orders": 2 } } }}| Veld | Omschrijving |
|---|---|
| total | Totaal van de facturen, zonder btw |
| received | Totaal van de orders waarbij een betaalwijze is ingevuld, zonder btw |
| invoices | Aantal facturen |
| quotations | Aantal offertes |
| invoices_unpaid | Aantal facturen waarbij nog geen betaalwijze is ingevuld |
| quotations_accepted | Aantal offertes die de klant heeft geaccepteerd |
| requests_open | Aantal aanvragen |
| daily | Per dag het bedrag en aantal van de facturen |