Professional Documents
Culture Documents
Notes:
Ariba Network allows Suppliers to send Ship Notices to Buyers in the form of the cXML ShipNoticeRequest. This
is a fulfillment document to the cXML OrderRequest.
As a service to Suppliers preferring to transact via EDI, Ariba Network accepts the ANSI X12 004010 856 Ship
Notice / Manifest document.
On receiving the 856 (documented here), Ariba Network validates the EDI content, returns a 997 to the Supplier,
and converts it to the cXML ShipNoticeRequest. The final cXML document is internally posted to perform the
actual fulfillment update.
If an error arises at the application level, an email notification is sent to the Supplier, advising the failure and the
reason. Ariba Network does not currently implement the 824 Application Advice.
All separator characters within the ANSI X12 domain are allowed. You do not need to use the same separators that
you receive on your 850. The recommended separators are:
* Note that different VANs have different separator char requirements. They are usually modified in transit. These
three chars are always written to all inbound interchanges to Ariba Network by Sterling Commerce. Needless to say,
these three chars must not occur within your data itself.
Summary 997's are implemented, returning AK2/AK5 segments. Detailed 997's with AK3 and AK4 segments are
not supported at this time.
Interchanges are not acknowledged. Do not expect a TA1 segment. ISA14 should be set to 0, but is ignored.
- Code "A" constitutes acceptance. A cXML ShipNoticeRequest was successfully prepared for submission to Ariba
Network.
- Code "E" is an EDI Compliance error. If you receive this in an AK5, it means that the 856 was not converted and
did not make it past our EDI gateway.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 1 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
- Code "R" represents total rejection. Ariba Network EDI does not currently implement this code.
- The above codes apply. Code "P" is possible if not all AK5's are code "A".
Ariba Network Support is available to help resolve technical issues with EDI. Suppliers are requested to open cases
if they need assistance.
The ideal way to create a case is to complete the Network Support help form on supplier.ariba.com.
In reading this Implementation Guide, the following usage codes are used:
Status Segment Element
----------------------- ------------ -----------
Mandatory M M
Must Use Must Use M
Recommended R R
Dependant D D
Not Recommended NR NR
Not Used X X
Mandatory means that X12 says it is mandatory, so the guideline is bound by that rule.
Must Use means that X12 says it is optional, but Ariba Network requires it.
Recommended means that X12 says it is optional, and Ariba Network considers it optional, but recommends that it
be used.
Dependant means that X12 might have its usage dependant on other segments or elements, or by semantic notes, or
that Ariba Network describes semantics on which its dependency lies.
Not Recommended is the opposite of Recommended. The information may be technically allowed, but is probably
ignored.
Not Used segments and elements are not even shown in the guideline. In cases there they made need to be shown for
consistency, they are marked with an X.
Heading:
Page Pos. Seg. Base User Loop Notes and
No. No. ID Name Guide Status Max.Use Repeat Comments
44 010 ST Transaction Set Header M M 1
55 020 BSN Beginning Segment for Ship Notice M M 1
77 040 DTM Date/Time Reference O 2
Detail:
Page Pos. Seg. Base User Loop Notes and
No. No. ID Name Guide Status Max.Use Repeat Comments
LOOP ID - HL 1
10 010 HL Hierarchical Level - Shipment M M 1
11 120 TD5 Carrier Details (Routing O 1
Sequence/Transit Time)
13 120 TD5 Carrier Details (Transport O 11
Information)
15 140 TD4 TD4 Carrier Details (Carrier O 1
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 2 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Identifier)
16 150 REF Reference Identification O 4
18 210 FOB F.O.B Related Instructions (Terms of O 1
Delivery)
LOOP ID - N1 200
21 220 N1 Name O 1
23 230 N2 Additional Name Information O 2
24 240 N3 Address Information O 2
25 250 N4 Geographic Location O 1
28 270 PER Administrative Communications O 3
Contact
LOOP ID - N1 1
30 22 N1 Name O 1
0
31 24 N3 Address Information O 2
0
32 25 N4 Geographic Location O 1
0
LOOP ID - HL 200000
35 010 HL Hierarchical Level - Order M M 1
37 050 PRF Purchase Order Reference O Must Use 1
38 150 REF Reference Identification O 1
39 200 DTM Date/Time Reference O 10
LOOP ID - N1 200
41 220 N1 Name O 1
42 230 N2 Additional Name Information O 2
43 240 N3 Address Information O 2
44 250 N4 Geographic Location O 1
45 270 PER Administrative Communications O 3
Contact
LOOP ID - HL 200000
46 010 HL Hierarchical Level - Line Item M M 1 c1
47 030 SN1 Item Detail (Shipment) O Must Use 1
48 060 PO4 Item Physical Details O 1
51 150 REF Reference Identification O >1
53 190 MAN Marks and Numbers O >1
Summary:
Page Pos. Seg. Base User Loop Notes and
No. No. ID Name Guide Status Max.Use Repeat Comments
55 010 CTT Transaction Totals O 1 n1
56 020 SE Transaction Set Trailer M M 1
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 3 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
ST*856*0001~
produces...
<ShipNoticeRequest>
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 4 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
BSN*00*843-2187-5193*20010903*121844*0004~
produces...
<ShipNoticeRequest>
<ShipNoticeHeader shipmentID="843-2187-5193" operation="new" noticeDate="2001-
09-03T12:18:44-0000" ...>
An "update" ship notice (BSN01='05') allows a supplier to correct an error in a ship notice
or to add additional information learned later. In either case, an "update" document must
be complete: All data from the original should be discarded by the recipient.
An "replace" ship notice must have the same Shipment Identifier (BSN02) as the previous
version of the notice. This provides an unambiguous and direct connection between all
versions of the ship notice.
* Note that the 856 supports Delete and Replace options here, to map into similar cXML
operation values. However, the AN13s3 release does not yet support this.
<ShipNoticeHeader operation=BSN01>
operation (new | update | delete) "new" #REQUIRED
00 Original
<ShipNoticeHeader operation="new">
03 Delete
<ShipNoticeHeader operation="delete">
* Reserved for future use - not supported by AN13s3
05 Replace
<ShipNoticeHeader operation="update">
* Reserved for future use - not supported by AN13s3
BSN02 396 Shipment Identification M AN 2/30 M
A unique control number assigned by the original shipper to identify a specific shipment
An identifier for this particular shipment assigned by the supplier. This value does not vary
as a particular ship notice is updated. That is, BSN01="03" or BSN01="05" documents
describing the same shipment must share a shipmentID with the original (BSN01="00")
Ship Notice.
<ShipNoticeHeader shipmentID=BSN02>
shipmentID %string; #REQUIRED
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 5 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
BSN03 373 Date M DT 8/8 M
Date expressed as CCYYMMDD
The date this ship notice was created.
<ShipNoticeHeader noticeDate=BSN03+BSN04>
BSN04 337 Time M TM 4/8 M
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)
The time this ship notice was created.
<ShipNoticeHeader noticeDate=BSN03+BSN04>
BSN05 1005 Hierarchical Structure Code O ID 4/4 O
Code indicating the hierarchical application structure of a transaction set that utilizes the
HL segment to define the structure of the transaction set
0004 Shipment, Order, Item
BSN06 640 Transaction Type Code O ID 2/2 O
Code specifying the type of transaction
This element is used for defining the shipmentType.
<ShipNoticeHeader shipmentType=”actual”>
09 actual
PL planned
BSN07 641 Status Reason Code O ID 3/3 O
Code indicating the status reason
This element is used for defining the fulfillmentType.
<ShipNoticeHeader fulfillmentType=”partial”>
C20 complete
B44 partial
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 6 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
DTM*011*20010903*0830*ED~
DTM*017*20010904*0900*20~
produces...
Specify the Shipment Date and/or Estimated Delivery Date. Both are optional, but the
Shipment Date is recommended.
<ShipNoticeHeader
shipmentDate %datetime.tz; #IMPLIED
= DTM02 + DTM03 + DTM04 where DTM01 = "011"
The ISO codes are favorable because you have direct control over the output, but they do
not support half hour zones as in Newfoundland. (If you need Newfoundland time, NS &
NT map to -0330, ND maps to -0230)
01 Equivalent to ISO P01
02 Equivalent to ISO P02
03 Equivalent to ISO P03
04 Equivalent to ISO P04
05 Equivalent to ISO P05
06 Equivalent to ISO P06
07 Equivalent to ISO P07
08 Equivalent to ISO P08
09 Equivalent to ISO P09
10 Equivalent to ISO P10
11 Equivalent to ISO P11
12 Equivalent to ISO P12
13 Equivalent to ISO M12
14 Equivalent to ISO M11
15 Equivalent to ISO M10
16 Equivalent to ISO M09
17 Equivalent to ISO M08
18 Equivalent to ISO M07
19 Equivalent to ISO M06
20 Equivalent to ISO M05
21 Equivalent to ISO M04
22 Equivalent to ISO M03
23 Equivalent to ISO M02
24 Equivalent to ISO M01
AD Alaska Daylight Time
AS Alaska Standard Time
AT Alaska Time
CD Central Daylight Time
CS Central Standard Time
CT Central Time
ED Eastern Daylight Time
ES Eastern Standard Time
ET Eastern Time
GM Greenwich Mean Time
HD Hawaii-Aleutian Daylight Time
HS Hawaii-Aleutian Standard Time
HT Hawaii-Aleutian Time
MD Mountain Daylight Time
MS Mountain Standard Time
MT Mountain Time
ND Newfoundland Daylight Time
NS Newfoundland Standard Time
NT Newfoundland Time
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 8 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
PD Pacific Daylight Time
PS Pacific Standard Time
PT Pacific Time
TD Atlantic Daylight Time
TS Atlantic Standard Time
TT Atlantic Time
UT Universal Time Coordinate
="Z" or "-00:00"
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 9 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 10 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
TD5**2*NSTY*J*Nasty Express**ZZ*DEA24597281772****ND~
produces...
<ShipNoticeRequest>
<ShipNoticeHeader ...>
<ServiceLevel xml:lang="en">Next Day Air</ServiceLevel>
...
</ShipNoticeHeader>
<ShipControl>
<CarrierIdentifier domain="SCAC">NSTY</CarrierIdentifier>
<CarrierIdentifier domain="companyName">Nasty Express</CarrierIdentification>
<ShipmentIdentifier>DEA24597281772</ShipmentIdentifier>
<Route method="motor" />
<ShipControl>
...
Carrier and routing information is summed in a single TD5 segment. In this release, only
one carrier for the shipment is supported.
If carrier information is being supplied here, Ariba Network requires identification of the
carrier. Both the coded identification (TD502-03) and the carrier name (TD505) are
required. It is possible to merge complete carrier company contact information with
N1*CA (1/220, this level) by matching TD502-03 with N103-04.
<ShipControl>
<CarrierIdentifier domain=TD502>TD503</CarrierIdentifier>
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 11 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
1 D-U-N-S Number, Dun & Bradstreet
2 Standard Carrier Alpha Code (SCAC)
4 International Air Transport Association (IATA)
TD503 67 Identification Code X AN 2/80 M
Code identifying a party or other code
TD504 91 Transportation Method/Type Code X ID 1/2 O
Code specifying the method or type of transportation for the shipment
<ShipControl>
<Route method=TD504>
method (air | motor | rail | ship) #REQUIRED
A Air
method="air"
J Motor
method="motor"
R Rail
method="rail"
S Ocean
method="ship"
TD505 387 Routing X AN 1/35 M
Free-form description of the routing or requested routing for shipment, or the originating
carrier's identity
Carrier's company name. Note that full carrierCorporate contact information can be
supplied in an N1, in which N103 and N104 match TD502 and TD503. This level of detail
is optional. If such an N1 is supplied, and N102 is provided, then N102 takes precedence
over TD505. The carrier company name is required, so if you're not providing full carrier
contact information with N102, then TD505 is required.
<ShipControl>
<CarrierIdentifier role="companyName">TD505</CarrierIdentifier>
TD507 309 Location Qualifier O ID 1/2 M
Code identifying type of location
ZZ Mutually Defined
TD508 310 Location Identifier X AN 1/30 M
Code which identifies a specific location
Carrier assigned reference / tracking id for their part of the shipment.
Identifier that appears on this shipment and through which additional detail about the
shipment may be retrieved. Defined by the carrier.
Conceptually, this is a tracking number. Different carriers have different names for
shipment identifiers. Some call it a way bill number, others call it a pro number, and still
others call it a bill of lading. They all represent tracking numbers.
<ShipmentIdentification>TD508</ShipmentIdentification>
TD512 284 Service Level Code X ID 2/2 O
Code indicating the level of transportation service or the billing service offered by the
transportation carrier
All ANSI X12 defined codes are allowed here. The description from the ANSI Standard is
mapped into the <ServiceLevel> element.
Refer to 004010 Data Element Dictionary for acceptable code values.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 12 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
TD5**ZZ*12345*J***ZZ*Instructions~
produces...
<ShipNoticeRequest>
<ShipControl>
<TransportInformation>
<Route method="motor"></Route>
<ShippingContractNumber>12345</ShippingContractNumber>
<ShippingInstructions>
<Description xml:lang="en">Instructions</Description>
</ShippingInstructions>
</TransportInformation>
<ShipControl>
...
The TD5 segment is also used for providing the transport information in the
ShipNoticeRequest. It is differentiated from carrier details by providing TD502 value =
ZZ.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 14 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
TD4*ZZZ***UPS@domainXYZ~
produces...
<ShipNoticeRequest>
<ShipControl>
<CarrierIdentifier domain="XYZ">UPS</CarrierIdentifier>
<ShipControl>
...
The TD4 segment is used for providing the carrier identifier information.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 15 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
REF*AEC**US12345~
Produces…..
REF*D2**ASN001~
Produces…..
REF*DD**Partial Shipment~
Produces…..
REF*0L*FOB05*MyOwnTermsTransportTerms~
Produces…..
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<TransportTerms value="Other">MyOwnTermsTransportTerms</TransportTerms>
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 17 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
FOB*MX*ZZ*CollectedByCustomer*ZZ*FAS*ZZ*@TPTransport
description@TODDelivery at the doorstep*ZZ*Mixed~
produces...
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<TermsOfDeliveryCode value="CollectedByCustomer"/>
<ShippingPaymentMethod value="Mixed"/>
<TransportTerms value="FreeAlongsideShip"/>
<Comments type="TermsOfDelivery" xml:lang="en-US">Delivery at the
doorstep</Comments>
<Comments type="Transport" xml:lang="en-US">Transport
description</Comments>
...
High level information regarding the Terms of delivery address.
This segment allows for Terms of Delivery.
The address information is specified by a separate N1 segment with entity identifier code
(N101) qualifier as DA.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 18 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
FO FobPortOfCall
HP HalfPrepaid
DF InformationCopy-NoPaymentDue
DF InsuranceCostsPaidByConsignee
DF InsuranceCostsPaidByConsignor
MX Mixed
NR NonRevenue
DF NotSpecified
BP PaidByBuyer
PS PaidBySupplierOrSeller
DF PayableElsewhere
DE PerContract
PU Pickup
PE PrepaidAndSummaryBill
PC PrepaidButChargedToCustomer
PD PrepaidByProcessor
PP Prepaid-BySeller
PL PrepaidLocalCollectOutstate
PO PrepaidOnly
RF ReturnContainerFreightFree
RC ReturnContainerFreightPaidByCustomer
RS ReturnContainerFreightPaidBySupplier
11 Rule11Shipment
NC ServiceFreight-NoCharge
TP ThirdPartyPay
DF Other
WC WeightCondition
FOB02 309 Location Qualifier X ID 1/2 Used
Description: Code identifying type of location
OF Other Unlisted Free On Board (FOB) Point
ZZ Mutually Defined
FOB03 352 Description O AN 1/80 Used
Description: A free-form description to specify the related data elements and their content.
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<TermsOfDeliveryCode value="PriceCondition"/>
Or
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<TermsOfDeliveryCode value="Other">MyCode</TermsOfDeliveryCode>
FOB04 334 Transportation Terms Qualifier Code O ID 2/2 Used
Description: Code identifying the source of the transportation terms
ZZ Mutually Defined
FOB05 335 Transportation Terms Code X ID 3/3 Used
Description: Code identifying the trade terms which apply to the shipment transportation
responsibility.
EXW Ex-Works
FCA Free-Carrier
FAS FreeAlongsideShip
FOB FreeOnBoard
CAF CostAndFreight
CIF Cost-InsuranceAndFreight
CPT CarriagePaidTo
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 19 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
CIP Carriage-InsurancePaidTo
DAF DeliveredAtFrontier
DES DeliveredEx-Ship
DEQ DeliveredEx-Quay
DDU DeliveredDutyUnpaid
DDP DeliveredDutyPaid
ZZZ Other
FOB06 309 Location Qualifier X ID 1/2 Used
Description: Code identifying type of location
ZZ Mutually Defined
FOB07 352 Description O AN 1/80 Used
Description: A free-form description to specify the related data elements and their content
Transport description and terms of delivery description can be specified in this element. Both will be
concatenated together. Transport description will be prefixed by @TP and terms of delivery
description will be prefixed by @TOD.
eg: @TPTransport description @TODDelivery at the doorstep
FOB08 54 Risk of Loss Code O ID 2/2 Used
Description: Code specifying where responsibility for risk of loss passes
ZZ Mutually Defined
FOB09 352 Description X AN 1/80 Used
Description: A free-form description to specify the related data elements and their content.
This element is used to describe the textual value of ShippingPaymentMethod.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 20 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Segment: N1 Name
Position: 220
Loop: N1 Optional
Level: Detail
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.
Usage Notes: Used/Optional
Notes: Example:
N1*CA*Nasty Express*2*NSTY~
produces...
<Contact role="carrierCorporate">
<Name xml:lang="en">Nasty Express</Name>
...
High level contact information regarding the shipment. It is not generally necessary to
copy information from the Purchase Order: Contacts here should be used primarily to add
information to that known about an order.
Suppliers may optionally include contact information for their EDI Administrator under
N101=SU with a PER01=EA.
If you are entering a Postal Address, the <PostalAddress> structure in cXML mandates at
least one <Street>, a <City> and a <Country>. Therefore, N3 and N4 become mandatory.
<ShipNoticeRequest>
<ShipNoticeHeader>
<Contact>
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 22 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
N2*Shipping Dept.~
produces...
<PostalAddress>
<DeliverTo>Shipping Dept.</DeliverTo>
…
</PostalAddress>
* Note that the <DeliverTo> element is just a textual name. It is still used even if the role
is Ship From, despite the apparent word dissimilation.
* Note that <DeliverTo> occurs within <PostalAddress>. It has 3 mandatory elements:
• <Street> (mapped from N3)
• <City>(mapped from N4) and
• <Country>(mapped from N4)
Hence N3 and N4 are mandatory for any element mapped inside <PostalAddress>.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 23 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
produces...
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 24 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
N4*Dallas*TX*75216*US~
produces...
<PostalAddress>
...
<City>Dallas</City>
<State>TX</State>
<PostalCode>75216</PostalCode>
<Country isoCountryCode="US">UNITED STATES</Country>
* The Country name is resolved by the EDI inbound process using a lookup on the ISO-
3166 country code in N404. An invalid country code may throw a compliance error.
* Note that since <Country> occurs within <PostalAddress>, <City> mapped from N3 is
mandatory.
Official State and Territory codes are published by the US Postal Service here:
http://www.usps.gov/ncsc/lookups/abbr_state.txt
All codes for US and Canada are listed here for convenience.
<Contact>
<PostalAddress>
<State>
AB Alberta
AK Alaska
AL Alabama
AR Arkansas
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 25 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
AS American Samoa
AZ Arizona
BC British Columbia
CA California
CO Colorado
CT Connecticut
DC District of Columbia
DE Delaware
FL Florida
FM Federated States of Micronesia
GA Georgia
GU Guam
HI Hawaii
IA Iowa
ID Idaho
IL Illinois
IN Indiana
KS Kansas
KY Kentucky
LA Louisiana
MA Massachusetts
MB Manitoba
MD Maryland
ME Maine
MH Marshall Islands
MI Michigan
MN Minnesota
MO Missouri
MP Northern Mariana Islands
MS Mississippi
MT Montana
NB New Brunswick
NC North Carolina
ND North Dakota
NE Nebraska
NF Newfoundland
NH New Hampshire
NJ New Jersey
NM New Mexico
NS Nova Scotia
NT Northwest Territories
NU Nunavut
NV Nevada
NY New York
OH Ohio
OK Oklahoma
ON Ontario
OR Oregon
PA Pennsylvania
PE Prince Edward Island
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 26 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
PR Puerto Rico
PW Palau
QC Quebec
RI Rhode Island
SC South Carolina
SD South Dakota
SK Saskatchewan
TN Tennessee
TX Texas
UT Utah
VA Virginia
VI Virgin Islands
VT Vermont
WA Washington
WI Wisconsin
WV West Virginia
WY Wyoming
YT Yukon
N403 116 Postal Code O ID 3/15 R
Code defining international postal zone code excluding punctuation and blanks (zip code
for United States)
Zip codes will be either five or nine digits with no separator. Canadian postal codes must
be formatted A9A9A9, with no separator.
Ariba Network may validate a Zip/Postal code to correspond to the State or Province code
in N402, if N404="US" or "CA", and cause the document to fail if it is obviously wrong.
<Contact>
<PostalAddress>
<PostalCode>
N404 26 Country Code O ID 2/3 M
Code identifying the country
Country code is ISO-3166 compliant. You can see a list here along with their respective
currency codes:
http://www.unece.org/trade/rec/rec09en.htm
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 27 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
PER*CN*Lucille Winters*TE*18005551212*EM*lucyw@thesupplier.org~
produces...
<Contact>
...
<Phone name="Lucille Winters">
<TelephoneNumber>
<CountryCode isoCountryCode="US">1</CountryCode>
<AreaOrCityCode>800</AreaOrCityCode>
<Number>5551212</Number>
<TelephoneNumber>
</Phone>
<Email name="Lucille Winters">lucyw@thesupplier.org</Email>
Breaking down telephone numbers is obviously complex due to the cXML requirements.
In processing, any separator characters are removed and the number is scanned from left
to right using telephony techniques.
If the number has a leading 1 and is longer than eleven digits, then the overflow goes into
the <Extension> element.
Incomplete telephone numbers, even seven digit numbers, may cause compliance errors
or confusing results to the buyer.
* Since the isoCountryCode is required in the final mapping, N404 may be used if it is
available to resolve the US / CA ambiguity.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 29 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
N1*DA*SNVS~
produces...
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<Address>
<Name xml:lang="en-US">SNVS</Name>
...
High level information regarding the Terms of delivery address.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 30 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
produces...
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<Address>
<Street>123 Anywhere St.</Street>
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 31 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
N4*Dallas*TX*75216*US~
produces...
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<Address>
...
<City>Dallas</City>
<State>TX</State>
<PostalCode>75216</PostalCode>
<Country isoCountryCode="US">UNITED STATES</Country>
* The Country name is resolved by the EDI inbound process using a lookup on the ISO-
3166 country code in N404. An invalid country code may throw a compliance error.
Official State and Territory codes are published by the US Postal Service here:
http://www.usps.gov/ncsc/lookups/abbr_state.txt
All codes for US and Canada are listed here for convenience.
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<Address>
<State>
AB Alberta
AK Alaska
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 32 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
AL Alabama
AR Arkansas
AS American Samoa
AZ Arizona
BC British Columbia
CA California
CO Colorado
CT Connecticut
DC District of Columbia
DE Delaware
FL Florida
FM Federated States of Micronesia
GA Georgia
GU Guam
HI Hawaii
IA Iowa
ID Idaho
IL Illinois
IN Indiana
KS Kansas
KY Kentucky
LA Louisiana
MA Massachusetts
MB Manitoba
MD Maryland
ME Maine
MH Marshall Islands
MI Michigan
MN Minnesota
MO Missouri
MP Northern Mariana Islands
MS Mississippi
MT Montana
NB New Brunswick
NC North Carolina
ND North Dakota
NE Nebraska
NF Newfoundland
NH New Hampshire
NJ New Jersey
NM New Mexico
NS Nova Scotia
NT Northwest Territories
NU Nunavut
NV Nevada
NY New York
OH Ohio
OK Oklahoma
ON Ontario
OR Oregon
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 33 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
PA Pennsylvania
PE Prince Edward Island
PR Puerto Rico
PW Palau
QC Quebec
RI Rhode Island
SC South Carolina
SD South Dakota
SK Saskatchewan
TN Tennessee
TX Texas
UT Utah
VA Virginia
VI Virgin Islands
VT Vermont
WA Washington
WI Wisconsin
WV West Virginia
WY Wyoming
YT Yukon
N403 116 Postal Code O ID 3/15 R
Code defining international postal zone code excluding punctuation and blanks (zip code
for United States)
Zip codes will be either five or nine digits with no separator. Canadian postal codes must
be formatted A9A9A9, with no separator.
Ariba Network may validate a Zip/Postal code to correspond to the State or Province code
in N402, if N404="US" or "CA", and cause the document to fail if it is incorrect. .
<ShipNoticeRequest>
<ShipNoticeHeader>
<TermsOfDelivery>
<Address>
<PostalCode>
N404 26 Country Code O ID 2/3 M
Code identifying the country
Country code is ISO-3166 compliant. You can see a list here with their respective currency
codes:
http://www.unece.org/trade/rec/rec09en.htm
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 34 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
HL*2*1*O*1~
produces...
<ShipNoticePortion>
At the Order level, you can supply reference information about each order included in the
shipment.
It is allowable to only go as deep as the order level and just omit item specific
information. This implies that the entire order is included in the shipment. This simplified
method also avoids entering packaging information.
* Note that although the 856 and <ShipNoticeRequest> allow multiple orders per
shipment notice, the current release of Ariba Network does not. This will be enhanced in
a future release. Presently, only one order can be cited in a ship notice. If multiple orders
are part of the same shipment, then separate 856 documents, with matching BSN02 are
required.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 35 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Must be the Hierarchical ID Number (DE0628) of the Shipment level (typically = 1)
HL03 735 Hierarchical Level Code M ID 1/2 M
Code defining the characteristic of a level in a hierarchical structure
O Order
HL04 736 Hierarchical Child Code O ID 1/1 M
Code indicating if there are hierarchical child data segments subordinate to the level being
described
Must explicitly state whether or not an item level is present.
0 No Subordinate HL Segment in This Hierarchical Structure.
No child level here implies that you are including the whole order
in the shipment and not providing any packaging detail.
1 Additional Subordinate HL Data Segment in This Hierarchical
Structure.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 36 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
PRF*ORD6592***20010829~
produces...
<ShipNoticePortion>
<OrderReference orderID="ORD6592" orderDate="2001-08-29T08:39:52-0500">
<DocumentReference payloadID="original-order-payload-id" />
</OrderReference>
...
The original PO is cross referenced using the Buyer's Ariba Network ID (from GS03), the
Purchase Order Number (PRF01) and the Order Date (PRF04). The full date, and the
payloadID, as required by cXML, are retrieved from the Ariba Network database.
Only Purchase Orders that were routed by Ariba Network can be referenced. Any PO
originating from the Buyer through Ariba Network "can" be referenced. It does not
necessarily have to be one that was routed as an EDI 850.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 37 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
REF*IL*1234567~
This optional special segment may be used to echo an REF*IL segment from the 850, if it
is present. In this, REF02 contains the internal PO Id used by Ariba Network. This allows
the EDI inbound process to make an exact link to a Purchase Order. This gives better
reliability than making a "best match" on the Buyer, Order Number, and Order Date. If
present, REF02 is used conclusively. An error is thrown if it is invalid, or if the Order
Number and Order Date do not match.
* Tech Note - This is an integer value, typically seven or eight digits in length. The
recommended reference that cXML compliant suppliers must use is the payloadID. This
is a string up to 250 chars in length. It may be made available in a future release of the
850. However, due to its length it cannot reliably be stored in REF03. An N9/MSG
structure would be used and that structure is not always available in fulfillment
documents. Therefore, the internal PO Id is chosen as something more EDI friendly.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 38 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
The ISO codes are favorable because you have direct control over the output, but they do
not support half hour zones as in Newfoundland. (If you need Newfoundland time, NS &
NT map to -0330, ND maps to -0230)
01 Equivalent to ISO P01
02 Equivalent to ISO P02
03 Equivalent to ISO P03
04 Equivalent to ISO P04
05 Equivalent to ISO P05
06 Equivalent to ISO P06
07 Equivalent to ISO P07
08 Equivalent to ISO P08
09 Equivalent to ISO P09
10 Equivalent to ISO P10
11 Equivalent to ISO P11
12 Equivalent to ISO P12
13 Equivalent to ISO M12
14 Equivalent to ISO M11
15 Equivalent to ISO M10
16 Equivalent to ISO M09
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 39 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
17 Equivalent to ISO M08
18 Equivalent to ISO M07
19 Equivalent to ISO M06
20 Equivalent to ISO M05
21 Equivalent to ISO M04
22 Equivalent to ISO M03
23 Equivalent to ISO M02
24 Equivalent to ISO M01
AD Alaska Daylight Time
AS Alaska Standard Time
AT Alaska Time
CD Central Daylight Time
CS Central Standard Time
CT Central Time
ED Eastern Daylight Time
ES Eastern Standard Time
ET Eastern Time
GM Greenwich Mean Time
HD Hawaii-Aleutian Daylight Time
HS Hawaii-Aleutian Standard Time
HT Hawaii-Aleutian Time
MD Mountain Daylight Time
MS Mountain Standard Time
MT Mountain Time
ND Newfoundland Daylight Time
NS Newfoundland Standard Time
NT Newfoundland Time
PD Pacific Daylight Time
PS Pacific Standard Time
PT Pacific Time
TD Atlantic Daylight Time
TS Atlantic Standard Time
TT Atlantic Time
UT Universal Time Coordinate
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 40 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Segment: N1 Name
Position: 220
Loop: N1 Optional
Level: Detail
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.
Usage Notes: Used/Optional
Notes:
Order level contact information is available here. It is not necessary (though not
prohibited) to echo all contacts, BillTo, ShipTo, etc. from the Purchase Order. This group
is provided to supplement the information from the Purchase Order with additional
information filled in by the supplier.
* See notes on Shipment level N1 group. All the same rules apply, except that there is no
carrier address.
<ShipNoticeRequest>
<ShipNoticePortion>
<Contact>
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 41 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 42 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 43 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 44 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 45 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
HL*3*2*I*0~
produces...
<ShipNoticeItem>
The Line Item level is simply a manifest of what Items from Purchase Orders you are
actually shipping. Packaging information at this level is limited to only a general
description of the packaging form and its physical dimensions, so no separate packaging
level is required.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 46 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
produces...
* SN103 goes through a translation table to convert it to the ISO Unit of Measure code
required by cXML.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 47 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
PO4*12*1*JR*CAS**32.8*KG*0.16*CR*0.8*0.5*0.4*MR~
produces...
<ShipNoticeItem ...>
<Packaging>
<PackagingCode xml:lang="en">CASE</PackagingCode>
<Dimension quantity="32.8" type="weight">
<UnitOfMeasure>KGM</UnitOfMeasure>
</Dimension>
<Dimension quantity="0.16" type="volume">
<UnitOfMeasure>MTQ</UnitOfMeasure>
</Dimension>
<Dimension quantity="0.8" type="length">
<UnitOfMeasure>MTR</UnitOfMeasure>
</Dimension>
<Dimension quantity="0.5" type="width">
<UnitOfMeasure>MTR</UnitOfMeasure>
</Dimension>
<Dimension quantity="0.4" type="height">
<UnitOfMeasure>MTR</UnitOfMeasure>
</Dimension>
</Packaging>
</ShipNoticeItem>
A single PO4 completes the optional cXML <Packaging> section. Complete physical
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 48 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
dimensions of the packaging is available, but not required. You can specify length, width,
height, volume, and weight.
Packaging Code or Dimension is required. That is, if PO404 is present, then elements 06
- 13 are optional. But if PO404 is not used, then at least one dimension (element 06, 08,
10, 11, or 12) and its associated Unit of Measure required.
In this version of the ASN, only the physical dimensions of the packaging are relevant.
Elements 01 - 03 (Pack, Size, and U of M) are recommended but are not currently used. It
is recommended that you supply these data elements as they may be required in a future
version.
PO404, Packaging Code, requires more of a description in cXML, so the ANSI X12
description of the code is mapped. (Hence why CAS becomes CASE)
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 50 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
Example:
REF*ZZ**testExtrinsic*1503~
produces...
<Extrinsic name="TestExtrinsic">1503</Extrinsic>
Use this segment to specify if the line item is parent or child line item. You can also
specify the corresponding line number for the line item. This is an optional segment.
Example:
REF*FL*2*item~
produces…
REF*FL**composite~
produces….
<ShipNoticeItem itemType="composite">
REF*FL*2*item~
<ShipNoticeItem parentLineNumber="2
REF03 352 Description X AN 1/80 O
A free-form description to specify the related data elements and their content
This element is also used to describe the item type as shown in the example. If present, it
creates the ShipNoticeItem with itemType attribute.
ShipNoticeRequest/ ShipNoticePortion/ShipNoticeItem/@itemType
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 52 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
MAN*L*SN*123-4*L*AT*t435-4~
produces...
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 53 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
MAN05 87 Marks and Numbers X AN 1/48 O
Marks and numbers used to identify a shipment or parts of a shipment
SN = Serial Number
AT = Tag Number
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 54 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
CTT*4~
CTT is used for EDI checksum only. It has no cXML counterpart. It's use is optional.
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 55 Revised 29 September 2014
Ariba, Inc. cXML 1.2: ANSI X12 004010 856 Ship Notice / Manifest Implementation Guidelines
SE*492*0001~
Copyright (c) 1996–2014 Ariba, Inc. All rights reserved. 56 Revised 29 September 2014