Test an ACN check digit
validate_acnValidate an Australian Company Number using ASIC's check digit arithmetic, returning CHECK_DIGIT_VALID, CHECK_DIGIT_INVALID, or MALFORMED to catch input errors before relying on the ACN.
Instructions
Test an ACN against the check digit arithmetic ASIC publishes.
result is CHECK_DIGIT_VALID, CHECK_DIGIT_INVALID or MALFORMED. Only spaces are removed; any other character is MALFORMED, never cleaned up. A valid check digit proves neither ABR nor GST registration, that ASIC issued the number or that a company holds it: retain not_established and search ASIC's registers and ABN Lookup for those. Reads no network.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"acn": "<acn>"
},
"name": "validate_acn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acn | Yes | The ACN as written: 9 digits, optionally separated by spaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | The check ran; not that the number passed. | |
| reason | Yes | ||
| result | Yes | Outcome of the arithmetic; never a registration status. | |
| formatted | Yes | The digits in the usual groups; null when malformed. | |
| identifier | Yes | ||
| source_url | Yes | ||
| source_checked | Yes | Date in YYYY-MM-DD form. | |
| not_established | Yes | Retain when presenting the result. | |
| source_provision | Yes | ||
| check_digit_valid | Yes | ||
| abr_registration_established | Yes | A check digit never establishes ABR registration. | |
| gst_registration_established | Yes | A check digit never establishes GST registration. |