Japan
150-0001
Preloaded with Turkey locality mappings and BTK & PTT safe test ranges (+90 532 000 xxxx). Switch boundary torture presets below and copy ready-to-run Playwright, Stripe, SQL, or cURL payloads.
{
"meta": {
"service": "AddressQA",
"seed": "qa-tr-01",
"country": "TR",
"countrySlug": "tr",
"state": "ALL",
"taxFree": false,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-tr-01-1-TR-06",
"index": 1,
"seed": "qa-tr-01",
"boundary": "normal",
"recipient": {
"fullName": "Nils Yilmaz",
"nativeName": "Nils Yilmaz",
"displayName": "Nils Yilmaz",
"firstName": "Nils",
"lastName": "Yilmaz",
"email": "[email protected]"
},
"address": {
"line1": "Tunali Hilmi Caddesi 53",
"line1Native": "Tunalı Hilmi Caddesi 53",
"line2": "Suite 684",
"city": "Cankaya",
"cityNative": "Çankaya",
"state": "06",
"stateName": "Ankara",
"postalCode": "06420",
"zipPlus4": "06420",
"country": "TR",
"countryName": "Turkey",
"formatted": "Tunali Hilmi Caddesi 53, Suite 684, Cankaya, 06 06420, TR"
},
"phone": {
"countryCode": "TR",
"dialCode": "+90",
"areaCode": "312",
"regionCode": "06",
"regionName": "Ankara",
"city": "Cankaya",
"mode": "safe",
"regulatorSafe": false,
"regulatorAuthority": "BTK & PTT",
"e164": "+905320000199",
"international": "+90 532 000 0199",
"national": "0532 000 0199",
"rfc3966": "tel:+905320000199",
"digitsOnly": "05320000199"
},
"qaFlags": {
"taxFreeUsState": false,
"leadingZeroPostal": true,
"streetLength": 23,
"hasUnicode": true,
"hasLine2": true,
"regulatorSafePhone": false,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-tr-01, country: TR, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Nils Yilmaz",
"email": "[email protected]",
"phoneE164": "+905320000199",
"line1": "Tunali Hilmi Caddesi 53",
"line2": "Suite 684",
"city": "Cankaya",
"state": "06",
"postalCode": "06420",
"country": "TR"
};
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 (TR / 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": "Nils Yilmaz",
"phone": "+905320000199",
"address": {
"line1": "Tunali Hilmi Caddesi 53",
"line2": "Suite 684",
"city": "Cankaya",
"state": "06",
"postal_code": "06420",
"country": "TR"
}
},
"billing_details": {
"name": "Nils Yilmaz",
"email": "[email protected]",
"phone": "+905320000199",
"address": {
"line1": "Tunali Hilmi Caddesi 53",
"line2": "Suite 684",
"city": "Cankaya",
"state": "06",
"postal_code": "06420",
"country": "TR"
}
},
"metadata": {
"qa_seed": "qa-tr-01",
"qa_boundary": "normal",
"us_tax_free_state": "false",
"regulator_safe_phone": "false"
}
} -- AddressQA deterministic SQL seed (qa-tr-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-tr-01-1-TR-06', 'qa-tr-01', 'Nils Yilmaz', '[email protected]', '+905320000199', '0532 000 0199', 'Tunali Hilmi Caddesi 53', 'Suite 684', 'Cankaya', '06', '06420', 'TR', FALSE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=TR&seed=qa-tr-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=TR&seed=qa-tr-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=TR&seed=qa-tr-01&format=csv" -o fixtures-qa-tr-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-tr-01-1-TR-06,qa-tr-01,Nils Yilmaz,[email protected],+905320000199,0532 000 0199,Tunali Hilmi Caddesi 53,Suite 684,Cankaya,06,"=""06420""",TR,false,normal | Dimension | Specification & Edge Notes |
|---|---|
| Postal Regex & Max Length | Example 34710 (max 5 chars, regex /^(?:0[1-9]|[1-7]\d|8[01])\d{3}$/) |
| Leading-Zero Corruption Risk | High (e.g. 06420) — store as VARCHAR/TEXT and quote CSV cells |
| E.164 & Regulator Safe Range | Dial code +90, 10-digit NSN, safe block: +90 532 000 xxxx |
| Primary Locality Anchor | Kadikoy, Istanbul (34) · 34710 · Area code 216 |
| Official Regulator Reference | Province-prefixed Turkish 5-digit codes (01–81, including Ankara 06420 leading zero) and Turkish UTF-8 diacritics (İ, ı, ş, ğ, ç, ö, ü). (BTK & PTT) |
| Subdivision | Code | City | Postal | Area Code |
|---|---|---|---|---|
| İstanbul (Istanbul) | 34 | Kadıköy (Kadikoy) | 34710 | +90 (216) |
| İstanbul (Istanbul) | 34 | Beşiktaş (Besiktas) | 34353 | +90 (212) |
| Ankara | 06 | Çankaya (Cankaya) | 06420 | +90 (312) |
150-0001
106
049315
No Postal Code