Skip to main content
Version: v0.0.2

Interface: X12RemitAddress

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 fields verbatim - no normalization (no proper-casing, no postal-code canonicalization).

Example

import type { X12RemitAddress } from "@cosyte/x12";
declare const a: X12RemitAddress;
a.lines[0]; // "123 PAYER WAY"
a.city; // "ANYTOWN"
a.state; // "OH"
a.postalCode; // "44113"

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