InvoiceStats

Retrieves a InvoiceStats resource.

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.

SecurityBearer
Request
path Parameters
year
required
string

The year of which you want to extract statistics.

query Parameters
fiscal_id
string

The fiscal identifier you want to extract statistics, optional. if not provided you will receive the total counters.

Responses
200

InvoiceStats resource response

404

Resource not found

get/invoices/stats/{year}
Request samples
Response samples
{
  • "fiscal_id": "string",
  • "stats": {
    }
}