stdnum.au.acn¶
ACN (Australian Company Number).
The Australian Company Number (ACN) is a company identifier issued by the Australian Securities and Investments Commission.
More information:
>>> validate('004 085 616')
'004085616'
>>> validate('010 499 966')
'010499966'
>>> validate('999 999 999')
Traceback (most recent call last):
...
InvalidChecksum: ...
>>> format('004085616')
'004 085 616'
>>> to_abn('002 724 334')
'43002724334'
- stdnum.au.acn.calc_check_digit(number)¶
Calculate the checksum.
- stdnum.au.acn.compact(number)¶
Convert the number to the minimal representation. This strips the number of any valid separators and removes surrounding whitespace.
- stdnum.au.acn.format(number)¶
Reformat the number to the standard presentation format.
- stdnum.au.acn.is_valid(number)¶
Check if the number is a valid ACN.
- stdnum.au.acn.to_abn(number)¶
Convert the number to an Australian Business Number (ABN).
- stdnum.au.acn.validate(number)¶
Check if the number is a valid ACN. This checks the length, formatting and check digit.