---
id: "tw_ubn"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["companies", "finances"]
country: ["TW"]
langs: ["zh"]
quality: 90
url: "http://registry.apicrafter.io/datatype/tw_ubn"
---

# Taiwanese unified business number (UBN) (`tw_ubn`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Unified Business Number (統一編號), the eight-digit number of a business in Taiwan, used for tax (VAT) purposes. Wikidata calls it the GUI number assigned by the Ministry of Economic Affairs, whose business register (findbiz) can be searched by it. The last digit is a check digit: the digits are multiplied by 1, 2, 1, 2, 1, 2, 4 and 1, and the digit sum of the products must end in 0, or in 9 when the seventh digit is 7.

- Personal data (PII): no
- Categories: Companies/business/organizations (companies), Finances and banking (finances)
- Countries: Taiwan (TW)
- Languages: Chinese (zh)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^\d{8}$
```

## Examples

- `22099131` — TSMC, an example of Wikidata P7729
- `73251209` — Uni-President Enterprises, an example of Wikidata P7729
- `04541302` — Foxconn, an example of Wikidata P7729
- `00501503` — Example from the python-stdnum documentation
- `12345` (invalid example) — Too short

## Mappings

- stdnum: `tw.ubn`
- wikidata: `P7729`

## Translations

- zh: 統一編號

## Sources

- wikipedia: <https://zh.wikipedia.org/wiki/%E7%B5%B1%E4%B8%80%E7%B7%A8%E8%99%9F>
- doc: <https://findbiz.nat.gov.tw/fts/query/QueryBar/queryInit.do?request_locale=en>
- wikidata: <https://www.wikidata.org/wiki/Property:P7729>
- doc: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.tw.ubn.html>

## Quality

Score 90/100. Missing: detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/tw_ubn.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/TW/companies/tw_ubn.yaml>
