特拉华州 (Delaware)
Wilmington 19801 · Dover 19901 · Newark 19711
俄勒冈州全境实行 0% 州级销售税及 0% 地方零售消费税,覆盖波特兰 (97204)、塞勒姆 (97301) 与尤金 (97401),并自动匹配 503/971/541 多区号测试电话。
{
"meta": {
"service": "AddressQA",
"seed": "qa-or-taxfree-01",
"country": "US",
"countrySlug": "us",
"state": "OR",
"taxFree": true,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-or-taxfree-01-1-US-OR",
"index": 1,
"seed": "qa-or-taxfree-01",
"boundary": "normal",
"recipient": {
"fullName": "Marcus Keller",
"nativeName": "Marcus Keller",
"displayName": "Marcus Keller",
"firstName": "Marcus",
"lastName": "Keller",
"email": "marcus.keller.45@qa.example.org"
},
"address": {
"line1": "3867 SW Broadway",
"line1Native": "3867 SW Broadway",
"line2": null,
"city": "Portland",
"cityNative": "Portland",
"state": "OR",
"stateName": "Oregon",
"postalCode": "97204",
"zipPlus4": "97204-2810",
"country": "US",
"countryName": "United States",
"formatted": "3867 SW Broadway, Portland, OR 97204, US"
},
"phone": {
"countryCode": "US",
"dialCode": "+1",
"areaCode": "503",
"regionCode": "OR",
"regionName": "Oregon",
"city": "Portland",
"mode": "safe",
"regulatorSafe": true,
"regulatorAuthority": "NANPA & USPS",
"e164": "+15035550155",
"international": "+1 503-555-0155",
"national": "(503) 555-0155",
"rfc3966": "tel:+1-503-555-0155",
"digitsOnly": "5035550155"
},
"qaFlags": {
"taxFreeUsState": true,
"leadingZeroPostal": false,
"streetLength": 16,
"hasUnicode": false,
"hasLine2": false,
"regulatorSafePhone": true,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-or-taxfree-01, country: US, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Marcus Keller",
"email": "marcus.keller.45@qa.example.org",
"phoneE164": "+15035550155",
"line1": "3867 SW Broadway",
"line2": "",
"city": "Portland",
"state": "OR",
"postalCode": "97204",
"country": "US"
};
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 (US / 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": "Marcus Keller",
"phone": "+15035550155",
"address": {
"line1": "3867 SW Broadway",
"line2": null,
"city": "Portland",
"state": "OR",
"postal_code": "97204",
"country": "US"
}
},
"billing_details": {
"name": "Marcus Keller",
"email": "marcus.keller.45@qa.example.org",
"phone": "+15035550155",
"address": {
"line1": "3867 SW Broadway",
"line2": null,
"city": "Portland",
"state": "OR",
"postal_code": "97204",
"country": "US"
}
},
"metadata": {
"qa_seed": "qa-or-taxfree-01",
"qa_boundary": "normal",
"us_tax_free_state": "true",
"regulator_safe_phone": "true"
}
} -- AddressQA deterministic SQL seed (qa-or-taxfree-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-or-taxfree-01-1-US-OR', 'qa-or-taxfree-01', 'Marcus Keller', 'marcus.keller.45@qa.example.org', '+15035550155', '(503) 555-0155', '3867 SW Broadway', NULL, 'Portland', 'OR', '97204', 'US', TRUE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=US&state=OR&taxFree=true&seed=qa-or-taxfree-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=US&state=OR&taxFree=true&seed=qa-or-taxfree-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=US&state=OR&taxFree=true&seed=qa-or-taxfree-01&format=csv" -o fixtures-qa-or-taxfree-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-or-taxfree-01-1-US-OR,qa-or-taxfree-01,Marcus Keller,marcus.keller.45@qa.example.org,+15035550155,(503) 555-0155,3867 SW Broadway,,Portland,OR,97204,US,true,normal 俄勒冈州不征收州级或市级一般零售销售税。在跨境支付与电商 QA 中,常用“波特兰 97204(免税)”与一河之隔的“华盛顿州西雅图 98101(征税)”成对回归,校验邮编切换时税率引擎是否实时重算。
官方税务主管机构参考: Oregon Department of Revenue
| 城市 | 郡 / 行政区 | ZIP | ZIP+4 | 区号 (NPA) | 安全测试号段 |
|---|---|---|---|---|---|
| Portland | Multnomah | 97204 | 97204-2810 | 503 | +1 503-555-0100..0199 |
| Salem | Marion | 97301 | 97301-3602 | 971 | +1 971-555-0100..0199 |
| Eugene | Lane | 97401 | 97401-2904 | 541 | +1 541-555-0100..0199 |
Wilmington 19801 · Dover 19901 · Newark 19711
Manchester 03101 · Concord 03301 · Nashua 03060
Billings 59101 · Helena 59601 · Missoula 59801
Anchorage 99501 · Juneau 99801 · Fairbanks 99701