Offsys documentatie

Statistieken

Statistieken

Overzicht

VeldWaardeVerplichtOmschrijving
startDateDatumNeeVanaf deze datum
endDateDatumNeeTot en met deze datum
typeinvoice of deliveryNeeTel op factuurdatum of leverdatum. Standaard: invoice
daily1 of 0Nee1 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
}
}
}
}
VeldOmschrijving
totalTotaal van de facturen, zonder btw
receivedTotaal van de orders waarbij een betaalwijze is ingevuld, zonder btw
invoicesAantal facturen
quotationsAantal offertes
invoices_unpaidAantal facturen waarbij nog geen betaalwijze is ingevuld
quotations_acceptedAantal offertes die de klant heeft geaccepteerd
requests_openAantal aanvragen
dailyPer dag het bedrag en aantal van de facturen

Onderwerpen