0% found this document useful (0 votes)
161 views52 pages

GST Billing Report

Uploaded by

TAIYABA FATHIMA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
161 views52 pages

GST Billing Report

Uploaded by

TAIYABA FATHIMA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

VISVESVARYA TECHNOLOGICAL UNIVERSITY

Jnana Sangama, Belgavi-590018

A Mini Project Report On


“GST Invoicing and Billing”

Submitted in the partial fulfilment of the requirement for the award degree of

BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING

Submitted By
HRISHIKESH MAHATO TAIYABA FATHIMA

1AR20CS004 1AR20CS014

Under the Guidance of

[Link]. C M JANGIN
Dept. of CS&E

AIEMS
BENGALURU

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


2022-23
B.V.V. Sangha’s
AMRUTA INSTITUTE OF ENGINEERING
& MANAGEMENT SCIENCES
Bidadi Industrial Area, Bidadi, Bengaluru – 562109
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that the mini project report entitled “GST Invoicing and Billing” is a
Bonafide project work carried out by HRISHIKESH MAHATO (1AR20CS004) and
TAIYABA FATHIMA (1AR20CS014) in partial fulfilment of award of Degree of
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya
Technological University, Belagavi, during the academic year 2022-2023. It is certified that
all corrections/suggestions indicated for Internal Assessment have been incorporated. The
mini project has been approved as it satisfies the academic requirements associated with the
Degree mentioned.

Signature of Guide Signature of HOD

………………………… ………………………

[Link]. C M JANGIN DR. SRINIVASA R


Dept. of CSE, Head, Dept. of CSE,

AIeMS, Bengaluru. AIeMS, Bengaluru.

External Viva

Name of the Examiners Signature with Date

1. ………………………… …………………………
2. ………………………… …………………………
ACKNOWLEDGEMENT

The completion of project brings with great sense of satisfaction, but it is never completed
without thanking the persons who all are responsible for its successful completion. First
and foremost, we wish to express our deep sincere feelings of gratitude to our Institution,
AMRUTA INSTITUTE OF ENGINEERING & MANAGEMENT SCIENCES, for
providing us an opportunity to do our education.

We extend our deep sense of sincere gratitude to Dr. SANTHOSH M MURNAL, Principal
AMRUTA INSTITUTE OF ENGINEERING & MANAGEMENT SCIENCES, for having
permitted to carry out the project work successfully.

We express our heartfelt sincere gratitude to Dr. SRINIVASA R, Professor and Head of
Department of Computer Science and Engineering, AMRUTA INSTITUTE OF
ENGINEERING & MANAGEMENT SCIENCES, for his valuable suggestions and
support.

We express our heartfelt and sincere gratitude to project guide [Link]. C M JANGIN,
Professor and Head, Dept. of CS&E, AMRUTA INSTITUTE OF ENGINEERING &
MANAGEMENT SCIENCES, for her constant support and guidance.

Finally, we would like to thank all the Teaching, Technical faculty and supporting staff
members of Department of Computer Science and Engineering, AMRUTA INSTITUTE
OF ENGINEERING & MANAGEMENT SCIENCES, for their support.

HRISHIKESH MAHATO TAIYABA FATHIMA

(1AR20CS004) (1AR20CS014)

i
DECLARARTION

HRISHIKESH MAHATO (1AR20CS004) and TAIYABA FATHIMA (1AR20CS014), student

of 6th semester Bachelor of Engineering in the Department of Computer Science and

Engineering of AMRUTA INSTITUTE OF ENGINEERING & MANAGEMENT

SCIENCES, BIDADI, BENGALURU-562109 KARNATAKA , hereby declare that the

project entitled “GST Invoicing and Billing ” has been carried out by us under the guidance

and supervision of Internal Guide [Link]. C M JANGIN, Head , Department of

Computer Science and Engineering, AIeMS, Bengaluru, submitted in the fulfillment of the

requirements for the course requirements for the award of the degree of Bachelor of

Engineering of Computer Science and Engineering of Visvesvaraya Technological

University during the Academic year 2022-23.

Place:

Date:

HRISHIKESH MAHATO TAIYABA FATHIMA


(1AR20CS004) (1AR20CS014)

ii
ABSTRACT

GST is characterized as the bigger backhanded expense structure intended to help and upgrade
the financial development of a country. It would enthusiasm to comprehend why this proposed
GST administration may hamper the development and advancement of the nation. In this
project I have developed an application software to manage the bill submission process in shop
or organization. Manually it’s very difficult to calculate different types of items with different
GST value. This process is very difficult and time consuming. That’ s why I tried to develop a
system which can calculate GST value of each and every product. This application is developed
to manage the bill submission process in shop or organization. Using this system shop
employee can generate bill with GST calculations for customer for his purchase and also print
its bill copy for customer. The main purpose of this inventory maintenance and billing using
GST system project is developing a system that automate the bill save.

iii
TABLE OF CONTENTS
Acknowledgement i
Declaration ii
Abstract iii
Table of contents iv
List of figures v

Chapter 1 INTRODUCTION
1.1 Introduction 1

1.2 Problem Statement / Aim 1

1.3 Scope 2

1.4 Project Description 2

Chapter 2 HARDWARE AND SOFTWARE REQUIREMENTS


2.1 Software Requirements 3

2.2 Hardware Requirements 3

Chapter 3 DESIGN
3.1 Objectives of The Project 4

3.2 Methodology 5

3.3.1 Flow Chart 5

3.2.2 System Design 6

3.3 Use Case Diagram 6

Chapter 4 IMPLEMENTATION
4.1 Introduction to Android 7

4.1.1 Android Development the Android operating system 8

4.1.3 Android Applications 9

4.1.4 Android Features 9

4.1.5 The challenges of Android app development. 10

4.1.6 Applications 10

4.2 Platform 10

iv
4.3 Language 11

4.4 CODE SNIPPETS 11

Chapter 5 RESULT AND DISCUSSION


5.1 Snapshots 39

Chapter 6 CONCLUSION AND FUTURE ENHANCEMENTS


BIBLIOGRAPHY 45

List of Figures

Figure no Title Page no

3.1 Flow Chart 5


3.2 System Design 6
3.3 Use Case Diagram 6
4.1 Advantages of Android 8

5.1 GST billing Application Logo 39


5.2 Enter Customer Details 40
5.3 Set Password 41
5.4 Customer purchase details 42
5.5 Mark as paid 43

v
GST Invoicing and Billing 2022-23

CHAPTER 1

INTRODUCTION
1.1 Introduction
In this project we have developed an application software to manage the bill submission
process in shop or organization. Manually it’s very difficult to calculate different types of
items with different GST value. This process is very difficult and time consuming. That’ s
why we tried to develop a system which can calculate GST value of each and every product.
This application is developed to manage the bill submission process in shop or
organization. Using this system shop employee can generate bill with GST calculations for
customer for his purchase and also print its bill copy for customer. The main purpose of
this inventory maintenance and billing using GST system project is developing a system
that automate the bill save.
Calculating taxes accurately can be a complex and time-consuming task, especially
considering the various tax rates applicable to different products and services. The GST
Billing Application automates tax calculations based on the relevant GST rates, eliminating
the need for manual calculations. This feature saves businesses valuable time and ensures
accurate tax amounts on invoices.

1.2 Problem Statement / Aim


In today’s society, it’s very hard to be competitive without using cutting edge technology
available in market. After years of business, the data was grown much. It is becoming a
challenge for a person to manage that data in an effective way.
To be more productive in order processing, we need a solution which can facilitate their
current process with the use of technology and software. With increased number of orders,
it becomes difficult for salesperson to manage orders in effective and efficient manner.
It is very hard to go through all paper work and back tracking orders. If there is any
complain or review of any orders, it takes large amount of effort and time to back track and
fix the problem. These results in loss of resource.

Dept of CSE,AIeMS Page 1


GST Invoicing and Billing 2022-23

1.3 Scope
It is used to define and understand the current method of implementation, such as a system,
a product etc. From this analysis, it is not uncommon to discover there is actually nothing
wrong with the current system or product other than some misunderstandings regarding it
overlaps it needs some simple modifications regarding it or perhaps it needs some simple
modifications as opposed to a major service.
Currently in most of our shops or market does not use computers for performing their daily
tasks. There is a limited number or shop that use Microsoft office products, such as MS
word and MS excel for performing their daily inventory tasks. Most of them do not even
have the information that computers can make a great difference in the way they are doing
their t asks when they are programmed to do so. In the existing system all transactions,
dealing of products, purchasing of products were done manually which time consuming.
Reports are prepared manually when needed. Maintaining of reports are very difficult task
and it is very difficult to know the status of the submitted bill calculation with GST.

1.4 Project Description


GST is applied to all the goods and services. GST is divided into four distinct tax rates,
5%, 12%, 18% and 28%. This GST Billing can be used by different types of users, such as
customers, manufacturers, and wholesalers. In this primarily Users should register by
giving business name, address and set the Password. To calculate the GST the user should
give the customer’s name and phone then items, Quantity and GST percentage. We have
options such as mark as paid, calls, delete, add more items etc.

Dept of CSE,AIeMS Page 2


GST Invoicing and Billing 2022-23

CHAPTER 2

HARDWARE AND SOFTWARE REQUIREMENTS


In the development of any software applications, we require same particular system
configuration of software and hardware components. This configuration helps in achieving
the proper execution.

The various requirements that are essential for this project are specified over here. These
requirements have to be fulfilled for successful of the project. The purpose scope along
with hardware and software requirements helps for proper execution.

2.1 Software Requirements

A software requirements description of a software system to be developed. This document


enlists enough and necessary requirements that are required for the project development.

• Android development tool (ADL)

• Android studio

• XML

• Java development tool kit (JDK)

• SDK 7.0

• UML

2.2 Hardware Requirements

The project works with any IBM PC compatible with Intel or AMD processor. Processor:
Intel Pentium 41.50 Giga HZ

Memory: 512mb to 1gb

Operating System: windows 7/8/10 RAM: 4/8GB

Graphics Card: [Link] GL

Dept of CSE,AIeMS Page 3


GST Invoicing and Billing 2022-23

CHAPTER 3

DESIGN

The proposed system is intended to provide the facility of automating the inventory tasks
such as item management and customer billing with a GST for the shop or market. This
project is designed with a goal to making the existing system more informative, reliable,
fast and easier.

3.1 Objectives of The Project

• purchase, product details which are going out into market. Details are maintained in This
project is a software application which is designing for managing sales, centralized
database.

• The main objective of our project is to make efficient transaction management system
which is user friendly and at the same time powerful.

• Making the system reliable, easier, faster and more informative an effective.

• It has capability to keep the complete information of a transaction.

• System plays an important role in achieving the desired plans availability at an optimum
cost.

• To produce software which manages the sales activity done in a market, maintaining the
details of the products and to maintain the records of the sale.

❖ Motivation

• GST Billing is the Open Source.

• It can be easily downloaded in play store.

• Manual calculations are more time consuming.

• It saves time and reduces the chances of manual errors while computing the cost of goods
and services.

Dept of CSE,AIeMS Page 4


GST Invoicing and Billing 2022-23

Methodology

Data were collected from different markets which same half of them use manual system
while others use computerized system and customers of both type of markets. Interviewing
the people who worked and have experienced how to manage market, to know the quality
and the intensity of the information we need.

3.2.1 Flow Chart

A flow chart is a diagrammatic representation of an algorithm, a step-by-step approach to


solving a task. The flowchart shows the steps as boxes of various kinds and their order by
converting the boxes with an arrow.

Fig 3.1: Flow Chart

Dept of CSE,AIeMS Page 5


GST Invoicing and Billing 2022-23

3.2.2 System Design


System design is the process of defining elements of a system like modules, architecture,
components and their interfaces and data for a system based on the specified requirements.
it is the process of defining, developing and designing systems which satisfies the specific
needs and requirements of a business.

Fig 3.2: System Design

3.3 Use Case Diagram

Use case diagram is a graphical representation of a users possible interactions with a


system. A use case diagram shows various use case and different types of users the system
have and will have accomplished by other circles and ellipses. The actors are often shown
as stick figures.

Fig 3.3: Use Case Diagram

Dept of CSE,AIeMS Page 6


GST Invoicing and Billing 2022-23

CHAPTER 4
IMPLEMENTATION
Project implementation is the segment wherein visions and plans come to be a reality. This
is the logical conclusion, after evaluating, deciding, visioning, planning, applying for
finances, and finding the monetary resources of a challenge. The implementation degree of
the project cycle is in many approaches the most critical, as it’s miles in the course of this
stage that planned advantages are delivered. All different stages within the cycle are
therefore essentially supportive of this implementation stage. A task has to be implemented
successfully while the allocation of undertaking obligations to the assignment team in the
organization.

4.1 Introduction to Android


Android is an operating system and programming platform developed by Google for mobile
phones and other mobile devices, such as tablets. It can run on many different devices from
many different manufacturers. Android includes a software development kit ( SDK) that
helps you write original code and assemble software modules to create apps for Android
users. Android also provides a marketplace to distribute apps. Altogether, Android
represents an ecosystem for mobile apps. Android is an open source and Linux-based
Operating System for mobile devices such as smartphones and tablet computers. Android
was developed by the Open Handset Alliance, led by Google, and other companies.
Android offers a unified approach to application development for mobile devices which
means developers need only develop for Android, and their applications should be able to
run on different devices powered by Android. The first beta version of the Android
Software Development Kit (SDK) was released by Google in 2007 where as the first
commercial version, Android 1.0, was released in September 2008. improving the user
interface, both in terms of functionality and performance. On June 27, 2012, at the Google
I/O conference, Google announced the next Android version, 4.1 Jelly Bean. Jelly Bean is
an incremental update, with the primary aim of the source code for Android is available
under free and open-source software licenses. Google publishes most of the code under the
Apache License version 2.0 and the rest, Linux kernel changes, under the GNU General
Public License version 2.

Dept of CSE,AIeMS Page 7


GST Invoicing and Billing 2022-23

4.1.1 Android Development the Android operating system


is the largest installed base among various mobile platforms across the globe. Hundreds of
millions of mobile devices are powered by Android in more than 190 countries of the
world. It conquered around 75% of the global market share by the end of 2020, and this
trend is growing bigger every other day company. In September 2008, the first Android-
powered device launched in the market. Android dominates the mobile OS industry because
of the long list of features it provides.

It’s user-friendly, has huge community support, provides a greater extent of customization,
and a large number of companies build Android-compatible smart phones. As a result, the
market observes a sharp increase in the demand for developing Android mobile
applications, and with that companies need smart developers with the right skill set. At first,
the purpose of Android was thought of as a mobile operating system. However, with the
advancement of code libraries and its popularity among developers of the divergent
domain, Android becomes an absolute set of software for all devices like tablets, wear able,
set-top boxes, smart TVs, notebooks, etc.

4.1.2 Why Android?

Fig 1.1: Advantages of Android

Dept of CSE,AIeMS Page 8


GST Invoicing and Billing 2022-23

CG (Computer graphics) started with the display of data on hardcopy plotters and cathode
ray tube screens soon after the introduction of computer themselves.

4.1.3 Android Applications


Android applications are usually developed in the Java language using the Android
Software Development Kit.
Once developed, Android applications can be packaged easily and sold out either
through a store such as Google Play, Slide ME, Opera Mobile Store, Mobango, F- droid
and the Amazon Appstore.
Android powers hundreds of millions of mobile devices in more than 190 countries
around the world. It's the largest installed base of any mobile platform and growing fast.
Every day more than 1 million new Android devices are activated worldwide.
This tutorial has been written with an aim to teach you how to develop and package
Android application. We will start from environment setup for Android application
programming and then drill down to look into various aspects of Android applications.

4.1.4 Android Features


Android is a powerful open-source operating system which provides a lot of great features,
those are
• It’s open-source and we can customize the OS based on our requirements.
• It supports connectivity for GSM, CDMA, WIFI, NFC, Bluetooth, etc. for telephony
or data transfer.
• By using WIFI technology we can pair with other devices using apps.
• It has a wide range of media supports like AVI, MPEG4, etc. to play or record a
variety of audio/video and having a different image format like JPEG, PNG, GIF,
MP3, etc. to perform playback or recording using camera and microphone
• It has an integrated open-source Web Kit layout-based web browser to
support HTML5, CSS3
• It supports a multi-tasking.
• It will give a chance to reuse the application components and the replacement of
native applications.
• It has support for 2D/3D Graphics

Dept of CSE,AIeMS Page 9


GST Invoicing and Billing 2022-23

4.1.5 The challenges of Android app development.


While the Android platform provides rich functionality for app development, there are still
a number of challenges you need to address, such as:
➢ Building for a multi-screen world

➢ Getting performance right

➢ Keeping your code and your users more secure

➢ Making sure your app is compatible with older platform versions

4.1.6 Applications
Applications is the top layer of android architecture. The pre-installed applications like
home, contacts, camera, gallery etc. And third-party applications downloaded from the play
store, like chat applications, games etc. will be installed on this layer only. It runs within
the android runtime with the help of the classes and services provided by the application
framework.

4.2 Platform
Windows 10 is a computer operating system by Microsoft as part of its Microsoft Windows
family of operating systems. It was known as Threshold when it was being developed and
announced at a press event on 30 September 2014. It came out for PC son 29 July 2015.
Beginning on that day, Windows 10 was available as a free upgrade for users running
Windows 7and Windows 8.1 for one year.
Windows 10 is designed to provide a common, "universal" user interface for various
systems. These include desktop, laptop, and all-in-one PCs, tablet computers, smart phones,
and embedded systems such as the Xbox game console. This allows Microsoft to integrate
each type of platform with greater ease.
Microsoft releases updates every half a year, an example of the software as a service
principle. Each release has a four-digit build number the first two digits referring to the
year of release, and the other two digits referring to the month of release (eg: "1903" refers
to a build released in March 2019).

Dept of CSE,AIeMS Page 10


GST Invoicing and Billing 2022-23

4.3 Language
Java is a high-level, class-based, object-oriented programming language that is designed to
have as few implementation dependencies as possible. It is a general- purpose programming
language intended to let application developers write once, run anywhere meaning that
compiled Java code can run on all platforms that support Java without the need for
recompilation. Java applications are typically compiled to byte code that can run on any
Java virtual.

4.4 CODE SNIPPETS


4.4.1 [Link] & [Link]
package [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];

Dept of CSE,AIeMS Page 11


GST Invoicing and Billing 2022-23

import [Link];
import [Link];
[Link];
public class BillsActivity extends AppCompatActivity implements
[Link]<Cursor>,
[Link] {
Private RecyclerViewunpaid RecyclerView;
private BillAdapter adapter;
private String billListStatus;
private int billDividerColor;
private String billSortOrder;
private static final int BILL_LOADER_ID = 100;
@Override
protected void onCreate(Bundle savedInstanceState) {
[Link](savedInstanceState);
setContentView([Link].activity_bills);
Toolbar toolbar = (Toolbar) findViewById([Link]);
setSupportActionBar(toolbar);
if(savedInstanceState != null){
billListStatus=[Link]([Link]
ARY_ COLUMN_ STATUS);
}else {
billListStatus = GSTBillingContract.BILL_STATUS_UNPAID;
}
[Link] builder = new [Link]();
[Link]([Link]());
isStoragePermissionGranted(); switch (billListStatus){
case GSTBillingContract.BILL_STATUS_PAID:
getSupportActionBar().setTitle([Link].paid_bills_title);
billDividerColor = [Link]; billSortOrde="DESC";

Dept of CSE,AIeMS Page 12


GST Invoicing and Billing 2022-23

break;
}
case GSTBillingContract.BILL_STATUS_UNPAID:
getSupportActionBar().setTitle([Link].unpaid_bills_title);
billDividerColor = [Link];
billSortOrder = " ASC"; break;
FloatingActionButton fab = (FloatingActionButton) findViewById([Link].fab_unpaid);
[Link](new [Link]() {
@Override
public void onClick(View view) {
startActivity(new Intent([Link], [Link]));
}
}
);
checkPasswordSetup();
unpaidRecyclerView = (RecyclerView) findViewById([Link].unpaid_recycler_view);
[Link](new LinearLayoutManager(this));
[Link](true);
adapter = new BillAdapter(this, this, billDividerColor);
[Link](adapter);
getSupportLoaderManager().initLoader(BILL_LOADER_ID, null, this);
}
private void checkPasswordSetup() {
SharedPreferences prefs = [Link](this);
if([Link](SetupPasswordActivity.SETUP_PASSWORD_KEY, null) == null){
Intentintent=newIntent(this,[Link]);
startActivity(intent); finish();
}
}
public boolean isStoragePermissionGranted(){
if([Link].SDK_INT >= 23){
Dept of CSE,AIeMS Page 13
GST Invoicing and Billing 2022-23

if(checkSelfPermission([Link].WRITE_EXTERNAL_STORAGE)==
PackageManager.PERMISSION_GRANTED){
return true;
}else{
[Link](
this, new String[]{[Link].WRITE_EXTERNAL_STORAGE}, 1);
return false;
}
}else{ return true;
}
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu;
this adds items to the action bar if it is present.
getMenuInflater().inflate([Link].menu_bills_list, menu);
if([Link](GSTBillingContract.BILL_STATUS_PAID)){
[Link]([Link].action_swap_bills_list).setTitle([Link].action_show_unpaid_bills);
}
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in [Link]. int id = [Link]();
if(id == [Link].action_swap_bills_list){
switch (billListStatus){
case GSTBillingContract.BILL_STATUS_UNPAID: billListStatus =
GSTBillingContract.BILL_STATUS_PAID;

Dept of CSE,AIeMS Page 14


GST Invoicing and Billing 2022-23

[Link](getString([Link].action_show_unpaid_bills));
getSupportActionBar().setTitle(getString([Link].paid_bills_title));
billDividerColor = [Link];
billSortOrder = " DESC"; break;
case GSTBillingContract.BILL_STATUS_PAID:
billListStatus = GSTBillingContract.BILL_STATUS_UNPAID;
[Link](getString([Link].action_show_paid_bills));
getSupportActionBar().setTitle(getString([Link].unpaid_bills_title));
billDividerColor = [Link];
billSortOrder = " ASC"; break;
}
getSupportLoaderManager().restartLoader(BILL_LOADER_ID, null, this);
}
return [Link](item);
}
@Override
public Loader<Cursor> onCreateLoader(int id, Bundle args) {
switch (id) case BILL_LOADER_ID: return new CursorLoader(
this, [Link].CONTENT_URI, null,
[Link].PRIMARY_COLUMN_STATUS + "='" +
billListStatus + "'",null,
[Link]._ID + billSortOrder
);
default:
throw new RuntimeException("Loader not implemented: " + id);
}
}
@Override
public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
[Link](data,billDividerColor);

Dept of CSE,AIeMS Page 15


GST Invoicing and Billing 2022-23

}
@Override
public void onLoaderReset(Loader<Cursor> loader) { [Link](null,
[Link]);
}
@Override
public void onBillItemClick(String clickedBillId,String customerName,String
phoneNumber) {
Intent detailIntent = new Intent(this, [Link]);
[Link]([Link]._ID, clickedBillId);
[Link]([Link].PRIMARY_COLUMN_STA
TU S, billListStatus);
[Link]([Link].PRIMARY_COLUMN_NA
ME, customerName);
[Link]([Link].PRIMARY_COLUMN_PHO
NE_NUMBER, phoneNumber);
startActivity(detailIntent);
}
@Override
protected void onSaveInstanceState(Bundle outState) {
[Link]([Link].PRIMARY_COLUMN_STAT
US, billListStatus);
[Link](outState);
}
}
package [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
Dept of CSE,AIeMS Page 16
GST Invoicing and Billing 2022-23

import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
import [Link];
public class NewBillActivity extends AppCompatActivity {
public static boolean addingMoreItems = false;
private Spinner taxSlabSpinner;
private EditText itemDescription;
private EditText finalPriceEt;
private EditText quantityEt;
private Button finishBtn;
private int taxSlab; List<ContentValues> cvList;
@Override
protected void onCreate(Bundle savedInstanceState) {
[Link](savedInstanceState);
setContentView([Link].activity_new_bill);
taxSlabSpinner = (Spinner) findViewById([Link].tax_slab_spinner);
setupTaxSpinner();

Dept of CSE,AIeMS Page 17


GST Invoicing and Billing 2022-23

itemDescription = (EditText) findViewById([Link].new_item_value);


finalPriceEt = (EditText) findViewById([Link].new_final_price_value);
quantityEt = (EditText) findViewById([Link].new_quantity_value);
finishBtn = (Button) findViewById([Link].finish_btn);
[Link](false);
if(getIntent().hasExtra(DetailActivity.EDITING_ITEM)){
getSupportActionBar().setTitle([Link].action_edit_bill_item_label);
findViewById([Link].add_to_bill_btn).setVisibility([Link]);
[Link]([Link]);
final Intent editIntent = getIntent();
final int idValue = [Link](GSTBillingCustomerEntry._ID, 0);
String itemDescriptionValue =
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_ITEM_
DES CRIPTION);
Float finalPriceValue=[Link]([Link]
_COLUMN_FINAL_PRI CE, 0f);
Int quantityValue=[Link](GSTBillingCustomerEntry.SECONDARY_COL
UMN_QUANTITY, 0);
[Link](itemDescriptionValue);
[Link]([Link]((int) finalPriceValue));
[Link]([Link](quantityValue));
Button doneEditingBtn = (Button) findViewById([Link].done_edit_item_btn);
[Link]([Link]);
[Link](new [Link]() {
@Override
public void onClick(View v) {
if([Link]().toString().length() == 0){ [Link]("NA");
}
if([Link]().toString().length() == 0){
[Link]();

Dept of CSE,AIeMS Page 18


GST Invoicing and Billing 2022-23

[Link]([Link],
getString([Link].enter_final_price_error), Toast.LENGTH_SHORT).show();
return;
}
if([Link]().toString().length() == 0){
[Link]("1");
}
ContentValues cv = new ContentValues();
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_ITEM_DESCRIPTION,
[Link]().toString());
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_FINAL_PRICE,
[Link]([Link]().toString()));
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_QUANTITY,
[Link]([Link]().toString()));
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_TAX_SLAB,taxSlab);
getContentResolver().update(
GSTBillingEntry.CONTENT_URI.buildUpon().appendPath([Link](Det
ail Activity.EDITING_ITEM)).appendPath([Link](idValue)).build(),
cv, null, null
);
ContentValues contentValues = new ContentValues();
[Link]([Link].PRIMARY_COLUMN_STAT
US, GSTBillingContract.BILL_STATUS_UNPAID);
getContentResolver().update(
[Link].CONTENT_URI.buildUpon().appendPath(editInte
[Link] StringExtra(DetailActivity.EDITING_ITEM)).build(),contentValues,
[Link]._ID+"="+[Link](DetailActivity.
EDIT ING_ITEM),null);
[Link]();
finish();

Dept of CSE,AIeMS Page 19


GST Invoicing and Billing 2022-23

}
});
}
Else
{
cvList = new ArrayList<>();
}
}
private void setupTaxSpinner() {
ArrayAdapter<CharSequence>adapter=[Link](this,
[Link].tax_slab_list_array,
[Link].simple_spinner_item);
[Link]([Link].simple_spinner_dropdown_item);
[Link](adapter);
[Link](new [Link]()
{
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id)
{
switch (position){ case 0: taxSlab = 28; break;
case 1:
taxSlab = 18; break; case 2:
taxSlab = 12; break; case 3:
taxSlab = 5; break;
}
}
@Override
public void onNothingSelected(AdapterView<?> parent) { taxSlab = 28;
}
});

Dept of CSE,AIeMS Page 20


GST Invoicing and Billing 2022-23

}
public void addToBill(View view){
if([Link]().toString().length() == 0){
[Link]("NA");
}
if([Link]().toString().length() == 0){ [Link]();
[Link](this, getString([Link].enter_final_price_error),
Toast.LENGTH_SHORT).show();
return;
}
if([Link]().toString().length() == 0){ [Link]("1");
}
ContentValues cv = new ContentValues();
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_ITEM_DESCRIPTION,
[Link]().toString());
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_FINAL_PRICE,
[Link]([Link]().toString()));
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_QUANTITY,
[Link]([Link]().toString()));
[Link](GSTBillingCustomerEntry.SECONDARY_COLUMN_TAX_SLAB, taxSlab);
[Link](cv);
[Link](this,getString([Link].item_added_success),
Toast.LENGTH_SHORT).show();
[Link](""); [Link](""); [Link]("");
[Link](true);
[Link]();
}
public void finishAddingItems(View view){
// Check if any item is added in Selling price EditText before finishing the bill
if([Link]().toString().length() != 0){

Dept of CSE,AIeMS Page 21


GST Invoicing and Billing 2022-23

[Link](this, getString([Link].add_item_to_bill_error),
Toast.LENGTH_SHORT).show();
return;
}
if(!getIntent().hasExtra(DetailActivity.ADDING_MORE_ITEMS)){
// Inserting customer details in primary table Intent intent = getIntent();
String customerName =
[Link](NewBillCustomerActivity.ADD_CUSTOMER_NAME_KEY);
StringphoneNumber=[Link](NewBillCustomerActivity.ADD_CUSTOMR
_PHONE_KEY);
String billDate = new SimpleDateFormat("dd-MM-yyyy").format(new Date());
String billStatus = GSTBillingContract.BILL_STATUS_UNPAID;
ContentValues contentValues = new ContentValues();
[Link](GSTBillingEntry.PRIMARY_COLUMN_NAME, customerName);
[Link](GSTBillingEntry.PRIMARY_COLUMN_PHONE_NUMBER,
phoneNumber);
[Link](GSTBillingEntry.PRIMARY_COLUMN_DATE, billDate);
[Link](GSTBillingEntry.PRIMARY_COLUMN_STATUS, billStatus);
Uri idUri = getContentResolver().insert(GSTBillingEntry.CONTENT_URI,
contentValues);
// Inserting item details in secondary table String id = [Link]();
getContentResolver().bulkInsert([Link].CONTENT_URI.
buil dUpon().appendPath(id).build(),
[Link](new ContentValues[[Link]()]));
// Opening detail activity
Intent detailIntent = new Intent(this, [Link]);
[Link](GSTBillingEntry._ID, id);
[Link](GSTBillingEntry.PRIMARY_COLUMN_NAME, customerName);
[Link](GSTBillingEntry.PRIMARY_COLUMN_PHONE_NUMBER,
phoneNumber);
[Link](GSTBillingEntry.PRIMARY_COLUMN_STATUS,
Dept of CSE,AIeMS Page 22
GST Invoicing and Billing 2022-23

GSTBillingContract.BILL_STATUS_UNPAID);
startActivity(detailIntent); finish();
}else { addingMoreItems = true;
String id = getIntent().getStringExtra(GSTBillingEntry._ID);
getContentResolver().bulkInsert([Link].CONTENT_URI.
buil

dUpon().appendPath(id).build(),
[Link](new ContentValues[[Link]()]));
ContentValues contentValues = new ContentValues();
[Link]([Link].PRIMARY_COLUMN_STAT
US, GSTBillingContract.BILL_STATUS_UNPAID);
getContentResolver().update(
[Link].CONTENT_URI.buildUpon().appendPath(String.v
alu eOf(id)).build(),
contentValues, [Link]._ID + "=" + id, null
);
[Link]();
finish();
}
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate([Link].menu_bill, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = [Link]();
if(id == [Link].action_discard){

Dept of CSE,AIeMS Page 23


GST Invoicing and Billing 2022-23

finish();
}
return [Link](item);
}
}

4.4.2 [Link]
<?xml version="1.0" encoding="utf-8"?>
<[Link]
xmlns:android="[Link]
xmlns:app="[Link]
xmlns:tools="[Link]
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:background="@drawable/back3"
tools:context="[Link]">

<[Link]
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:theme="@style/[Link]">

<[Link]
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/[Link]" />

</[Link]>

Dept of CSE,AIeMS Page 24


GST Invoicing and Billing 2022-23

<LinearLayout
android:layout_marginTop="?attr/actionBarSize"
android:layout_marginBottom="@dimen/activity_vertical_margin"
android:layout_marginLeft="@dimen/activity_horizontal_margin"
android:layout_marginRight="@dimen/activity_horizontal_margin"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">

<[Link]
android:id="@+id/unpaid_recycler_view"
android:layout_width="match_parent"
android:padding="@dimen/activity_horizontal_margin"
android:layout_height="wrap_content" />

</LinearLayout>

<Button
android:id="@+id/action_aboutus"
android:layout_width="73dp"
android:layout_height="69dp"
android:layout_gravity="bottom"
android:layout_margin="@dimen/fab_margin"
android:background="@android:drawable/ic_dialog_info"
android:backgroundTint="@color/colorPrimary"
android:onClick="goNext"
tools:ignore="SpeakableTextPresentCheck" />
<!-- <[Link]-->
<!-- android:id="@+id/fab_unpaid"-->
<!-- android:layout_width="82dp"-->
<!-- android:layout_height="90dp"-->

Dept of CSE,AIeMS Page 25


GST Invoicing and Billing 2022-23

<!-- android:layout_gravity="bottom"-->
<!-- android:layout_margin="@dimen/fab_margin"-->
<!-- android:tint="@color/colorPrimaryDark"-->
<!-- app:backgroundTint="#FFFFFF"-->
<!-- app:srcCompat="@android:drawable/ic_dialog_info"-->
<!-- tools:ignore="SpeakableTextPresentCheck" />-->

<[Link]
android:id="@+id/fab_unpaid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:tint="@color/colorPrimaryDark"
app:srcCompat="@android:drawable/ic_input_add"
tools:ignore="SpeakableTextPresentCheck" />

</[Link]>
4.4.3 [Link]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="[Link]
xmlns:tools="[Link]
android:id="@+id/activity_detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:background="@drawable/back2"
tools:context="[Link]"
android:orientation="vertical">

Dept of CSE,AIeMS Page 26


GST Invoicing and Billing 2022-23

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textStyle="bold"
android:gravity="center"
android:text="@string/serial_number_label"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:textStyle="bold"
android:gravity="center"
android:text="@string/price_label"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1.5"
android:textStyle="bold"
android:gravity="center"
android:text="@string/qty_label"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"

Dept of CSE,AIeMS Page 27


GST Invoicing and Billing 2022-23

android:layout_height="wrap_content"
android:layout_weight="3"
android:textStyle="bold"
android:gravity="center"
android:text="@string/rate_label"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:textStyle="bold"
android:gravity="center"
android:text="@string/taxable_value_label"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:textStyle="bold"
android:gravity="center"
android:text="@string/tax_slab_tv"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:textStyle="bold"
android:gravity="center"
android:text="@string/cgst_label"/>
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"

Dept of CSE,AIeMS Page 28


GST Invoicing and Billing 2022-23

android:layout_height="wrap_content"
android:layout_weight="2"
android:textStyle="bold"
android:gravity="center"
android:text="@string/sgst_label"/>
</LinearLayout>

<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/black" />

<ScrollView
android:id="@+id/detail_sv"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<[Link]
android:id="@+id/detail_recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"/>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

Dept of CSE,AIeMS Page 29


GST Invoicing and Billing 2022-23

<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="@string/total_amount_before_tax_label"
android:textSize="18sp"
android:textStyle="bold"/>
<TextView
android:id="@+id/total_amount_before_tax_value"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center_vertical|right"
android:layout_height="match_parent"
android:textSize="18sp"
android:layout_margin="10dp"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="@string/total_cgst_label"
android:textSize="18sp"
android:textStyle="bold"/>

Dept of CSE,AIeMS Page 30


GST Invoicing and Billing 2022-23

<TextView
android:id="@+id/total_cgst_value"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center_vertical|right"
android:layout_height="match_parent"
android:textSize="18sp"
android:layout_margin="10dp"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="@string/total_sgst_label"
android:textSize="18sp"
android:textStyle="bold"/>
<TextView
android:id="@+id/total_sgst_value"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center_vertical|right"
android:layout_height="match_parent"
android:textSize="18sp"
android:layout_margin="10dp"/>
</LinearLayout>

Dept of CSE,AIeMS Page 31


GST Invoicing and Billing 2022-23

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="@string/total_gst_label"
android:textSize="18sp"
android:textStyle="bold"/>
<TextView
android:id="@+id/total_gst_value"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center_vertical|right"
android:layout_height="match_parent"
android:textSize="18sp"
android:layout_margin="10dp"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:textColor="@color/colorPrimaryText"
android:layout_width="0dp"
android:layout_weight="1"

Dept of CSE,AIeMS Page 32


GST Invoicing and Billing 2022-23

android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="@string/total_amount_label"
android:textSize="18sp"
android:textStyle="bold"/>
<TextView
android:id="@+id/total_amount_after_tax_value"
android:layout_width="0dp"
android:layout_weight="1"
android:gravity="center_vertical|right"
android:layout_height="match_parent"
android:textSize="18sp"
android:layout_margin="10dp"/>
</LinearLayout>

<TextView
android:id="@+id/total_amount_in_words_value"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:textSize="16sp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

</LinearLayout>

</ScrollView>

</LinearLayout>

Dept of CSE,AIeMS Page 33


GST Invoicing and Billing 2022-23

4.4.4 [Link]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="[Link]
xmlns:tools="[Link]
android:id="@+id/activity_new_bill"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:background="@drawable/back2"
tools:context="[Link]"
android:orientation="vertical">

<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">

<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:text="@string/item_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/new_item_value"
android:hint="@string/item_hint"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

<TextView
android:text="@string/final_price_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/new_final_price_value"
android:hint="@string/final_price_hint"
android:inputType="number"
android:maxLines="1"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

<TextView
android:text="@string/quantity_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
Dept of CSE,AIeMS Page 34
GST Invoicing and Billing 2022-23

android:id="@+id/new_quantity_value"
android:hint="@string/quantity_tv"
android:inputType="number"
android:maxLength="3"
android:maxLines="1"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

<TextView
android:text="@string/tax_slab_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Spinner
android:id="@+id/tax_slab_spinner"
android:layout_marginBottom="10dp"
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

<Button
android:onClick="addToBill"
android:id="@+id/add_to_bill_btn"
android:layout_marginBottom="5dp"
android:text="@string/add_to_bill_btn_label"
android:background="@color/colorPrimary"
android:textColor="@android:color/white"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

<Button
android:onClick="finishAddingItems"
android:id="@+id/finish_btn"
android:layout_marginBottom="10dp"
android:text="@string/finish_btn_label"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

<Button
android:id="@+id/done_edit_item_btn"
android:layout_marginBottom="5dp"
android:text="@string/done_edit_item_btn_label"
android:background="@color/colorPrimary"
android:textColor="@android:color/white"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

</LinearLayout>

Dept of CSE,AIeMS Page 35


GST Invoicing and Billing 2022-23

</ScrollView>

</LinearLayout>

4.4.5 Password [Link]


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="[Link]
xmlns:tools="[Link]
android:id="@+id/activity_setup_password"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
tools:context="[Link]"
android:orientation="vertical">

<TextView
android:text="@string/setup_business_label"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/setup_business_value"
android:hint="@string/setup_business_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp" />

<TextView
android:text="@string/setup_business_address_label"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/setup_business_address_value"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp" />

<TextView
android:text="@string/setup_business_contact_label"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/setup_business_contact_value"
android:inputType="number"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp" />

<TextView

Dept of CSE,AIeMS Page 36


GST Invoicing and Billing 2022-23

android:text="@string/setup_new_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/setup_new_password_value"
android:hint="@string/setup_new_password_hint"
android:inputType="textPassword"
android:maxLines="1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"/>

<TextView
android:text="@string/setup_confirm_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/setup_confirm_password_value"
android:hint="@string/setup_confirm_password_hint"
android:inputType="textPassword"
android:maxLines="1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"/>

<Button
android:text="Setup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/setup_password_btn" />

</LinearLayout>

4.4.6 [Link]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="[Link]

<uses-permission
android:name="[Link].WRITE_EXTERNAL_STORAGE" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="GST E-Bill"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity

Dept of CSE,AIeMS Page 37


GST Invoicing and Billing 2022-23

android:name=".aboutus"
android:exported="false" />
<activity
android:name=".BillsActivity"
android:theme="@style/[Link]"
android:exported="true">
<intent-filter>
<action android:name="[Link]" />

<category android:name="[Link]" />


</intent-filter>
</activity>
<activity
android:name=".SetupPasswordActivity"
android:label="@string/setup_password_activity_title" />

<provider
android:name=".[Link]"
android:authorities="[Link]"
android:exported="false" />

<activity
android:name=".NewBillActivity"
android:label="@string/new_bill_activity_title" />
<activity
android:name=".NewBillCustomerActivity"
android:label="@string/new_bill_customer_activity_title" />
<activity android:name=".DetailActivity" />
<activity android:name=".SavePDFActivity" />
</application>

</manifest>

Dept of CSE,AIeMS Page 38


GST Invoicing and Billing 2022-23

CHAPTER 5
RESULT AND DISCUSSION
5.1 Snapshots
Snapshots is nothing but informal photograph taken quickly, typically with a small
handheld camera. In other words diffened as an informal photograph that is taken quickly
a quick view or a small amount of information that tells you a little about what someone or
something is like The complete working of the Simulation of Train Depot have been
picturized using openGL program. And the outcomes are depicted using snapshots. These
snapshots sequentially describe all the phases included in the code.

Fig 5.1: GST billing Application Logo

The fig shows the application logo which shows when the run is succeeded and the
application is installed into the android virtual device. When the user clicks on application
icon, application is started.

Dept of CSE,AIeMS Page 39


GST Invoicing and Billing 2022-23

Fig 5.2: Enter Customer Details

This is the intro layout window or screen which is displayed when the application is started.
Here the user has to enter customer details like name and contact details.

Dept of CSE,AIeMS Page 40


GST Invoicing and Billing 2022-23

Fig 5.3: Set Password

Here, admin or authority of the sales organization can add his business name, address,
contact number and password credentials. When setup is clicked, records are stored into
database.

Dept of CSE,AIeMS Page 41


GST Invoicing and Billing 2022-23

Fig 5.4: Customer purchase details

The price details like MRP, tax amount, CGST, SGST, GST are allotted to the customer as
per his purchases. And total price amount is calculated and are displayed at the bottom of
the layout.

Dept of CSE,AIeMS Page 42


GST Invoicing and Billing 2022-23

Fig 5.5: Mark as paid

When the customer agrees to purchase the product in respective sales organization, admin
can mark that payment has done by clicking the three menu button and ‘Mark as paid’
button.

Dept of CSE,AIeMS Page 43


GST Invoicing and Billing 2022-23

CHAPTER 6

CONCLUSION AND FUTURE ENHANCEMENTS

In this system we implement the automatic GST report generation software for purchase
and sales. We develop a system which calculates the GST reports and also generate excel
sheets of the reports which needs to submit to the government. To do manual calculation is
a difficult task so we design a system which will reduce the manual work as well as save
the time and generate reports efficiently. It is designed to replace an existing manual record
system for reducing time taken for calculations and for storing data. The system is strong
to handle daily operations where the database is cleared over certain time. This will reduce
manual work, calculations and will also provide periodic reports any time.

The future system can be designed with more filter facilities such as supplier wise GST
Billing. Integrate Bank transaction details with the application. Managing Credit and Debit
details like mini accounts. The application will be enhanced into mobile application. GST
Wise Report will be displayed in the form of chart layout. Auditor can view the company
GST bill details in their mobile application itself.

Dept of CSE,AIeMS Page 44


GST Invoicing and Billing 2022-23

BIBLIOGRAPHY

1. Google Developer Training, "Android Developer Fundamentals Course – Concept


Reference”, Google Developer Training Team, 2017.
[Link] training/android-developer-
fundamentals-course-concepts/details.

2. Erik Hellman, “Android Programming – Pushing the Limits”.

3. Dawn Griffiths and David Griffiths, “Head First Android Development”.

4. J F DiMarzio, “Beginning Android Programming with Android Studio”.

5. Anubhav Pradhan, Anil V Deshpande, “Composing Mobile Apps” using Android. •


[Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Dept of CSE,AIeMS Page 45

You might also like