ST.
XAVIER’S SCHOOL SILVASSA
ACADEMIC YEAR: 2025-26
PROJECT REPORT ON
“Billing Software”
ROLL NO : 21
NAME : Jignyasha Chaudhari
CLASS : XI
SUBJECT : COMPUTER SCIENCE
SUB CODE : 083
PROJECT GUIDE: Mrs Preetinder Kaur Bedi
(Computer Science)
ST. XAVIER’S SCHOOL SILVASSA
CERTIFICATE
This is to certify that Jignyasha Chaudhari RollNo: 21 has
successfully completed the project work entitled “ Billing Software” in the subject
Computer Science (083) laid down in the regulations of CBSE for the purpose of
Practical Examination in Class XI to be held in St Xavier’s School Silvassa.
Mrs. Preetinder Kaur Bedi
MCA
Examiner: Principal:
Name: _______________ Name: ____________
Signature: Signature:
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express my
gratitude to the people who have been instrumental in the successful completion of this
project.
I express deep sense of gratitude to almighty God for giving me strength for the
successful completion of the project.
I express my heartfelt gratitude to my parents for constant encouragement while
carrying out this project.
I gratefully acknowledge the contribution of the individuals who contributed in
bringing this project up to this level, who continues to look after me despite my flaws,
I express my sincere thanks to the academician The Principal, St Xavier’s
School, Silvassa, who has been continuously motivating and extending their helping
hand to us and for constant encouragement and the guidance provided during this
project
I am overwhelmed to express my thanks to The Administrative Officer for
providing me an infrastructure and moral support while carrying out this project in the
school.
My sincere thanks to Mrs. Preetinder Kaur Bedi, Master In-charge, A guide,
Mentor all the above a friend, who critically reviewed my project and helped in solving
each and every problem, occurred during implementation of the project
The guidance and support received from all the members who contributed and
who are contributing to this project, was vital for the success of the project. I am grateful
for their constant support and help.
TOPIC
INTRODUCTION
In today’s fast-growing digital world, computer software
plays a very important role in every business. From
small shops to big supermarkets, billing software has
become an essential tool to manage sales efficiently.
Manual billing is time-consuming and may lead to
calculation mistakes, wrong totals, and loss of
important customer records. To overcome these
problems, this project “Billing Software for Shops using
Python” has been developed.
This billing software is a simple yet powerful program
written in Python that helps shopkeepers generate bills
quickly and accurately. The software allows the user to
enter customer details such as name and address,
select the mode of payment, enter the number of items
purchased, and their prices. It automatically calculates
the total amount, GST, discount based on payment
mode, and the final payable amount. It also prints a
neat invoice for the customer.
The program supports different payment methods such
as cash, card, UPI and net banking. According to the
selected payment mode, the software applies a suitable
discount. This makes the billing process flexible and
customer-friendly. The GST is calculated automatically,
which reduces human error and saves time.
REQUIREMENTS
⇒To develop and run this billing software, the
following requirements are needed:
1) Hardware Requirements
2) Computer / Laptop
3) Keyboard and Mouse
4) Minimum 2 GB RAM
5) Internet connection (optional)
6) Software Requirements
7) Windows / Linux Operating System
8) Python 3.x
9)Any Python IDE (IDLE, VS Code, PyCharm) or
Command Prompt
Flow Chart
Start
↓
Display “Welcome to Billing Software”
↓
Enter Customer Name
↓
Enter Customer Address
↓
Select Mode of Payment (Cash / UPI / Card / Net Banking)
↓
Enter Number of Items
↓
Set Total = 0
↓
Repeat for each item
→ Enter Price of Item
→ Add price to Total
↓
Calculate GST (18% of Total)
↓
Apply Discount Based on Payment Mode
• Card → 5%
• Net Banking → 10%
• Cash → 7%
↓
Ask “Carry Bag Required?”
↓
If Yes → Add ₹15
If No → Continue
↓
Calculate Final Amount
↓
Display Invoice
(Name, Address, Payment Mode, Discount, GST, Total Price)
↓
Ask “Enter Another Entry? (Press Enter) or Exit (0)”
↓
If 0 → End
Else → Repeat
↓
End
🔹Purpose of the Program
⇒This program is a shop billing software that:
●Takes customer details
●Calculates total bill
●Adds 18% GST
●Gives discount based on payment mode
●Adds carry bag charge (₹15)
●Prints a final invoice
●Runs again for next customer
🔹 Code Explanation
🔸 1. Infinite Loop
while True:
1) Keeps the program running continuously
2) Allows multiple customers’ bills
3) Stops only when user presses 0
🔸 2. Welcome Message
print("Welcome to billing software! ")
print("Paymemt methods are cash, UPI, net banking,card")
1) Displays welcome message
2) Shows available payment modes
🔸 3. Customer Details Input
name= input('Enter the name of customer: ')
address= input('Enter the address of customer: ')
payment= input('Enter the mode of payment: ').lower()
1)Takes customer name
2)Takes address
3)Takes payment mode
4).lower() converts input to lowercase (avoids errors)
🔸 4. Number of Items
x= int(input("Enter how much item the user taken: "))
sum= 0
x → number of items purchased
sum → stores total price (initially 0)
🔸 5. Price Input & Total Calculation
for i in range(x):
x= float(input("Price of element: "))
sum+=x
1) Loop runs for each item
2) Takes item price
3) Adds price to sum
📌 Note: Variable x is reused (not good practice)
🔸6. GST Calculation
GST= (18/100)*sum
1) Calculates 18% GST on total amount
🔸 7. Discount Based on Payment Method
if payment=="card":
discount= (5/100)*sum
elif payment=="netbanking":
discount= (10/100)*sum
elif payment=="cash":
discount= (7/100)*sum
1) Card → 5% discount
2) Net banking → 10% discount
3) Cash → 7% discount
8. Carry Bag Option
print("Does costumer want a carrybag?")
a= input("Enter the response: ")
⇒ Asks if customer wants a carry bag
if a== "y":
total_price= (sum+GST+15)- discount
else:
total_price= sum+GST -discount
1) Adds ₹15 if carry bag is taken
2) Subtracts discount
3) Calculates final amount
9. Invoice Printing
print("--------------------------Invoice----------------")
⇒ Prints invoice heading
print("Name of the customer is:",name)
print("Address of customer is:",address)
print("Mode of payment is:",payment)
⇒ Displays customer details
🔸 10. Discount Display
if payment=="card":
print("You got",5, "% discount")
elif payment=="netbanking":
print("You got",10, "% discount")
elif payment=="cash":
print("You got",7, "% discount")
⇒ Shows discount percentage
🔸 11. Final Bill Details
print("Discount is ₹", discount)
print("Total without GST is ₹:",sum)
print("GST is ₹:",GST)
print("Total price is ₹",total_price)
○ Discount amount
○ Total before GST
○ GST
○ Final payable amount
🔸 12. Exit or Continue
str =input("Press Enter KEY to enter another entry and 0 key
to exit ")
if str=="0":
break
● Press Enter → new bill
● Press 0 → exit program
PROGRAM CODE
# Billing software for shops
while True:
print("Welcome to billing software! ")
print("Paymemt methods are cash, UPI, net
banking,card")
name= input('Enter the name of customer: ')
address= input('Enter the address of customer: ')
payment= input('Enter the mode of payment: ').lower()
x= int(input("Enter how much item the user taken: "))
sum= 0
for i in range(x):
x= float(input("Price of element: "))
sum+=x
GST= (18/100)*sum
if payment=="card":
discount= (5/100)*sum
elif payment=="netbanking":
discount= (10/100)*sum
elif payment=="cash":
discount= (7/100)*sum
print("Does costumer want a carrybag?")
print("if yes type y else type n")
a= input("Enter the response: ")
if a== "y":
total_price= (sum+GST+15)- discount
else:
total_price= sum+GST -discount
print("---------------------------------------------Invoice---------------
------------------------")
print("Name of the customer is:",name)
print("Address of customer is:",address)
print("Mode of payment is:",payment)
if payment=="card":
print("You got",5, "% discount")
elif payment=="netbanking":
print("You got",10, "% discount")
elif payment=="cash":
print("You got",7, "% discount")
print("Discount is ₹", discount)
print("Total without GST is ₹:",sum)
print("GST is ₹:",GST)
print("Total price is ₹",total_price)
str =input("Press Enter KEY to enter another entry and
0 key to exit ")
if str=="0":
break
OUTPUT
1] Google
2] Computer Science Python Book( By Preeti Arora )
3] Chat GPT
4] * IDLE Shell 3.13.5* (PYTHON)