CVS X12 850 Purchase Order

CVS

3 schema elements found

This Draft Standard schema for Trial Use contains the format and data contents of the schema for use within the context of an Electronic Data Interchange (EDI) environment.

ISA

ISA

Interchange Control Header

MMax: 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

ISA01
Authorization Information Qualifier
MIDMIN 2 MAX 2ID: I01

Code to identify the type of information in the Authorization Information

ISA02
Authorization Information
MANMIN 10 MAX 10ID: I02

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

ISA03
Security Information Qualifier
MIDMIN 2 MAX 2ID: I03

Code to identify the type of information in the Security Information

ISA04
Security Information
MANMIN 10 MAX 10ID: I04

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA05
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

ISA06
Interchange Sender ID
MANMIN 15 MAX 15ID: I06

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

ISA07
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

ISA08
Interchange Receiver ID
MANMIN 15 MAX 15ID: I07

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

ISA09
Interchange Date
MDTMIN 6 MAX 6ID: I08

Date of the interchange

ISA10
Interchange Time
MTMMIN 4 MAX 4ID: I09

Time of the interchange

ISA11
Interchange Control Standards Identifier
MIDMIN 1 MAX 1ID: I10

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

ISA12
Interchange Control Version Number
MIDMIN 5 MAX 5ID: I11

This version number covers the interchange control segments

ISA13
Interchange Control Number
MN0MIN 9 MAX 9ID: I12

A control number assigned by the interchange sender

ISA14
Acknowledgment Requested
MIDMIN 1 MAX 1ID: I13

Code sent by the sender to request an interchange acknowledgment (TA1)

ISA15
Usage Indicator
MIDMIN 1 MAX 1ID: I14

Code to indicate whether data enclosed by this interchange envelope is test, production or information

ISA16
Component Element Separator
MMIN 1 MAX 1ID: I15

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

GS

GS

Functional Group Header

MMax: 1

To indicate the beginning of a functional group and to provide control information

GS01
Functional Identifier Code
MIDMIN 2 MAX 2ID: 479

Code identifying a group of application related transaction sets

GS02
Application Sender's Code
MANMIN 2 MAX 15ID: 142

Code identifying party sending transmission; codes agreed to by trading partners

GS03
Application Receiver's Code
MANMIN 2 MAX 15ID: 124

Code identifying party receiving transmission. Codes agreed to by trading partners

GS04
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

GS05
Time
MTMMIN 4 MAX 8ID: 337

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

GS06
Group Control Number
MN0MIN 1 MAX 9ID: 28

Assigned number originated and maintained by the sender

GS07
Responsible Agency Code
MIDMIN 1 MAX 2ID: 455

Code used in conjunction with Data Element 480 to identify the issuer of the standard

GS08
Version / Release / Industry Identifier Code
MANMIN 1 MAX 12ID: 480

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

transactionSets

Loop: transactionSets

ST

Transaction Set Header

MMax: 1Area: 1Seq: 010

To indicate the start of a transaction set and to assign a control number

ST01
Transaction Set Identifier Code
MIDMIN 3 MAX 3ID: 143

Code uniquely identifying a Transaction Set

850Purchase Order
ST02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BEG

Beginning Segment for Purchase Order

MMax: 1Area: 1Seq: 020

To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates

BEG01
Transaction Set Purpose Code
MIDMIN 2 MAX 2ID: 353

Code identifying purpose of transaction set

00Original
BEG02
Purchase Order Type Code
MIDMIN 2 MAX 2ID: 92

Code specifying the type of Purchase Order

SAStand-alone Order
BEG03
Purchase Order Number
MANMIN 1 MAX 22ID: 324

Identifying number for Purchase Order assigned by the orderer/purchaser

BEG05
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

REF

Reference Identification

OMax: >1Area: 1Seq: 050

To specify identifying information

REF01
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code qualifying the Reference Identification

VRVendor ID Number
ZZMutually Defined
REF02
Reference Identification
CANMIN 1 MAX 30ID: 127

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

REF03
Description
CANMIN 1 MAX 80ID: 352

A free-form description to clarify the related data elements and their content

PER

Administrative Communications Contact

OMax: 3Area: 1Seq: 060

To identify a person or office to whom administrative communications should be directed

PER01
Contact Function Code
MIDMIN 2 MAX 2ID: 366

Code identifying the major duty or responsibility of the person or group named

BDBuyer Name or Department
PER02
Name
OANMIN 1 MAX 60ID: 93

Free-form name

Loop: SAC_loop

Repeat: 25
SAC

Service, Promotion, Allowance, or Charge Information

OMax: 1Area: 1Seq: 120

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

SAC01
Allowance or Charge Indicator
MIDMIN 1 MAX 1ID: 248

Code which indicates an allowance or charge for the service specified

AAllowance
SAC02
Service, Promotion, Allowance, or Charge Code
CIDMIN 4 MAX 4ID: 1300

Code identifying the service, promotion, allowance, or charge

F800Promotional Allowance
A260Advertising Allowance
C320Display Allowance
F050Other (See related description)
F910Quantity Discount
I310Truckload Discount
ZZZZMutually Defined
SAC03
Agency Qualifier Code
CIDMIN 2 MAX 2ID: 559

Code identifying the agency assigning the code values

ZZMutually Defined
SAC04
Agency Service, Promotion, Allowance, or Charge Code
CANMIN 1 MAX 10ID: 1301

Agency maintained code identifying the service, promotion, allowance, or charge

ZZMutually Defined
SAC06
Allowance/Charge Percent Qualifier
CIDMIN 1 MAX 1ID: 378

Code indicating on what basis allowance or charge percent is calculated

1Item List Cost
SAC07
Percent
CRMIN 1 MAX 6ID: 332

Percent expressed as a percent

SAC12
Allowance or Charge Method of Handling Code
OIDMIN 2 MAX 2ID: 331

Code indicating method of handling for an allowance or charge

01Bill Back
02Off Invoice
06Charge to be Paid by Customer
SAC15
Description
CANMIN 1 MAX 80ID: 352

A free-form description to clarify the related data elements and their content

ITD

Terms of Sale/Deferred Terms of Sale

OMax: >1Area: 1Seq: 130

To specify terms of sale

ITD01
Terms Type Code
OIDMIN 2 MAX 2ID: 336

Code identifying type of payment terms

01Basic
02End of Month (EOM)
04Deferred or Installment
07Extended
ITD02
Terms Basis Date Code
OIDMIN 1 MAX 2ID: 333

Code identifying the beginning of the terms period

4Specified Date
15Receipt of Goods
ITD03
Terms Discount Percent
ORMIN 1 MAX 6ID: 338

Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date

ITD05
Terms Discount Days Due
CN0MIN 1 MAX 3ID: 351

Number of days in the terms discount period by which payment is due if terms discount is earned

ITD07
Terms Net Days
ON0MIN 1 MAX 3ID: 386

Number of days until total invoice amount is due (discount not applicable)

ITD10
Deferred Amount Due
CN2MIN 1 MAX 10ID: 389

Deferred amount due for payment

DTM

Date/Time Reference

OMax: 10Area: 1Seq: 150

To specify pertinent dates and times

DTM01
Date/Time Qualifier
MIDMIN 3 MAX 3ID: 374

Code specifying type of date or time, or both date and time

002Delivery Requested
DTM02
Date
CDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

Loop: AMT_loop

Repeat: >1
AMT

Monetary Amount

OMax: 1Area: 1Seq: 287

To indicate the total monetary amount

AMT01
Amount Qualifier Code
MIDMIN 1 MAX 3ID: 522

Code to qualify amount

BAPTotal Amount Due
AMT02
Monetary Amount
MRMIN 1 MAX 18ID: 782

Monetary amount

Loop: N9_loop

Repeat: 1000
N9

Reference Identification

OMax: 1Area: 1Seq: 295

To transmit identifying information as specified by the Reference Identification Qualifier

N901
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code qualifying the Reference Identification

L1Letters or Notes
N902
Reference Identification
CANMIN 1 MAX 30ID: 127

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

MSG

Message Text

OMax: 1000Area: 1Seq: 300

To provide a free-form format that allows the transmission of text information

MSG01
Free-Form Message Text
MANMIN 1 MAX 264ID: 933

Free-form message text

Loop: N1_loop

Repeat: 200
N1

Name

OMax: 1Area: 1Seq: 310

To identify a party by type of organization, name, and code

N101
Entity Identifier Code
MIDMIN 2 MAX 3ID: 98

Code identifying an organizational entity, a physical location, property or an individual

STShip To
OTOrigin Terminal
N103
Identification Code Qualifier
CIDMIN 1 MAX 2ID: 66

Code designating the system/method of code structure used for Identification Code (67)

54Warehouse (Use if Front Store OTC Items)
11Use if Pharmacy (DEA Number)
N104
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

N3

Address Information

OMax: 2Area: 1Seq: 330

To specify the location of the named party

N301
Address Information
MANMIN 1 MAX 55ID: 166

Address information

N4

Geographic Location

OMax: >1Area: 1Seq: 340

To specify the geographic place of the named party

N401
City Name
OANMIN 2 MAX 30ID: 19

Free-form text for city name

N402
State or Province Code
OIDMIN 2 MAX 2ID: 156

Code (Standard State/Province) as defined by appropriate government agency

N403
Postal Code
OIDMIN 3 MAX 15ID: 116

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

Loop: PO1_loop

Repeat: 100000
PO1

Baseline Item Data

MMax: 1Area: 2Seq: 010

To specify basic and most frequently used line item data

PO102
Quantity Ordered
CRMIN 1 MAX 15ID: 330

Quantity ordered

PO103
Unit or Basis for Measurement Code
OIDMIN 2 MAX 2ID: 355

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

CACase
PCPiece
PO104
Unit Price
CRMIN 1 MAX 17ID: 212

Price per unit of product, service, commodity, etc.

PO106
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

UDU.P.C./EAN Consumer Package Code (2-5-5)
UIU.P.C. Consumer Package Code (1-5-5)
NDNational Drug Code (NDC)
PIPurchaser's Item Code
PO107
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO108
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

UAU.P.C./EAN Case Code (2-5-5)
PO109
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PO110
Product/Service ID Qualifier
CIDMIN 2 MAX 2ID: 235

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

PIPurchaser's Item Code
PO111
Product/Service ID
CANMIN 1 MAX 48ID: 234

Identifying number for a product or service

PAM

Period Amount

OMax: 10Area: 2Seq: 045

To indicate a quantity, and/or amount for an identified period

PAM01
Quantity Qualifier
CIDMIN 2 MAX 2ID: 673

Code specifying the type of quantity

01Discrete Quantity
PAM02
Quantity
CRMIN 1 MAX 15ID: 380

Numeric value of quantity

PAM0301
Unit or Basis for Measurement CodeCOMPOSITE
MIDMIN 2 MAX 2ID: 355

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

Composite Unit of Measure

To identify a composite unit of measure (See Figures Appendix for examples of use)

ZZMutually Defined

Loop: PID_loop

Repeat: 1000
PID

Product/Item Description

OMax: 1Area: 2Seq: 050

To describe a product or process in coded or free-form format

PID01
Item Description Type
MIDMIN 1 MAX 1ID: 349

Code indicating the format of a description

FFree-form
PID05
Description
CANMIN 1 MAX 80ID: 352

A free-form description to clarify the related data elements and their content

PO4

Item Physical Details

OMax: >1Area: 2Seq: 090

To specify the physical qualities, packaging, weights, and dimensions relating to the item

PO401
Pack
ON0MIN 1 MAX 6ID: 356

The number of inner containers, or number of eaches if there are no inner containers, per outer container

Loop: CTT_loop

Repeat: 1
CTT

Transaction Totals

OMax: 1Area: 3Seq: 010

To transmit a hash total for a specific element in the transaction set

CTT01
Number of Line Items
MN0MIN 1 MAX 6ID: 354

Total number of line items in the transaction set

CTT02
Hash Total
ORMIN 1 MAX 10ID: 347

Sum of values of the specified data element. All values in the data element will be summed without regard to decimal points (explicit or implicit) or signs. Truncation will occur on the left most digits if the sum is greater than the maximum size of the hash total of the data element. Example: -.0018 First occurrence of value being hashed. .18 Second occurrence of value being hashed. 1.8 Third occurrence of value being hashed. 18.01 Fourth occurrence of value being hashed. 1855 Hash total prior to truncation. 855 Hash total after truncation to. three-digit field.

SE

Transaction Set Trailer

MMax: 1Area: 3Seq: 030

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

SE01
Number of Included Segments
MN0MIN 1 MAX 10ID: 96

Total number of segments included in a transaction set including ST and SE segments

SE02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set