WiseMage
HomeAboutWhat we doProjectsPartnershipContact
Message on WhatsApp
← Projects System · ERP · Custom code

Soumed

An ERP built from scratch for a health-plan operator, covering contracts, billing, finance and the accredited network in one system — including charging the monthly fee inside the electricity bill.

modules
15
endpoints
80+
external integrations
6
records lost in migration
0

Project figures — proof of technical complexity, not a commercial result.

Soumed · Dashboard
Soumed system dashboard with operation indicators
01  Context

The operator sells health and benefit plans in Santa Catarina, and much of its base pays the monthly fee together with the Celesc or Cerpalo electricity bill — a billing method common among membership operators. To handle it, the system reads the utility's outbound and return files, reconciles who paid and deals with who didn't.

02  The problem

Before the system, contracts, billing and the accredited network lived in loose spreadsheets and in a generic ERP that didn't understand this kind of operation. Charging inside the electricity bill meant reconciling files by hand, and debt negotiation was done by phone, with no record.

03  What we built

The system started in PHP. Halfway through it became clear that base wouldn't hold what the project had become, and the stack was rewritten without stopping the operation — the whole database, contracts, installments and billing, migrated without losing a single record.

It was the riskiest part of the project, and it's in the case because a project that only shows wins helps no one decide whether to trust us. On that base, fifteen modules — four of them hard:

Billing kanban
Three boards — overdue, utility pending and card pending — with eight columns each. Dragging a card writes the status to the API instantly, and the modal opens contract, client and installments without leaving the screen.
Statement with negotiation
Debt negotiation happens inside the statement, in four steps. Negotiated installments become child rows of the originals, so the history isn't lost.
Utility files
Reads Celesc's .mca and Cerpalo's .xlsx files, with a paginated error screen so the operator fixes it line by line instead of reprocessing everything.
Two gateways, one checkout
Asaas and Getnet on the same screen. The operator picks one, and the payload and endpoint switch underneath with no duplicated interface or training.
Contracts by wizard
Nine steps for an individual contract, three for the corporate one, with holder, dependent and add-on service. The step lives in the URL, so whoever closed the browser resumes where they left off.
Accredited network
Group, category and subcategory hierarchy, with registration of providers, suppliers, branches and companies, plus a map and lookups by provider.
04  Evidence
Contracts
Soumed contracts screen
New Contract
New contract registration in Soumed
Overdue Kanban
Soumed overdue kanban, with status columns and billing cards
Clients
Soumed clients screen
New Client
New client registration in Soumed
Transactions
Soumed financial transactions, with income and outflows
Stack
Back-end
Rewritten midway, with the whole database migrated without losing a record.
Front-end
jQuery and Bootstrap with DataTables, jKanban for the boards and Select2 with AJAX — no search field loads the full list.
Integrations
Asaas, Getnet, Celesc, Cerpalo, ViaCEP and IBGE, plus the telemedicine partner.

System captures with demonstration data.

05  Impact

Contracts, billing, negotiation and the accredited network, which lived in spreadsheets and in unlogged phone calls, moved into a single system. Charging inside the electricity bill, which no off-the-shelf ERP covered, became viable, and the billing team works inside the kanban all day.