(Note · · 4 min read)
Paying salaries over bank, BEFTN, bKash and Nagad from one payroll
In Bangladesh one payroll usually goes out several ways: same-bank transfers, BEFTN to other banks, and bKash or Nagad for people paid to a wallet. This is how Paylio, the HR and payroll SaaS I build, turns one approved payroll into those payments without paying anyone twice.
By Md. Habibur Rahman Shohel, full-stack & AI product engineer in Dhaka
Pay only from an approved run
Money moves only after the run has been calculated, reviewed and approved. In Paylio a run passes six stages — draft, calculated, under review, finance approved, approved and disbursed — and every payment, whether bank, BEFTN, bKash or Nagad, comes from that one approved run, never from a spreadsheet edited on the side.
Check bank details before anything leaves
A wrong routing number sends a salary to the wrong branch, or gets it returned. Checking BEFTN details is the first step of a Paylio disbursement. The routing-number problems found in real payroll data were common enough that they became BD Bank Routing, an open dataset of 11,426 branches with validators in Python and JavaScript.
Four steps, in order
- Validate BEFTN: check every employee's bank details.
- Initiate: create a payment record for each employee, and the bank files.
- Confirm payments: mark each one paid or failed, as the bank reports it.
- Finalize: the run becomes disbursed.
Confirm against the bank's own report
Banks process salary sheets through their own portals. You download the bank files from Paylio, upload them to the bank, then attach the confirmation report the bank's portal produces — one per upload, so a run sent as a same-bank sheet and a BEFTN sheet comes back as two reports. The run shows how many payments are confirmed, pending or failed.
A salary that never arrived — held off a run, failed or bounced — stays on an unpaid list until it is paid, so nobody is quietly left out.
Never pay anyone twice
Retries and restarts happen. Every background job in Paylio carries a stable ID and moves its record from one status to the next in a single step, so a job that runs again finds the work already done. Money is stored as whole paisa, never floating point, and employees' bank details are encrypted in the database and kept out of logs.
Common questions
How do you pay salaries over bank, BEFTN, bKash and Nagad from one payroll?
From one approved run, in four steps: validate every employee's BEFTN details, initiate a payment record for each person plus the bank files, confirm each payment as paid or failed from the bank's own report, then finalize the run as disbursed.
How do you make sure nobody is paid twice?
Every background job carries a stable ID and moves its record from one status to the next in a single step, so a job that runs again finds the work already done. Money is stored as whole paisa rather than floating point, and bank details are encrypted and kept out of logs.
What happens to a salary that never arrives?
It stays on an unpaid list until it is paid — whether it was held off the run, failed or bounced — so nobody is quietly left out.