{"id":7197,"date":"2026-08-27T05:59:37","date_gmt":"2026-08-27T05:59:37","guid":{"rendered":"https:\/\/www.aneeb.aenawebsolution.com\/?p=7197"},"modified":"2026-08-27T05:59:42","modified_gmt":"2026-08-27T05:59:42","slug":"electicr-bill","status":"publish","type":"post","link":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/2026\/08\/27\/electicr-bill\/","title":{"rendered":"Electicr bill"},"content":{"rendered":"\n<div style=\"max-width: 750px; margin: 20px auto; padding: 25px; border: 1px solid #e0e0e0; border-radius: 12px; font-family: 'Segoe UI', Arial, sans-serif; background-color: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n    \n    <h2 style=\"text-align: center; color: #1b5e20; margin-bottom: 20px;\">\u26a1 Pakistan Electricity Bill Viewer<\/h2>\n    \n    <div style=\"margin-bottom: 15px;\">\n        <label for=\"discoSelect\" style=\"font-weight: bold; display: block; margin-bottom: 5px;\">Select Electricity Company:<\/label>\n        <select id=\"discoSelect\" style=\"width: 100%; padding: 10px; border: 1px solid #cccccc; border-radius: 6px; font-size: 15px;\">\n            <option value=\"lesco\">LESCO (Lahore Electric Supply Company)<\/option>\n            <option value=\"mepco\">MEPCO (Multan Electric Power Company)<\/option>\n            <option value=\"kelectrick\">K-Electric (Karachi)<\/option>\n            <option value=\"fesco\">FESCO (Faisalabad Electric Supply)<\/option>\n            <option value=\"gepco\">GEPCO (Gujranwala Electric Power)<\/option>\n            <option value=\"pesco\">PESCO (Peshawar Electric Supply)<\/option>\n            <option value=\"hesco\">HESCO (Hyderabad Electric Supply)<\/option>\n            <option value=\"qesco\">QESCO (Quetta Electric Supply)<\/option>\n        <\/select>\n    <\/div>\n\n    <div style=\"margin-bottom: 20px;\">\n        <label for=\"refNumber\" style=\"font-weight: bold; display: block; margin-bottom: 5px;\">Enter 14-Digit Reference Number:<\/label>\n        <input type=\"text\" id=\"refNumber\" placeholder=\"e.g. 12345678901234\" maxlength=\"16\" style=\"width: 100%; padding: 10px; border: 1px solid #cccccc; border-radius: 6px; font-size: 15px; box-sizing: border-box;\">\n    <\/div>\n\n    <button onclick=\"fetchDuplicateBill()\" style=\"width: 100%; padding: 12px; background-color: #2e7d32; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s;\">\n        \ud83d\udd0d View Bill Image\n    <\/button>\n\n    <div id=\"statusMessage\" style=\"margin-top: 15px; color: #d32f2f; font-weight: bold; text-align: center;\"><\/div>\n\n    <!-- Bill Image Frame Container -->\n    <div id=\"billViewerContainer\" style=\"margin-top: 25px; display: none; text-align: center;\">\n        <h4 style=\"color: #333; margin-bottom: 10px;\">Your Official Bill Preview:<\/h4>\n        <iframe id=\"billFrame\" src=\"\" style=\"width: 100%; height: 600px; border: 2px solid #2e7d32; border-radius: 8px;\"><\/iframe>\n    <\/div>\n<\/div>\n\n<script>\nfunction fetchDuplicateBill() {\n    let refNum = document.getElementById('refNumber').value.trim().replace(\/[^0-9]\/g, '');\n    let disco = document.getElementById('discoSelect').value;\n    let messageDiv = document.getElementById('statusMessage');\n    let container = document.getElementById('billViewerContainer');\n    let frame = document.getElementById('billFrame');\n\n    messageDiv.innerText = '';\n\n    if (refNum.length < 10) {\n        messageDiv.innerText = \"Kripya sahi Reference Number enter karein (At least 10 to 14 digits).\";\n        container.style.display = 'none';\n        return;\n    }\n\n    let billUrl = \"\";\n\n    \/\/ Dynamic Links Generator for Official DISCO portals\n    switch(disco) {\n        case \"lesco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/lescobill\/general?refno=\" + refNum;\n            break;\n        case \"mepco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/mepcobill\/general?refno=\" + refNum;\n            break;\n        case \"kelectrick\":\n            billUrl = \"https:\/\/www.ke.com.pk\/customer-services\/bill-payment\/?account_no=\" + refNum;\n            break;\n        case \"fesco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/fescobill\/general?refno=\" + refNum;\n            break;\n        case \"gepco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/gepcobill\/general?refno=\" + refNum;\n            break;\n        case \"pesco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/pescobill\/general?refno=\" + refNum;\n            break;\n        case \"hesco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/hescobill\/general?refno=\" + refNum;\n            break;\n        case \"qesco\":\n            billUrl = \"https:\/\/bill.pitc.com.pk\/qescobill\/general?refno=\" + refNum;\n            break;\n        default:\n            messageDiv.innerText = \"Selected Company option is not valid.\";\n            return;\n    }\n\n    \/\/ Set src and display\n    frame.src = billUrl;\n    container.style.display = 'block';\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u26a1 Pakistan Electricity Bill Viewer Select Electricity Company: LESCO (Lahore Electric Supply Company)MEPCO (Multan Electric Power Company)K-Electric (Karachi)FESCO (Faisalabad Electric Supply)GEPCO (Gujranwala Electric Power)PESCO (Peshawar Electric Supply)HESCO (Hyderabad Electric Supply)QESCO (Quetta Electric Supply) Enter 14-Digit Reference Number: \ud83d\udd0d View Bill Image Your Official Bill Preview:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7197","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/posts\/7197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/comments?post=7197"}],"version-history":[{"count":1,"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/posts\/7197\/revisions"}],"predecessor-version":[{"id":7199,"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/posts\/7197\/revisions\/7199"}],"wp:attachment":[{"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/media?parent=7197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/categories?post=7197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aneeb.aenawebsolution.com\/index.php\/wp-json\/wp\/v2\/tags?post=7197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}