1.0.2 • Published 6 years ago

australian-business-number v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

abn

validate Australian Business Number. Also validates ACN, ARBN and ARSN

usage:

  npm install australian-business-number
var abn = require('australian-business-number');
//...
var abnStatus = abn('53 004 085 615');
console.log(abnStatus);
// logs { valid: false, suggestion: '53004085616' }

note that same rules applies to ACN numbers are 9 digits where ABN is 11. Verification scheme is the same, 2 leading zeros are added before calculations.

See also

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago