The Monite analytics empowers users with real-time insights into their accounts payable and accounts receivables processes. It provides aggregated data with detailed breakdowns, filters, and metrics to help finance managers make data-driven decisions efficiently.
To access the analytics using an entity user token,
this user must have a role with the payables.read or receivables.read permissions.
If a partner-level token is used, no special permissions are needed.
When working with analytics, dimensions and metrics are fundamental concepts that define how data is structured and presented.
Dimensions are attributes or categories used to group, segment, or filter data. They provide the “context” for the data and are often non-numeric. In charts, dimensions appear as labels for categories or axes. Dimensions help users answer questions like:
Metrics are quantitative measures used to calculate and display data values. They represent the “what” of the data and are always numerical. Metrics often appear as values or data points within a chart. Metrics allow users to evaluate performance, such as:
Dimensions and metrics are interconnected. Dimensions provide the framework, while metrics fill that framework with measurable values. For example:
This combination ensures that users not only see the numbers but also understand the context, enabling better decision-making.
The endpoints that retrieve the aggregated analytics results are:
GET /analytics/payables for the payables.GET /analytics/receivables for the receivables.These endpoints enable users to access summarised data for various use cases, such as generating reports, visualising trends, or exporting metrics for a specified period.
The request fields are explained below:
Check the GET /analytics/payables and GET /analytics/receivables endpoints for additional filters.
You can also use any filters from GET /payables and GET /receivables.
As a response, we will return not the payables models, but rather the metric values in each dimension.
When retrieving summary data, amounts in different currencies are automatically converted using the exchange rate applicable on each invoice to ensure accurate totals in the default currency.
Changing this currency is not recommended as it may lead to inconsistencies in the displayed data.
Here are some examples of aggregated results for specific use cases:
Theese are the field values to get the average price of all payables from the last week:
metric = total_amountaggregation_function = averagedimension = null - we want to extract just total as number without any breakdownscreated_at__gt = 2024-11-01 - or seven days agoThe response returns the total amount of payables:
The field values to get the number of receivables by status from last week:
metric = idaggregation_function = countdimension = statuscreated_at__gt = 2024-10-07 - or seven days agoThe example response shows 5 receivables in the draft status and 11 in the issued status:
The field values to get the total sum of receivables for 2024, broken down by counterpart, for example:
metric = total_amountaggregation_function = summarydimension = counterpart_idcreated_at__gt = 2024-01-01The response shows the total amount of receivables (metric_value), split by counterpart IDs (dimension_value):
The field values to get a chart of payable creation dates for payables currently awaiting for payment (not cumulative):
metric = idaggregation_function = countdimension = created_atdate_dimension_breakdown = dailystatus = waiting_to_be_paidThe response contains each payable with their creation dates:
You can also get the same real-time insights for the credit notes with the same aggregated data with detailed breakdowns, filters, and metrics as the payables. To retrieve the aggregated analytics results for the credit notes, call the The GET /analytics/credit_notes endpoint.
The response contains the number of documents grouped according to the conditions you selected: