Software Requirements Specification (SRS) for GST Calculator
Inroduction
Purpose:
The purpose of this document is to outline the requirements for the development of a GST Calculator application. This application determines the Goods and Services Tax (GST) on a given amount, helping users accurately calculate the GST component for financial transactions.
Scope:
The GST Calculator will provide users with a tool to calculate the GST for a specified amount, considering different GST rates. Users will input details such as the transaction amount and applicable GST rate, and the system will calculate and display the GST amount.
System Overview
System Description:
The GST Calculator will be a web-based application accessible through a browser. It aims to provide users with a user-friendly interface to input transaction details and receive accurate calculations of the GST component.
System Architecture:
The application will follow a client-server architecture, with the client being the web browser and the server handling the GST calculation logic.
Functional Requirements
Use Cases:
Calculate GST
- Users can input details such as the transaction amount and applicable GST rate.
- The system will calculate and display the GST amount based on the specified GST rate.
Functional Requirements:
Input:
The system shall accept the following input:
- Transaction Amount (in INR)
- GST Rate (in percentage)
Calculation:
- The system shall calculate the GST amount based on the specified GST rate and transaction amount.
Output:
- The system shall display the calculated GST amount to the user.
Non-Functional Requirements:
- The system should provide a response time of under 2 seconds.
- The application should be accessible on common web browsers (Chrome, Firefox, Safari).
External Interface Requirements
User Interfaces:
- The user interface shall include input fields for the transaction amount and GST rate, along with a “Calculate” button.
- The calculated GST amount shall be displayed prominently.
Hardware Interfaces:
- The system should be compatible with standard computing hardware.
Software Interfaces:
- The application shall be developed using HTML, CSS, and JavaScript.
- The server-side logic can be implemented using a backend framework (e.g., Node.js, Django).
Communication Interfaces:
- The application will communicate with the server for the GST calculation and display of results.
Performance Requirements
Response Time:
The system should respond within 2 seconds for a typical user input.
Throughput:
The application should handle at least 100 simultaneous users.
System Constraints
Regulatory Requirements:
The application should comply with relevant GST regulations and rates.
Hardware Limitations:
The system should be compatible with devices with standard web-browsing capabilities.
Security Requirements
Authentication:
- The application may or may not require user authentication, depending on whether Data Protection:
- If authentication is implemented, user data should be stored securely.
Quality Attributes
Reliability:
The application should produce accurate results based on the provided input.
Maintainability:
The code should be well-documented for ease of maintenance.
Usability:
The user interface should be intuitive, requiring minimal guidance.
Testing Requirements
Test Cases:
Test cases should cover various scenarios with different transaction amounts and GST rates to ensure accurate GST amount calculations.
Test Case 1:
- Inputs: Transaction Amount = 10,000 INR, GST Rate = 18%.
- Expected Output: GST Amount ≈ 1,800 INR
Test Case 2:
- Inputs: Transaction Amount = 25,000 INR, GST Rate = 12%.
- Expected Output: GST Amount ≈ 3,000 INR
Test Case 3:
- Inputs: Transaction Amount = 50,000 INR, GST Rate = 5%.
- Expected Output: GST Amount ≈ 2,500 INR
Acceptance Criteria:
The application is considered successful if it produces correct GST amounts based on the provided transaction amounts and GST rates.
Project Timeline
Milestones:
Design, Development, Testing, Deployment.
Development Phases:
Frontend development, Backend development, Testing, Deployment.
Glossary
- GST: Goods and Services Tax
Database Structure
Tables:
GST_Calculator_Records:
- RecordID (Primary Key, Auto-increment)
- TransactionAmount (Decimal)
- GSTRate (Decimal)
- GSTAmount (Decimal)
- CalculationDate (DateTime)
Conclusion
This extended SRS document provides a more detailed overview of the GST Calculator application, including the database structure and additional test cases. It should be reviewed and approved by relevant stakeholders before proceeding with the development phase.