Extend and improve PortaBilling’s XDR correction capabilities so that all billing scenarios of CSP are covered with reasonable operational effort. There are scenarios not covered by either the re-processing or re-rating tool today. Others are technically possible but require disproportionate effort (Professional Services scripts, direct database access, or dummy-tariff workarounds). This project closes both gaps: it introduces missing functionality (account-level re-rating, collection rollback, re-processing of successful XDRs, corrections in closed billing periods) and reduces the effort required for scenarios that are already partially supported (automated CDR delivery, destination-level re-rating granularity).
Why this project exists ?
The CSP migrated from Jerasoft, which provides all these capabilities in a unified tool. In PortaBilling MR122-0: re-rating is limited to customer level (not account); collection rollback requires Professional Services script; re-processing of successful XDRs requires direct MySQL/OpenSearch access; CDR email delivery is tied to billing period close. These limitations cause billing errors, customer disputes, and significant manual operational overhead.
Who are the users / whom we bring value ?
CSP Admin, CSP NOC, CSP Financial team;
Clients of CSP;
PortaOne Support
What are the benefits for CSP/ PortaSwitch owner?
Reduce re-rating engineering time from ~3h to <15 min per event.
Enable collection rollback in <30 min without Professional Services.
Deliver daily/weekly CDR emails automatically to 50+ wholesale customers.
Automated daily CDR delivery eliminates 2–3 hours of manual work per customer per day for CSP's operations team.
Target Release
MR122
Area
PortaBilling, XDR Mediator, Datalink
Additional Info
CSP imports with XDR Mediator ~1.5-2.5 billion of XDRs per month. They do not keep actual balance and do not generate invoices in PortaBilling.
They calculate Summary report in Datalink. The report is utilized to find mistakes. When the mistakes are fixed, an external invoicing tool imports the report and generates invoice line items based on the report's subtotals.