Get the statistic information about your invoices.
You will receive the sum of invoices and notification, sum of the costs.
Specifying the query parameters fiscal_id
you will get the statistics for a specific customer.
By default statistics are collected on annual basis but you can ask A-Cube to activate deeper collect operations to get months
, days
and even hour_slots
statistics.
InvoiceStatsOutput resource response
Resource not found
{- "fiscal_id": "string",
- "stats": {
- "year": "string",
- "month": "string",
- "day": "string",
- "hour_slot": "string",
- "customer_invoices": {
- "count": 0,
- "cost": "string"
}, - "supplier_invoices": {
- "count": 0,
- "cost": "string"
}, - "supplier_extra_sdi_invoices": {
- "count": 0,
- "cost": "string"
}, - "total": {
- "count": 0,
- "cost": "string"
}, - "notifications": {
- "at": 0,
- "dt": 0,
- "mc": 0,
- "ne": 0,
- "rc": 0,
- "ns": 0
}, - "months": { },
- "days": { },
- "hour_slots": { }
}
}