{"id":18748961,"url":"https://github.com/joelkoen/simple-abns","last_synced_at":"2026-02-12T02:08:10.512Z","repository":{"id":236224168,"uuid":"792186938","full_name":"joelkoen/simple-abns","owner":"joelkoen","description":"Simplify the ABR's Australian Business Number dataset for easier analysis","archived":false,"fork":false,"pushed_at":"2024-12-15T02:59:23.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T14:57:36.455Z","etag":null,"topics":["abn","australia"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joelkoen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-26T06:43:14.000Z","updated_at":"2024-12-15T02:59:27.000Z","dependencies_parsed_at":"2024-04-26T06:55:25.352Z","dependency_job_id":"47c417b6-4076-443e-b60b-811bf4ecf9a5","html_url":"https://github.com/joelkoen/simple-abns","commit_stats":null,"previous_names":["joelkoen/simple-abns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joelkoen/simple-abns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkoen%2Fsimple-abns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkoen%2Fsimple-abns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkoen%2Fsimple-abns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkoen%2Fsimple-abns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joelkoen","download_url":"https://codeload.github.com/joelkoen/simple-abns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelkoen%2Fsimple-abns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273271888,"owners_count":25075969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abn","australia"],"created_at":"2024-11-07T17:05:37.770Z","updated_at":"2026-02-12T02:08:05.492Z","avatar_url":"https://github.com/joelkoen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-abns\n\nsimple-abns parses the [ABR's Australian Business Number dataset](https://data.gov.au/data/dataset/abn-bulk-extract) and converts it to a simpler JSON format.\n\nYou can download a copy of the [converted dataset](https://pub.joel.net.au/datasets/simple-abns/2024-11-27-simple-abns.jsonl.zst). Note that this is not updated automatically - please contact me or open an issue if a refresh is long overdue.\n\nYou can also find machine-readable names for the entity types the ABR uses in [./entity_types.json](./entity_types.json).\n\nIf you'd like to generate the dataset yourself, you'll need to download the raw XML data and place all 20 chunks in `./raw`. simple-abns will parse them and print each ABN record as a seperate line. You can see progress and compress the output using:\n\n```sh\ncargo run --release | pv -ls 18M | zstd -T0 -9 \u003e simple-abns.jsonl.zst\n```\n\n## Example\n\n**Input**:\n\n```xml\n\u003cABR recordLastUpdatedDate=\"20240412\" replaced=\"N\"\u003e\n\t\u003cABN status=\"ACT\" ABNStatusFromDate=\"19991101\"\u003e88712649015\u003c/ABN\u003e\n\t\u003cEntityType\u003e\n\t\t\u003cEntityTypeInd\u003eSGE\u003c/EntityTypeInd\u003e\n\t\t\u003cEntityTypeText\u003eState Government Entity\u003c/EntityTypeText\u003e\n\t\u003c/EntityType\u003e\n\t\u003cMainEntity\u003e\n\t\t\u003cNonIndividualName type=\"MN\"\u003e\n\t\t\t\u003cNonIndividualNameText\u003eSTATE EMERGENCY SERVICE (NSW)\u003c/NonIndividualNameText\u003e\n\t\t\u003c/NonIndividualName\u003e\n\t\t\u003cBusinessAddress\u003e\n\t\t\t\u003cAddressDetails\u003e\n\t\t\t\t\u003cState\u003eNSW\u003c/State\u003e\n\t\t\t\t\u003cPostcode\u003e2500\u003c/Postcode\u003e\n\t\t\t\u003c/AddressDetails\u003e\n\t\t\u003c/BusinessAddress\u003e\n\t\u003c/MainEntity\u003e\n\t\u003cGST status=\"ACT\" GSTStatusFromDate=\"20000701\" /\u003e\n\t\u003cOtherEntity\u003e\n\t\t\u003cNonIndividualName type=\"TRD\"\u003e\n\t\t\t\u003cNonIndividualNameText\u003eNEW SOUTH WALES STATE EMERGENCY SERVICE\u003c/NonIndividualNameText\u003e\n\t\t\u003c/NonIndividualName\u003e\n\t\u003c/OtherEntity\u003e\n\u003c/ABR\u003e\n```\n\n**Output:**\n\n```json\n{\n  \"abn\": \"88712649015\",\n  \"status\": \"Active\",\n  \"status_since\": \"1999-11-01\",\n  \"last_updated\": \"2024-04-12\",\n  \"entity_name\": {\n    \"type\": \"NonIndividual\",\n    \"name\": \"STATE EMERGENCY SERVICE (NSW)\"\n  },\n  \"entity_type\": \"SGE\",\n  \"trade_names\": [\n    \"NEW SOUTH WALES STATE EMERGENCY SERVICE\"\n  ],\n  \"postcode\": \"2500\",\n  \"state\": \"NSW\",\n  \"gst_status\": \"Active\",\n  \"gst_status_since\": \"2000-07-01\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelkoen%2Fsimple-abns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoelkoen%2Fsimple-abns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelkoen%2Fsimple-abns/lists"}