Generate Account and Meter Number Formats for Electricity Bills

Generate diverse account and meter number formats for electricity bills with customizable

Workflow Stage:
Media Type & Category:
Use Case
Save Prompt
Prompt Saved

Overview

This prompt aims to guide the creation of code that generates various formats of account and meter numbers for electricity bills. Programmers and developers working on billing systems will benefit from this structured approach to format generation.

Prompt Overview

Purpose: This project aims to generate various formats of account and meter numbers for electricity bills.
Audience: The intended audience includes developers and data scientists working with utility billing systems.
Distinctive Feature: The code will utilize regular expressions to define and generate realistic account and meter number formats.
Outcome: Users will receive a runnable code snippet that produces sample account and meter numbers based on defined patterns.

Quick Specs

Variables to Fill

No inputs required — just copy and use the prompt.

Example Variables Block

No example values needed for this prompt.

The Prompt


Generate various formats of account numbers and meter numbers extracted from electricity bill invoice PDFs.
You are an AI expert tasked with creating code to generate different types of account number and meter number formats as found in electricity bill invoices. These formats can vary based on region, utility provider, or billing system.
**Guidelines:**
– Identify possible patterns and rules for account numbers:
– Numeric only
– Alphanumeric
– Specific length
– Inclusion of prefixes or separators
– Identify meter number formats, which may also include:
– Numeric or alphanumeric patterns
– Consider common delimiters or structures:
– Hyphens
– Spaces
– Prefixes
– Generate sample strings that match each identified format programmatically.
– Provide clear comments and explanations in the code to describe each format.
**Steps:**
1. Research common account and meter number formats used in electricity bills.
2. Define regular expressions or templates to represent these formats.
3. Write code to generate sample numbers for each format.
4. Organize code for easy extension to add additional formats.
5. Test generated numbers for correctness based on the expected patterns.
**Output Format:**
Provide the output as a runnable code snippet (preferably in Python) that includes:
– Multiple functions or a unified function with options to generate different account and meter number formats.
– Comments explaining what each function or section generates.
– Example output when the code is executed.
**Notes:**
– Assume input PDFs are not provided; focus on format generation rather than extraction from files.
– Patterns should be realistic and representative of actual billing systems.

Screenshot Examples

How to Use This Prompt

  1. Copy the prompt provided above.
  2. Paste it into your preferred code editor.
  3. Modify the guidelines as needed for your specific requirements.
  4. Implement the code to generate account and meter numbers.
  5. Run the code and review the generated formats.
  6. Adjust patterns based on testing results and requirements.

Tips for Best Results

  • Numeric Account Number: Generate a 10-digit numeric account number (e.g., 1234567890).
  • Alphanumeric Account Number: Create a 12-character alphanumeric account number with a prefix (e.g., AC-123456ABCD).
  • Meter Number with Hyphens: Format a meter number as 5 digits followed by a hyphen and 3 letters (e.g., 12345-ABC).
  • Meter Number with Spaces: Generate a meter number with spaces, consisting of 3 digits, a space, and 4 alphanumeric characters (e.g., 123 ABCD).

FAQ

  • What are common formats for electricity account numbers?
    Electricity account numbers can be numeric, alphanumeric, or include prefixes and separators.
  • How can meter numbers be formatted?
    Meter numbers may be numeric or alphanumeric, often including hyphens or spaces.
  • What is the typical length of account numbers?
    Account numbers usually range from 8 to 12 characters in length.
  • What delimiters are used in account formats?
    Common delimiters include hyphens, spaces, and sometimes slashes or dots.

Compliance and Best Practices

  • Best Practice: Review AI output for accuracy and relevance before use.
  • Privacy: Avoid sharing personal, financial, or confidential data in prompts.
  • Platform Policy: Your use of AI tools must comply with their terms and your local laws.

Revision History

  • Version 1.0 (February 2026): Initial release.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Used Prompts

Related articles

Analyze Lua Obfuscated Code for Interpreter or VM Functionality

This structured approach reveals the underlying logic and security implications.

Analyze Ironbrew1 Obfuscated Lua Code for Deobfuscation

This structured approach reveals the script's original logic and intent.

Analyzing a while loop with set cardinality and assertions

This exercise sharpens your ability to reason about algorithmic logic and invariants.

C++ Code Error Fix Node Constructor Argument Mismatch

This systematic approach helps you quickly identify and resolve the mismatch.