Skip to main content
Version: v0.0.2

Interface: X12PremiumAddress

Decoded N3 + N4 address block attached to a party. lines is the N3 address lines (1-2 entries); city / state / postalCode come from N4. All verbatim - no normalization.

Example

import type { X12PremiumAddress } from "@cosyte/x12";
declare const a: X12PremiumAddress;
a.lines[0]; // "500 CORPORATE BLVD"
a.city; // "COLUMBUS"

Properties

city

readonly city: string | undefined


countryCode

readonly countryCode: string | undefined


lines

readonly lines: readonly string[]


postalCode

readonly postalCode: string | undefined


state

readonly state: string | undefined