特拉华州 (Delaware)
Wilmington 19801 · Dover 19901 · Newark 19711
蒙大拿州无州级一般销售税,覆盖比林斯 (59101)、州府海伦娜 (59601) 与米苏拉 (59801),并同步全州唯一的 406 区号安全测试电话。
{
"meta": {
"service": "AddressQA",
"seed": "qa-mt-taxfree-01",
"country": "US",
"countrySlug": "us",
"state": "MT",
"taxFree": true,
"phoneMode": "safe",
"boundary": "normal",
"count": 1
},
"fixtures": [
{
"id": "qa-mt-taxfree-01-1-US-MT",
"index": 1,
"seed": "qa-mt-taxfree-01",
"boundary": "normal",
"recipient": {
"fullName": "Samuel Dawson",
"nativeName": "Samuel Dawson",
"displayName": "Samuel Dawson",
"firstName": "Samuel",
"lastName": "Dawson",
"email": "[email protected]"
},
"address": {
"line1": "5477 W Front St",
"line1Native": "5477 W Front St",
"line2": "Suite 524",
"city": "Missoula",
"cityNative": "Missoula",
"state": "MT",
"stateName": "Montana",
"postalCode": "59801",
"zipPlus4": "59801-4108",
"country": "US",
"countryName": "United States",
"formatted": "5477 W Front St, Suite 524, Missoula, MT 59801, US"
},
"phone": {
"countryCode": "US",
"dialCode": "+1",
"areaCode": "406",
"regionCode": "MT",
"regionName": "Montana",
"city": "Missoula",
"mode": "safe",
"regulatorSafe": true,
"regulatorAuthority": "NANPA & USPS",
"e164": "+14065550134",
"international": "+1 406-555-0134",
"national": "(406) 555-0134",
"rfc3966": "tel:+1-406-555-0134",
"digitsOnly": "4065550134"
},
"qaFlags": {
"taxFreeUsState": true,
"leadingZeroPostal": false,
"streetLength": 15,
"hasUnicode": false,
"hasLine2": true,
"regulatorSafePhone": true,
"postalRequired": true
}
}
]
} // Generated by AddressQA (seed: qa-mt-taxfree-01, country: US, boundary: normal)
import { test, expect, type Page } from '@playwright/test';
const checkoutFixture = {
"fullName": "Samuel Dawson",
"email": "[email protected]",
"phoneE164": "+14065550134",
"line1": "5477 W Front St",
"line2": "Suite 524",
"city": "Missoula",
"state": "MT",
"postalCode": "59801",
"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": "Samuel Dawson",
"phone": "+14065550134",
"address": {
"line1": "5477 W Front St",
"line2": "Suite 524",
"city": "Missoula",
"state": "MT",
"postal_code": "59801",
"country": "US"
}
},
"billing_details": {
"name": "Samuel Dawson",
"email": "[email protected]",
"phone": "+14065550134",
"address": {
"line1": "5477 W Front St",
"line2": "Suite 524",
"city": "Missoula",
"state": "MT",
"postal_code": "59801",
"country": "US"
}
},
"metadata": {
"qa_seed": "qa-mt-taxfree-01",
"qa_boundary": "normal",
"us_tax_free_state": "true",
"regulator_safe_phone": "true"
}
} -- AddressQA deterministic SQL seed (qa-mt-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-mt-taxfree-01-1-US-MT', 'qa-mt-taxfree-01', 'Samuel Dawson', '[email protected]', '+14065550134', '(406) 555-0134', '5477 W Front St', 'Suite 524', 'Missoula', 'MT', '59801', 'US', TRUE); # Deterministic AddressQA Edge API request
curl -sS "https://addressqa.com/api/v1/fixtures?country=US&state=MT&taxFree=true&seed=qa-mt-taxfree-01" | jq .
# Export directly as Excel-safe CSV or Stripe Checkout JSON:
curl -sS "https://addressqa.com/api/v1/fixtures?country=US&state=MT&taxFree=true&seed=qa-mt-taxfree-01&format=stripe"
curl -sS "https://addressqa.com/api/v1/fixtures?country=US&state=MT&taxFree=true&seed=qa-mt-taxfree-01&format=csv" -o fixtures-qa-mt-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-mt-taxfree-01-1-US-MT,qa-mt-taxfree-01,Samuel Dawson,[email protected],+14065550134,(406) 555-0134,5477 W Front St,Suite 524,Missoula,MT,59801,US,true,normal 蒙大拿州不征收州级一般零售销售税,主要城市比林斯 (59101)、海伦娜 (59601) 与米苏拉 (59801) 均为 0% 零售税率。但需注意:蒙大拿州允许特定旅游度假小镇(如 Big Sky、Whitefish)针对旅游与住宿类消费征收地方度假税(Resort Tax)。因此生产计税系统应按邮编精度计算,切勿简单硬编码 state === "MT"。
官方税务主管机构参考: Montana Department of Revenue
| 城市 | 郡 / 行政区 | ZIP | ZIP+4 | 区号 (NPA) | 安全测试号段 |
|---|---|---|---|---|---|
| Billings | Yellowstone | 59101 | 59101-2310 | 406 | +1 406-555-0100..0199 |
| Helena | Lewis and Clark | 59601 | 59601-4120 | 406 | +1 406-555-0100..0199 |
| Missoula | Missoula | 59801 | 59801-4108 | 406 | +1 406-555-0100..0199 |
Wilmington 19801 · Dover 19901 · Newark 19711
Portland 97204 · Salem 97301 · Eugene 97401
Manchester 03101 · Concord 03301 · Nashua 03060
Anchorage 99501 · Juneau 99801 · Fairbanks 99701