The problem
Phoenix Solutions is a debt collection firm in Palermo. It works for several Client companyThe company that hands the firm the debts to collect and pays it to do so., with Door-to-door collectorSomeone who visits the debtor in person to agree on payment. and Phone collectorSomeone who collects debts over the phone..
Every month the companies send the list of cases worked, and the firm has to work out what each collaborator is owed. This was done by hand in Excel sheets, row by row, and took 8-10 days.
We wrote them a Windows program that does the calculation and leaves people only the cases that need a decision.
The month, before and after
- Files arrive from the three companies, each in its own format
- The maths is done by hand in Excel, row by row
- The rate changes by company, contract, role and payment
- No check against the companies’ totals
- The files are dragged into the window, even as a zip
- The program reads them and checks the totals match
- A person looks only at the rows to check
- Out come the Excel sheet and the PDFs to hand over
The times include reviews.
What made it hard
Doing the maths is easy. Getting it right with three companies’ files, every month, is not.
Three different formats. Each company sends files its own way: CSV exportA text file with one row per case and the data split into columns. «Fixed-width» means each value always sits in the same position., PDF statements one per name, summary reports.
Same person, different codes. A collaborator has a different code at each company, and sometimes the same code is written several ways.
Rates that change. They depend on the company, the contract, the collaborator’s role and how the debt was paid, in cash or with promissory notes.
Negative rows. Reversals and closed repayment plans produce negative rows and AdjustmentA row that corrects an amount already calculated in a previous month, up or down., exactly where hand calculation goes wrong most easily.
No cross-check. Nothing said whether the calculated sum matched the totals the companies declared.
The choices
For every problem there was a more obvious road. Here is what we did instead, and why.
Recognise files by what they contain, not by their name
Recognise each file by its name and read the columns in the order they arrive.
The program looks inside the file to work out what it is, and finds columns by name.
Why. File names change from month to month, and one company reordering its columns would be enough to get every figure wrong without anyone noticing.
The technical detail
The format is recognised from the header of the export, the tables in the statement, the first line of the summary. PDF tables are rebuilt from where the text sits on the page. As soon as the files are imported, the program compares the sum it read with the total written at the end: if it doesn’t match it says so straight away, before anyone starts correcting.
When a case is doubtful, a person decides
Have the program sort out the odd rows too, so it all looks automatic.
Rows the rates don’t cover go into a list to check, each with its reason written next to it.
Why. A mistake with people’s money would surface when the statement is handed over, in front of the collaborator. The program calculates and flags; the decision stays with the people doing the work.
The technical detail
Among the rows to check you find, for example, an adjustment on a plan already credited, a never-seen document code, a row with no collaborator. A row’s approval stays tied to the amount it had: if a rule changes and the amount moves, the row goes back to be checked.
Corrections work like Excel
A form to open for every row, as in most management software.
A grid you select like a spreadsheet, with the commission before and after in plain sight.
Why. The people doing the maths come from years of Excel and often correct dozens of rows at once. A form per row would have been slower than the sheets it was replacing.
The technical detail
You select by dragging, with Shift and the arrow keys, or by pasting a column from Excel; every change can be undone with Ctrl+Z. When you change the rate of rows calculated by a rule, the program asks whether it applies to those rows only, to the whole rule or to one contract, and for each option says how much the commissions change.
The data stays on the office computer
An online service, opened in the browser.
A Windows program that keeps everything on the firm’s computer.
Why. Lists and commissions contain personal data about debtors and collaborators. Online, they would have ended up on someone else’s server, with one more supplier handling them, for a job one person does once a month.
The technical detail
It installs without administrator rights, saves every change as soon as it’s made and moves the data to another PC on a USB stick. Every save writes a temporary file first and then swaps it in, so not even a power cut halfway through ruins the month.
How it works
The month, from the side of the person using the program.




The month’s files, in one go
Drag the zip or the loose files from the three companies into the window: the program reads them together and says straight away whether the reading matches the declared totals.
The archive of months
Every month is kept with the original files, the sheet before and after corrections, and a log of what changed and when.
What changed
to close the month’s commissions, reviews included. It used to take 8-10 days by hand.
Times reported by the firm, before and after the program.of the rows in the old hand-made sheets redone by the program identically, to the cent.
In practice: out of a thousand rows in the old sheets, 963 came out the same. The rest were adjustments, which now go to a person.
The starting rate table was tested on the hand-made sheets before it was used on new months. The differences were adjustments, which now go to the rows to check on their own.
Measured by comparing the rate table with the hand-made sheets.- Every import checked to the cent against the totals the companies declare.
- No row is corrected silently: every doubtful case reaches a person with its reason.
The limits
What the program doesn’t do. Some are choices, one is the price of another choice.
- Windows only
There is no Mac version and nothing to open in a browser.
Choice - One computer at a time
The data lives on the office PC. To work on another one, you carry it over on a USB stick.
The price of keeping it offline - It doesn’t settle doubtful cases
It lines them up for a person, with the reason. It doesn’t fix them on its own, even when it could guess.
Choice
Fact sheet
- Client
- Phoenix Solutions SRLS
- Sector
- Debt collection, Palermo
- What it is
- Custom Windows program
- Year
- 2026
- Where the data lives
- On the office computer
- Installation
- No administrator rights needed
- Built with
- RustElectronJavaScript
- Screenshots
- On made-up data
- Who did it
- Antonio Murabito with M’s Works, before Certalea
If you have a similar job
Three questions to ask yourself before talking to anyone about it, us included.
- Does the data always come from the same sources, even in different formats?Then it can be read as it arrives, without retyping it.
- Can the calculation rules be written down, exceptions included?The ones that can’t stay with a person, as they do here.
- Who spots a mistake today, and when?If the answer is «the collaborator, on payday», the check needs to move earlier.
We reply within 24 hours. The first call is free.



