Git Product home page Git Product logo

Comments (3)

ankitkhadria avatar ankitkhadria commented on May 25, 2024 1

Hi @ankitkhadria thanks for the description!

Could you clarify more what makes a generated value a valid GST(Tax) number? Thanks!

Here is a format break-down of the GSTIN:

The first two digits represent the state code as per Indian Census 2021. Every state has a unique code. For instance,
The state code of Karnataka is 29
The state code of Delhi is 07
The next ten digits will be the PAN number of the taxpayer
The thirteenth digit will be assigned based on the number of registrations within a state
The fourteenth digit will be ā€œZā€ by default
The last digit will be for the check code. It may be an alphabet or a number.

I am using the same format to generate a dummy GST number so that it can go with a real project.

from faker.

stefannibrasil avatar stefannibrasil commented on May 25, 2024

Hi @ankitkhadria thanks for the description!

Could you clarify more what makes a generated value a valid GST(Tax) number? Thanks!

from faker.

stefannibrasil avatar stefannibrasil commented on May 25, 2024

Awesome, thank you @ankitkhadria I have tested it locally as well and it's looking good.

from faker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.