npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@heartinz/price_total_gst_bill_calculator

v2.1.2

Published

## Copyright Copyright (c) 2024 Kiran Morais (Heartinz Technologies Private Limited,India) All Rights Reserved. Unauthorized use, distribution, or modification of this code is prohibited.NegoBill

Downloads

337

Readme

Price Total GST Bill Calculator

Copyright

Copyright (c) 2024 Kiran Morais (Heartinz Technologies Private Limited,India) All Rights Reserved. Unauthorized use, distribution, or modification of this code is prohibited.NegoBill

Overview

The Price Total GST Bill Calculator is a comprehensive npm module designed for calculating the total product prices including multiple financial metrics like MRP, sale price, base price, tax percentage, tax amount, and quantity. It is particularly useful for businesses that need to manage detailed financial operations.

Installation

npm install @heartinz/price_total_gst_bill_calculator

Usage

To integrate this module into your project, simply import the totalProdPrice function, and supply the necessary parameters.

Parameters

| Parameter | Type | Description | |--------------|--------|----------------------------------------------------| | mrp | Number | The maximum retail price of the product. | | salePrice | Number | The sale price of the product. | | basePrice | Number | The base price of the product. | | taxPercent | Number | The tax percentage applicable to the product. | | taxAmount | Number | The tax amount per unit of the product. | | quantity | Number | The quantity of the product being calculated. |

Function Call

const { totalProdPrice } = require('@heartinz/price_total_gst_bill_calculator');

const pricingDetails = totalProdPrice(500, 450, 400, 10, 50, 10);
console.log(pricingDetails);

Output

The function outputs an object detailing financial metrics based on the given parameters:

| Property | Type | Description | |-----------------------|--------|-----------------------------------------------------| | mrp | Number | The provided maximum retail price. | | salePrice | Number | The provided sale price. | | taxPercentage | Number | The tax percentage applicable. | | discount | Number | Calculated discount per unit (MRP - salePrice). | | basePrice | Number | The provided base price. | | taxAmount | Number | The provided tax amount per unit. | | quantity | Number | The quantity of product being calculated. | | lineTotalMrp | Number | Total MRP (MRP * quantity). | | lineTotalSalePrice | Number | Total sale price (salePrice * quantity). | | lineTotalDiscount | Number | Total discount for the quantity. | | lineTotalBasePrice | Number | Total base price (basePrice * quantity). | | lineTotalTaxAmount | Number | Total amount after tax (basePrice + taxAmount). |

Testing

Currently, there are no tests specified for this module. Testing can be implemented as needed based on the project requirements.

Author

Kiran Morais, Heartinz