Skip to content

Commit

Permalink
Merge e7b67de into 63db6b8
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethfreitas committed Feb 23, 2020
2 parents 63db6b8 + e7b67de commit 5ed6afe
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/web/cnpj.md
@@ -0,0 +1,20 @@
# cnpj

```js
// usage
chance.cnpj();
```

Generate a random Brazilian tax id for companies.

```js
chance.cnpj();
=> '23.732.754/0001-31'
```

Default cnpj is formatted, to get only numbers:

```js
chance.cnpj({ formatted: false });
=> '23732754000131'
```

0 comments on commit 5ed6afe

Please sign in to comment.