Debt Ageing in Rivilė: Reporting and Analysis in Power BI
A debt ageing report shows how much your customers owe you and how long those debts have been overdue: up to 30 days, up to 60, up to 90 or longer. In Rivilė you will find this data in the customer status report, but it only covers a single chosen date and has to be generated afresh each time. Once the same data is brought into Power BI and refreshes automatically, the managing director, accountant or finance director can see the true picture on any given day: which customers are paying late, how much is at risk and how the position has changed since last month. These are exactly the kind of Power BI report packages that Analitika360 builds for Rivilė and Finvalda users.
In brief
- Debt ageing is the breakdown of open debts by days overdue, usually into these groups: not yet due, 1–30, 31–60, 61–90 and more than 90 days.
- In Rivilė, open customer debts with days overdue are shown in the „Kliento būklė“ (Customer Status) report, which is produced for a specific date.
- In Power BI, days overdue are calculated by subtracting the payment due date from the report date, and debts are assigned to periods according to predefined thresholds.
- The key quality requirement: the Power BI totals must match the Rivilė balances, including partial payments and settled invoices.
- Automatic refresh removes the weekly export to Excel and lets you track debts as a management indicator rather than a month-end chore.
Contents
- What debt ageing is and what the report shows
- How to view debt ageing in Rivilė
- Why a manual report cannot keep up with debts
- How debt ageing is calculated in Power BI
- What to show in a receivables ageing report
- How to check that the totals match Rivilė
- Analitika360 packages for debt analysis
- Our view
- FAQ
- Sources
What debt ageing is and what the report shows
First, the terms. A receivable is an asset that a company is due to collect from buyers for goods or services, while a payable is a liability that the company must pay to its suppliers. Ageing analysis applies to both sides, but it is most often used for receivables, because they determine when money will actually arrive in the bank account.
An ageing report answers three questions:
- How much are we owed in total? The total of open invoices on the report date.
- How much of that is already overdue? The share of the total that is past its payment due date.
- How much is at risk? The amount that has been overdue for so long that its recovery is becoming doubtful.
The period groups help you distinguish administrative delays from genuine risk. A debt that is 5 days overdue often just means the invoice is still awaiting approval in the buyer’s accounts department. A debt that is 95 days overdue is a signal to stop supplies, phone the customer and review their credit limit.
In day-to-day work, managers usually care less about the total receivables figure than about reports on individual partners’ debts: who is late, by how much and for how long. That is why a good ageing report always lets you drill down from the total to a specific customer and a specific invoice.
How to view debt ageing in Rivilė
Rivilė GAMA users can view open customer debts by following the path described in the official Rivilė guide to customer debt analysis:
- Open Servisas → Debitorinės/Kreditorinės operacijos → Kliento būklė (Service → Receivable/Payable Operations → Customer Status).
- Choose the status date. This is the day for which balances and days overdue are calculated.
- Set the filters you need: customer, customer group, account or department.
- Leave „Spausdinti tik nesubalansuotus dokumentus“ (Print only unbalanced documents) ticked so that only open debts remain in the report.
- In the detailed report, check the document date, payment due date, amount owed and days overdue.
Where mistakes are most often made:
- The wrong date is selected. A report for the last day of the month and a report for today show different overdue periods, even though the documents are the same.
- The unbalanced documents box is unticked. Paid invoices then appear in the list too, and the total goes up.
- Inaccurate payment terms. If the due date on an invoice is missing or entered incorrectly, days overdue are calculated from the wrong date. You can read more about entering sales documents correctly in our article on Rivilė sales documents and prices.
This report is ideal for checking a single customer or a single date. The difficulties begin when you need the same view every week, for several managers and with comparisons over time.
Why a manual report cannot keep up with debts
In many companies the ageing report goes like this: once a week or once a month the accountant generates it in Rivilė, exports it to Excel, adds the period groups, colour-codes the risky customers and sends it to the managing director. By the next day the file is already out of date, because some customers have paid and other invoices have passed their due dates.
The shortcomings of this process are visible every day:
- Time. The same work is repeated every time, and the risk of error grows with each manual step. We described how many hours this can take an accountant in our article on Rivilė debts and accountants’ time.
- No history. An Excel file shows a single moment, so it is hard to say whether the share of overdue debts is falling this quarter.
- No link to other data. Debts are not shown alongside sales, margin or cash flow, even though that is precisely what matters to the head of a restaurant chain or a construction company.
Power BI solves these problems because the report connects directly to Rivilė data and refreshes itself.
How debt ageing is calculated in Power BI
The ageing logic in Power BI is simple, but it has to be modelled precisely.
1. Getting the data. Rivilė ERP data for analytics can be retrieved through the Rivilė API request GET /bi/collect: a filter is built according to the data source schema, the data pages are downloaded and then used in Power BI. For Rivilė GAMA users the data is often taken from the database; we cover this in more detail in our article Rivilė Firebird data in Power BI, and the API route is described in our guide Rivilė API and Power BI.
2. The data model. The same Rivilė documentation recommends building a star schema: a fact table (invoices, payments) and dimension tables (customers, products, calendar), with large volumes of data refreshed incrementally, i.e. loading only new and changed records each time.
3. Days overdue. For each open invoice the calculation is: report date minus payment due date. A positive number means the invoice is overdue; a negative one means it is not yet due.
4. Open balance. An invoice is treated as open on the report date if it had not been paid in full by that date. The model therefore needs not only the invoice due date but also the actual payment dates, including partial payments.
5. Period groups. A separate table is created with the groups and their minimum and maximum day thresholds, for example:
| Group | From, days | To, days |
|---|---|---|
| Not yet due | – | 0 |
| 1–30 days | 1 | 30 |
| 31–60 days | 31 | 60 |
| 61–90 days | 61 | 90 |
| More than 90 days | 91 | – |
Because the report date can be chosen, the same report shows ageing both today and at the end of any past month. This lets you see the trend, which a single-date report cannot show.
Example. An invoice for €1,200 is issued on 15 September with 30-day payment terms, i.e. due on 15 October. On 20 October the customer pays €500. In the report for 30 November, an open balance of €700 will remain, 46 days overdue, so it falls into the 31–60 days group.

What to show in a receivables ageing report
A good report is more than a table of groups. It should answer a manager’s questions in a matter of seconds.
| Element | What it shows | Most relevant to |
|---|---|---|
| Total open debts and overdue share, % | Whether the situation is improving or getting worse | Managing director, finance director |
| Bar chart by period group | Where the risk is concentrated | Finance director |
| Top 10 overdue customers | Whom to call first | Accountant, sales manager |
| Ageing trend by month | Whether late payment is becoming a habit | Managing director, consultant |
| Detailed list of invoices | Specific documents and due dates | Accountant |
Useful filters: report date, customer group, account manager, department or restaurant within a chain, currency. When debts are shown alongside revenue and cash balances, they become part of your cash flow forecast: you can estimate when you will actually receive the money, not just when it should have arrived.
How to check that the totals match Rivilė
A manager will only trust a Power BI report once its figures match the accounts. Before you start using the report, check the following:
- The total on the same date. Compare the Power BI total of open debts with the Rivilė customer status report for the same date.
- Several customers in detail. Take 3–5 customers with the most documents and reconcile each invoice.
- Partial payments. Make sure a partly paid invoice is shown with the remaining balance, not the full amount.
- Offsets and returns. Credit notes and set-offs must reduce the debt rather than appear as separate, unlinked negative debts.
- Advance payments. Prepayments received must either be shown separately or offset against invoices in the same way as in Rivilė.
- Currencies. If you deal in more than just euros, decide which currency you will show amounts in and stick to it throughout the report.
If a discrepancy appears, the cause almost always lies in the data model: a document type has been left out, payments have been matched incorrectly or a different report date has been used.
Analitika360 packages for debt analysis
Analitika360 builds ready-made Power BI report packages for Rivilė and Finvalda users. They let you track revenue, costs, profit, the balance sheet, sales, inventory and debts, and the reports refresh automatically with no extra work on your part. The data can be combined with Excel, SharePoint, CRM or logistics systems in a single Power BI model.

Pricing:
- Rivilė Basic: €59 a month, plan description
- Rivilė PRO: €89 a month
- Finvalda Basic: €59 a month
- Finvalda PRO: €89 a month
- Bespoke projects: €70 an hour, when the reports need to be tailored to your processes
You will find a comparison of all plans on our business analytics pricing page.
Our view
Debt ageing should not be a month-end spreadsheet but an indicator the managing director can see on any day. As long as the report is prepared by hand, it will always lag behind reality.
That is why our solutions are built on automated reports that refresh without any user intervention. For Rivilė and Finvalda users we have pre-built report sets, and where a company’s processes are specific, we adapt the solution to its existing IT systems.
For restaurant chains, accountants and finance managers, this means time saved and comprehensive financial information for strategic decisions. Seeing debts alongside sales and profit lets you act sooner, before late payment turns into a loss.
Analitika360
FAQ
How does debt ageing differ from a receivables balance report?
A balance report shows how much each customer owes. An ageing report goes further and breaks that amount down by how long it has been overdue, so you see not only the size of the debt but also the risk.
Can a Power BI report show ageing for a past date?
Yes, provided the model stores invoice due dates and payment dates. When you choose a report date, days overdue are recalculated for that day, so you can compare quarter-ends, for example.
Can supplier debts be analysed in the same way?
Yes. The same logic applies to payables: you can see which suppliers you need to pay and when. This is useful for planning cash flow and avoiding late-payment interest.
Is it suitable for Finvalda users?
Yes. Analitika360 offers separate Finvalda Basic and Finvalda PRO packages, priced the same as the Rivilė plans: €59 and €89 a month.
Sources
- Skola – debitorinė ar kreditorinė? (Debt: receivable or payable?) (Vadyba.lt)
- Customer debt analysis, Rivilė GAMA guide
- For analytics, reporting and data export, Rivilė ERP guide
