Japan
150-0001
Preloaded with Taiwan locality mappings and NCC & Chunghwa Post safe test ranges (+886 900 000 xxx / +886 2 0000 xxxx). Switch boundary torture presets below and copy ready-to-run Playwright, Stripe, SQL, or cURL payloads.
{
"meta": {
"service": "AddressQA",
"seed": "qa-tw-01",
"country": "TW",
"countrySlug": "tw",
"state": "ALL",
"taxFree": false,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-tw-01-1-TW-TPE",
"index": 1,
"seed": "qa-tw-01",
"boundary": "normal",
"recipient": {
"fullName": "Po-Yu Lin",
"nativeName": "林彥廷",
"displayName": "林彥廷 (Po-Yu Lin)",
"firstName": "Po-Yu",
"lastName": "Lin",
"email": "[email protected]"
},
"address": {
"line1": "No. 189, Ln. 100, Sec. 3, Ren-ai Rd.",
"line1Native": "仁愛路三段100巷189號",
"line2": null,
"city": "Da'an Dist.",
"cityNative": "大安區",
"state": "TPE",
"stateName": "Taipei City",
"postalCode": "106",
"zipPlus4": "106",
"country": "TW",
"countryName": "Taiwan",
"formatted": "106 臺北市大安區仁愛路三段100巷189號"
},
"phone": {
"countryCode": "TW",
"dialCode": "+886",
"areaCode": "2",
"regionCode": "TPE",
"regionName": "Taipei City",
"city": "Da'an Dist.",
"mode": "safe",
"regulatorSafe": false,
"regulatorAuthority": "NCC & Chunghwa Post",
"e164": "+886900000269",
"international": "+886 900 000 269",
"national": "0900-000-269",
"rfc3966": "tel:+886900000269",
"digitsOnly": "0900000269"
},
"qaFlags": {
"taxFreeUsState": false,
"leadingZeroPostal": false,
"streetLength": 36,
"hasUnicode": true,
"hasLine2": false,
"regulatorSafePhone": false,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-tw-01, country: TW, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Po-Yu Lin",
"email": "[email protected]",
"phoneE164": "+886900000269",
"line1": "No. 189, Ln. 100, Sec. 3, Ren-ai Rd.",
"line2": "",
"city": "Da'an Dist.",
"state": "TPE",
"postalCode": "106",
"country": "TW"
};
async function fillCheckoutForm(page: Page, data: typeof checkoutFixture) {
await page.getByLabel(/full name/i).fill(data.fullName);
await page.getByLabel(/email/i).fill(data.email);
await page.getByLabel(/phone/i).fill(data.phoneE164);
await page.getByLabel(/address line 1|street/i).fill(data.line1);
if (data.line2) await page.getByLabel(/address line 2|apt|suite/i).fill(data.line2);
await page.getByLabel(/city/i).fill(data.city);
await page.getByLabel(/state|region|province/i).fill(data.state);
if (data.postalCode) await page.getByLabel(/zip|postal/i).fill(data.postalCode);
}
test('checkout validation (TW / normal)', async ({ page }) => {
const target = checkoutFixture;
await page.goto('/checkout');
await fillCheckoutForm(page, target);
await page.getByRole('button', { name: /continue|pay/i }).click();
await expect(page.getByTestId('order-summary-postal')).toHaveText(target.postalCode || 'N/A');
}); {
"shipping": {
"name": "Po-Yu Lin",
"phone": "+886900000269",
"address": {
"line1": "No. 189, Ln. 100, Sec. 3, Ren-ai Rd.",
"line2": null,
"city": "Da'an Dist.",
"state": "TPE",
"postal_code": "106",
"country": "TW"
}
},
"billing_details": {
"name": "Po-Yu Lin",
"email": "[email protected]",
"phone": "+886900000269",
"address": {
"line1": "No. 189, Ln. 100, Sec. 3, Ren-ai Rd.",
"line2": null,
"city": "Da'an Dist.",
"state": "TPE",
"postal_code": "106",
"country": "TW"
}
},
"metadata": {
"qa_seed": "qa-tw-01",
"qa_boundary": "normal",
"us_tax_free_state": "false",
"regulator_safe_phone": "false"
}
} -- AddressQA deterministic SQL seed (qa-tw-01)
INSERT INTO qa_address_fixtures (fixture_id, seed, full_name, email, phone_e164, phone_national, street_line1, street_line2, city, region_code, postal_code, country_code, tax_free_us_state) VALUES ('qa-tw-01-1-TW-TPE', 'qa-tw-01', 'Po-Yu Lin', '[email protected]', '+886900000269', '0900-000-269', 'No. 189, Ln. 100, Sec. 3, Ren-ai Rd.', NULL, 'Da''an Dist.', 'TPE', '106', 'TW', FALSE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=TW&seed=qa-tw-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=TW&seed=qa-tw-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=TW&seed=qa-tw-01&format=csv" -o fixtures-qa-tw-01.csv fixture_id,seed,full_name,email,phone_e164,phone_national,street_line1,street_line2,city,state,postal_code,country,tax_free_us_state,boundary
qa-tw-01-1-TW-TPE,qa-tw-01,Po-Yu Lin,[email protected],+886900000269,0900-000-269,"No. 189, Ln. 100, Sec. 3, Ren-ai Rd.",,Da'an Dist.,TPE,106,TW,false,normal | Dimension | Specification & Edge Notes |
|---|---|
| Postal Regex & Max Length | Example 106 (max 6 chars, regex /^\d{3}(?:\d{2,3})?$/) |
| Leading-Zero Corruption Risk | Low leading-zero risk, though VARCHAR storage remains best practice |
| E.164 & Regulator Safe Range | Dial code +886, 9-digit NSN, safe block: +886 900 000 xxx / +886 2 0000 xxxx |
| Primary Locality Anchor | Da'an Dist., Taipei City (TPE) · 106 · Area code 2 |
| Official Regulator Reference | Synthetic QA blocks aligned to Taiwan NCC 9-digit NSN rules (0900-000-xxx mobile, 02-0000-xxxx non-assigned) and 3/5/6-digit postal codes. (NCC & Chunghwa Post) |
| Subdivision | Code | City | Postal | Area Code |
|---|---|---|---|---|
| 臺北市 (Taipei City) | TPE | 大安區 (Da'an Dist.) | 106 | +886 (2) |
| 臺北市 (Taipei City) | TPE | 信義區 (Xinyi Dist.) | 110 | +886 (2) |
| 臺中市 (Taichung City) | TXG | 西屯區 (Xitun Dist.) | 407 | +886 (4) |
| 高雄市 (Kaohsiung City) | KHH | 前鎮區 (Qianzhen Dist.) | 806 | +886 (7) |
150-0001
049315
No Postal Code
06164