814 General Request, Response or Confirmation

Functional Group ID=GE

Introduction:

This Draft Standard for Trial Use contains the format and establishes the data contents of the General Request, Response or Confirmation Transaction Set (814) for use within the context of an Electronic Data Interchange (EDI) environment. This standard can be used to request actions to be performed, to respond to a request for actions to be performed or to confirm information related to actions performed.

Heading:

	Pos.	Seg.		Req.		Loop	Notes and
	No.	ID	Name	Des.	Max.Use	Repeat	Comments	
M	010	ST	Transaction Set Header	M	1									
M	020	BGN	Beginning Segment	M	1									
			LOOP ID - N1			>1								
	040	N1	Distribution Company (N1~8S)	O	1		n1							
														
			LOOP ID - N1			>1								
	040	N1	Supplier (N1~SJ)	O	1									
														
			LOOP ID - N1			>1								
	040	N1	Name (Retail Customer)	O	1									

Detail:

	Pos.	Seg.		Req.		Loop	Notes and
	No.	ID	Name	Des.	Max.Use	Repeat	Comments	
			LOOP ID - LIN			>1								
	010	LIN	Item Identification	O	1									
	020	ASI	Action or Status Indicator	O	1									
	030	REF	Reference Identification (Supplier Account Number)	O	>1									
	030	REF	Reference Identification (Distribution Company Account Number/SDID)	O	>1									
	030	REF	Reference Identification (Rejection Reason Code)	O	>1									
	040	DTM	Date/Time Reference (Service Period End Date)	O	>1									
														
M	150	SE	Transaction Set Trailer	M	1									

Transaction Set Notes

1.	The N1 loop is used to identify the transaction sender and receiver.

	Segment:	ST Transaction Set Header
	Position:	010
	Loop:
	Level:	Heading
	Usage:	Mandatory
	Max Use:	1
	Purpose:	To indicate the start of a transaction set and to assign a control number
	Syntax Notes:
	Semantic Notes:	1	The transaction set identifier (ST01) is used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
	Comments:
Notes:		Required	
		ST~814~000000001	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	ST01	143	Transaction Set Identifier Code	M		ID 3/3	
	Code uniquely identifying a Transaction Set	
 	814		General Request, Response or Confirmation	
Must Use	ST02	329	Transaction Set Control Number	M		AN 4/9	
	Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set	

	Segment:	BGN Beginning Segment
	Position:	020
	Loop:
	Level:	Heading
	Usage:	Mandatory
	Max Use:	1
	Purpose:	To indicate the beginning of a transaction set
	Syntax Notes:	1	If BGN05 is present, then BGN04 is required.
	Semantic Notes:	1	BGN02 is the transaction set reference number.
		2	BGN03 is the transaction set date.
		3	BGN04 is the transaction set time.
		4	BGN05 is the transaction set time qualifier.
		5	BGN06 is the transaction set reference number of a previously sent transaction affected by the current transaction.
	Comments:
Notes:		Required	
		BGN~11~20121216ABC0000000000000123456~20121216~~~20121215123000001	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	BGN01	353	Transaction Set Purpose Code	M		ID 2/2	
	Code identifying purpose of transaction set	
 	11		Response	
Must Use	BGN02	127	Reference Identification	M		AN 1/30	
	Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier	
	A unique transaction identification number assigned by the originator of this transaction.  This number must be unique over time.

Transaction Reference Numbers will only contain uppercase letters (A to Z), digits (0 to 9), dashes (-) and periods (.).  Note that all other characters (spaces, underscores, etc.) must be excluded.	
Must Use	BGN03	373	Date	M		DT 8/8	
	Date expressed as CCYYMMDD	
	The transaction creation date - the date that the data was processed by the sender's application system.	
Recom.	BGN06	127	Reference Identification	O		AN 1/30	
	Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier	
	Transaction Reference Number from the BGN02 of the Request Transaction.	

	Segment:	N1 Distribution Company (N1~8S)
	Position:	040
	Loop:	N1        Optional
	Level:	Heading
	Usage:	Optional
	Max Use:	1
	Purpose:	To identify a party by type of organization, name, and code
	Syntax Notes:	1	At least one of N102 or N103 is required.
		2	If either N103 or N104 is present, then the other is required.
	Semantic Notes:
	Comments:	1	This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
		2	N105 and N106 further define the type of entity in N101.
Notes:		Required	
		N1~8S~DISTRIBUTE-IT INC.~1~007909411~~40	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	N101	98	Entity Identifier Code	M		ID 2/3	
	Code identifying an organizational entity, a physical location, property or an individual	
 	8S		Consumer Service Provider (CSP)	
	Distribution Company	
Must Use	N102	93	Name	X		AN 1/60	
	Free-form name	
	Distribution Company Name	
Must Use	N103	66	Identification Code Qualifier	X		ID 1/2	
	Code designating the system/method of code structure used for Identification Code (67)	
 	1		D-U-N-S Number, Dun & Bradstreet	
 	9		D-U-N-S+4, D-U-N-S Number with Four Character Suffix	
Must Use	N104	67	Identification Code	X		AN 2/80	
	Code identifying a party or other code	
	Distribution Company D-U-N-S or D-U-N-S+4 Number	
Recom.	N106	98	Entity Identifier Code	O		ID 2/3	
	Code identifying an organizational entity, a physical location, property or an individual	
 	40		Receiver	
 	41		Submitter	

	Segment:	N1 Supplier (N1~SJ)
	Position:	040
	Loop:	N1        Optional
	Level:	Heading
	Usage:	Optional
	Max Use:	1
	Purpose:	To identify a party by type of organization, name, and code
	Syntax Notes:	1	At least one of N102 or N103 is required.
		2	If either N103 or N104 is present, then the other is required.
	Semantic Notes:
	Comments:	1	This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
		2	N105 and N106 further define the type of entity in N101.
Notes:		Required	
		N1~SJ~SUPPLY LTD~9~007909422CRN1~~41	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	N101	98	Entity Identifier Code	M		ID 2/3	
	Code identifying an organizational entity, a physical location, property or an individual	
 	SJ		Service Provider	
	Supplier	
Must Use	N102	93	Name	X		AN 1/60	
	Free-form name	
	Supplier Name	
Must Use	N103	66	Identification Code Qualifier	X		ID 1/2	
	Code designating the system/method of code structure used for Identification Code (67)	
 	1		D-U-N-S Number, Dun & Bradstreet	
 	9		D-U-N-S+4, D-U-N-S Number with Four Character Suffix	
Must Use	N104	67	Identification Code	X		AN 2/80	
	Code identifying a party or other code	
	Supplier D-U-N-S or D-U-N-S+4 Number	
Recom.	N106	98	Entity Identifier Code	O		ID 2/3	
	Code identifying an organizational entity, a physical location, property or an individual	
 	40		Receiver	
 	41		Submitter	

	Segment:	N1 Name (Retail Customer)
	Position:	040
	Loop:	N1        Optional
	Level:	Heading
	Usage:	Optional
	Max Use:	1
	Purpose:	To identify a party by type of organization, name, and code
	Syntax Notes:	1	At least one of N102 or N103 is required.
		2	If either N103 or N104 is present, then the other is required.
	Semantic Notes:
	Comments:	1	This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
		2	N105 and N106 further define the type of entity in N101.
Notes:		Accept Response: Required
Reject Response: Optional	
		N1~8R~CUSTOMER NAME	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	N101	98	Entity Identifier Code	M		ID 2/3	
	Code identifying an organizational entity, a physical location, property or an individual	
 	8R		Consumer Service Provider (CSP) Customer	
	Retail Customer	
Must Use	N102	93	Name	X		AN 1/60	
	Free-form name	
	Retail Customer Name	

	Segment:	LIN Item Identification
	Position:	010
	Loop:	LIN        Optional
	Level:	Detail
	Usage:	Optional
	Max Use:	1
	Purpose:	To specify basic item identification data
	Syntax Notes:	1	If either LIN04 or LIN05 is present, then the other is required.
		2	If either LIN06 or LIN07 is present, then the other is required.
		3	If either LIN08 or LIN09 is present, then the other is required.
		4	If either LIN10 or LIN11 is present, then the other is required.
		5	If either LIN12 or LIN13 is present, then the other is required.
		6	If either LIN14 or LIN15 is present, then the other is required.
		7	If either LIN16 or LIN17 is present, then the other is required.
		8	If either LIN18 or LIN19 is present, then the other is required.
		9	If either LIN20 or LIN21 is present, then the other is required.
		10	If either LIN22 or LIN23 is present, then the other is required.
		11	If either LIN24 or LIN25 is present, then the other is required.
		12	If either LIN26 or LIN27 is present, then the other is required.
		13	If either LIN28 or LIN29 is present, then the other is required.
		14	If either LIN30 or LIN31 is present, then the other is required.
	Semantic Notes:	1	LIN01 is the line item identification
	Comments:	1	See the Data Dictionary for a complete list of IDs.
		2	LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
Notes:		Required - The LIN Loop on the Response will echo what was sent on the Request.	
		LIN~2012121500001~SH~EL~SH~CE	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	LIN01	350	Assigned Identification	O		AN 1/20	
	Alphanumeric characters assigned for differentiation within a transaction set	
	The identifier provided in the LIN01 of the Request Transaction.	
Must Use	LIN02	235	Product/Service ID Qualifier	M		ID 2/2	
	Code identifying the type/source of the descriptive number used in Product/Service ID (234)	
 	SH		Service Requested	
Must Use	LIN03	234	Product/Service ID	M		AN 1/48	
	Identifying number for a product or service	
 	EL		Electric	
 	GAS		Gas	
Must Use	LIN04	235	Product/Service ID Qualifier	X		ID 2/2	
	Code identifying the type/source of the descriptive number used in Product/Service ID (234)	
 	SH		Service Requested	
Must Use	LIN05	234	Product/Service ID	X		AN 1/48	
	Identifying number for a product or service	
 	CE		Energy Services	

	Segment:	ASI Action or Status Indicator
	Position:	020
	Loop:	LIN        Optional
	Level:	Detail
	Usage:	Optional
	Max Use:	1
	Purpose:	To indicate the action to be taken with the information provided or the status of the entity described
	Syntax Notes:
	Semantic Notes:
	Comments:
Notes:		Required	
		ASI~WQ~024	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	ASI01	306	Action Code	M		ID 1/2	
	Code indicating type of action	
 	U		Reject	
 	WQ		Accept	
Must Use	ASI02	875	Maintenance Type Code	M		ID 3/3	
	Code identifying the specific type of item maintenance	
 	024		Cancellation or Termination	
	Drop	

	Segment:	REF Reference Identification (Supplier Account Number)
	Position:	030
	Loop:	LIN        Optional
	Level:	Detail
	Usage:	Optional
	Max Use:	>1
	Purpose:	To specify identifying information
	Syntax Notes:	1	At least one of REF02 or REF03 is required.
		2	If either C04003 or C04004 is present, then the other is required.
		3	If either C04005 or C04006 is present, then the other is required.
	Semantic Notes:	1	REF04 contains data relating to the value cited in REF02.
	Comments:
Notes:		Required when previously provided by the Supplier.	
		REF~11~1234567890	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	REF01	128	Reference Identification Qualifier	M		ID 2/3	
	Code qualifying the Reference Identification	
 	11		Account Number	
	Supplier Account Number	
Must Use	REF02	127	Reference Identification	X		AN 1/30	
	Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier	
	Supplier Account Number	

	Segment:	REF Reference Identification (Distribution Company Account Number/SDID)
	Position:	030
	Loop:	LIN        Optional
	Level:	Detail
	Usage:	Optional
	Max Use:	>1
	Purpose:	To specify identifying information
	Syntax Notes:	1	At least one of REF02 or REF03 is required.
		2	If either C04003 or C04004 is present, then the other is required.
		3	If either C04005 or C04006 is present, then the other is required.
	Semantic Notes:	1	REF04 contains data relating to the value cited in REF02.
	Comments:
Notes:		Required - Only one of either REF~12 or REF~Q5 may be sent as required by the Applicable Regulatory Authority governing documents. 	
		REF~12~0000445648
REF~Q5~00040621002260654	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	REF01	128	Reference Identification Qualifier	M		ID 2/3	
	Code qualifying the Reference Identification	
 	12		Billing Account	
	Distribution Company Account Number	
 	Q5		Property Control Number	
	Service Delivery ID	
Must Use	REF02	127	Reference Identification	X		AN 1/30	
	Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier	
	Distribution Company Account Number or Service Delivery ID	

	Segment:	REF Reference Identification (Rejection Reason Code)
	Position:	030
	Loop:	LIN        Optional
	Level:	Detail
	Usage:	Optional
	Max Use:	>1
	Purpose:	To specify identifying information
	Syntax Notes:	1	At least one of REF02 or REF03 is required.
		2	If either C04003 or C04004 is present, then the other is required.
		3	If either C04005 or C04006 is present, then the other is required.
	Semantic Notes:	1	REF04 contains data relating to the value cited in REF02.
	Comments:
Notes:		Accept Response: Not Used
Reject Response: Required	
		REF~7G~A13~REJECTION REASON TEXT	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	REF01	128	Reference Identification Qualifier	M		ID 2/3	
	Code qualifying the Reference Identification	
 	7G		Data Quality Reject Reason	
Must Use	REF02	127	Reference Identification	X		AN 1/30	
	Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier	
	Supplier to Distribution Company: Codes A13 and A76 may be used.
Distribution Company to Supplier: Codes 008, A13, A76, A84, ABN, API may be used.	
 	008		Account Exists But Is Not Active	
 	A13		Other	
	Description Required in REF03	
 	A76		Account Not Found	
 	A84		Invalid Relationship	
	Not the Supplier of Record	
 	ABN		Duplicate Request Received	
 	API		Required Information Missing	
	Description Required in REF03	
Dep	REF03	352	Description	X		AN 1/80	
	A free-form description to clarify the related data elements and their content	
	Additional Text Description, required for codes A13 and API	

	Segment:	DTM Date/Time Reference (Service Period End Date)
	Position:	040
	Loop:	LIN        Optional
	Level:	Detail
	Usage:	Optional
	Max Use:	>1
	Purpose:	To specify pertinent dates and times
	Syntax Notes:	1	At least one of DTM02 DTM03 or DTM05 is required.
		2	If DTM04 is present, then DTM03 is required.
		3	If either DTM05 or DTM06 is present, then the other is required.
	Semantic Notes:
	Comments:
Notes:		Distribution Company to Supplier Accept Response: Required
All Other Responses: Not Used	
		DTM~151~20130110	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	DTM01	374	Date/Time Qualifier	M		ID 3/3	
	Code specifying type of date or time, or both date and time	
 	151		Service Period End	
Must Use	DTM02	373	Date	X		DT 8/8	
	Date expressed as CCYYMMDD	
	Service Period End Date	

	Segment:	SE Transaction Set Trailer
	Position:	150
	Loop:
	Level:	Detail
	Usage:	Mandatory
	Max Use:	1
	Purpose:	To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
	Syntax Notes:
	Semantic Notes:
	Comments:	1	SE is the last segment of each transaction set.
Notes:		Required	
		SE~13~000000001	

Data Element Summary
	Ref.	Data	
	Des.	Element	Name	Attributes
Must Use	SE01	96	Number of Included Segments	M		N0 1/10	
	Total number of segments included in a transaction set including ST and SE segments	
Must Use	SE02	329	Transaction Set Control Number	M		AN 4/9	
	Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set	

Examples Associated with Model Business Practices RXQ.10.3.3 Retail Customer Drop Process – Submitted by Supplier

Distribution Company Drop Accept Response

ST~814~000000001	ST segment required on all EDI transactions	
BGN~11~20121216ABC0000000000000123456~20121216~~~20121215123000001	BGN segment indicating this is a Response transaction	
N1~8S~DISTRIBUTE-IT INC.~1~007909411~~41	Distribution Company Name and DUNS information	
N1~SJ~SUPPLY LTD~9~007909422CRN1~~40	Supplier Name and DUNS information	
N1~8R~CUSTOMER NAME	Customer Name	
LIN~2012121500001~SH~EL~SH~CE	Transaction reference number, indication that the transaction is for Electric Generation Services	
ASI~WQ~024	Indicating a drop accept	
REF~11~1234567890	Supplier Account Number	
REF~12~0000445648	Distribution Company Account Number	
DTM~151~20130106	Estimated drop date is 1/6/2013	
SE~11~000000001	SE segment required on all EDI transactions	

Distribution Company Drop Reject Response

ST~814~000000001	ST segment required on all EDI transactions	
BGN~11~20121216ABC0000000000000123456~20121216~~~20121215123000001	BGN segment indicating this is a Response transaction	
N1~8S~DISTRIBUTE-IT INC.~1~007909411~~41	Distribution Company Name and DUNS information	
N1~SJ~SUPPLY LTD~9~007909422CRN1~~40	Supplier Name and DUNS information	
N1~8R~CUSTOMER NAME	Customer Name	
LIN~2012121500001~SH~EL~SH~CE	Transaction reference number, indication that the transaction is for Electric Generation Services	
ASI~U~024	Indicating a drop reject	
REF~11~1234567890	Supplier Account Number	
REF~12~0000445648	Distribution Company Account Number	
REF~7G~A76	Reason for rejection is Account Not Found	
SE~11~000000001	SE segment required on all EDI transactions