DEV Community

TimelyUps
TimelyUps

Posted on

How I Built a Free Sui Gas Bill Checker for Pakistan (SNGPL & SSGC)

Every month, the same small panic plays out in homes across Pakistan. The gas bill is due, the paper copy has gone missing, and nobody quite remembers where the old one was filed. I have watched relatives dig through drawers, call the neighbours, and eventually queue up somewhere they did not need to be — all to find a single number. That little moment of friction is why I built a free Sui gas bill checker, and why it turned into a more interesting project than I expected.

The first thing I had to learn was that Pakistan does not have one gas company, or one bill portal. It has two. SNGPL covers Punjab/KPK/Islamabad, while SSGC covers Sindh/Balochistan. They run separate systems, separate websites and separate account numbers, and a tool that only understands one of them is only half a tool. So the page I built starts by asking the simplest question of all: which company supplies your gas?

Two companies, two numbers

That question matters more than it sounds, because the two companies do not even use the same kind of account number. An SNGPL consumer number is 11 digits long; an SSGC customer number is 10 digits long. Mix them up and the portal will simply tell you nothing was found, which is exactly the kind of silent failure that makes people give up. The checker explains the difference up front and validates the length before you go any further, so a mistyped digit is caught on the page instead of on a government website.

Finding the number in the first place is half the battle. The good news is that it is printed on every old bill — look for the Account ID. The number is the Account ID on every old bill, not the meter number, and that distinction trips people up constantly. The meter number is stamped on the meter outside the house; it will not help you here. If you have even one old bill, a photo of one, or a PDF from an earlier month, you already have everything you need. I made that point prominent on the page, because it turns a dead end into a two-minute job.

What the checker actually does

The tool itself is deliberately simple. It is one page that explains both portals, walks you through the steps for your company, and links you to the right place instead of pretending to be the portal itself. It covers the SMS 9879 lookup, so you can check a bill from a basic phone, and it includes tariff tables, so you can see how the amount on your bill was worked out rather than just staring at a total. I kept the design plain and fast on purpose: most people open it on a phone, often on a slow connection, while standing in a kitchen holding a bill.

A few facts shaped the page more than any code did. A duplicate bill download or print is valid for payment, so losing the original is an annoyance, not a disaster — you can download a fresh copy and pay with it. But do not leave it too late: the SSGC late surcharge is 10%, which is a painful way to learn that the due date matters. And if something looks wrong on the bill, the helpline is 1199. Those are the details people actually ask about, so they sit on the page in plain language instead of being buried in a FAQ nobody reads.

Building it taught me something I keep relearning as a developer: the hard part is rarely the code. A few lines of JavaScript can validate a number or render a tariff table. The real work is understanding the process a person is going through — which company, which number, which portal — and removing one step at a time until the whole thing feels obvious. If that sounds like the kind of small, useful tool you would build too, you can try the live version here: the Sui Gas Bill Checker. It is free, there is nothing to install, and it is one of several small utilities we are building at TimelyUps. If you spot a tariff change or a broken link, tell me in the comments — keeping a tool like this accurate is a group effort.

Top comments (0)