Interface: Build837ContactSpec
PER contact on an entity (Loop 1000A submitter, etc.). Each contact may carry up to three communication channels. Mirrors "./types.js".X12ClaimContact.
Example
import type { Build837ContactSpec } from "@cosyte/x12";
const per: Build837ContactSpec = {
contactFunctionCode: "IC",
name: "JANE SUBMITTER",
communications: [{ qualifier: "TE", value: "5551234567" }],
};
Properties
communications?
readonlyoptionalcommunications?: readonlyobject[]
Up to 3 communication channels (PER-03/04, 05/06, 07/08).
contactFunctionCode
readonlycontactFunctionCode:string
PER-01 - contact function code (IC information contact, …).
name?
readonlyoptionalname?:string
PER-02 - contact name.