Files Sent to EWR

Transcription

Files Sent to EWR
EWR Cotton Client Interface Manual
Files Sent to EWR
Revised 04/01/2016
EWR, Inc. uses two terms, EWR (receipts) and IEWR which mean different things. Definitions for these
terms can be found on www.ewrinc.com/Cotton/ “EWR” and “IEWR” are used separately in this
document and their meanings are not interchangeable.
©Copyright 1996-2016, EWR, Inc.
- New Receipts Issued - Regular ........................................................................................... 1-1
- New Receipts Issued - Certificated .................................................................................... 2-1
- Maintain Regular Receipts ................................................................................................. 3-1
- Maintain Certificated Receipts........................................................................................... 4-1
- Convert Electronic Receipts to Paper ................................................................................ 5-1
- Convert Paper Receipts to Electronic................................................................................. 6-1
- Cancel Receipts by Receipt Number .................................................................................. 7-1
- Uncancel Receipts by Receipt Number .............................................................................. 8-1
- Issue Non-Negotiable Block Receipts................................................................................. 9-1
– Issue Negotiable Block Receipts .................................................................................... 10-1
- Cancel Receipts by Shipping Order Number .................................................................. 11-1
Reserved ........................................................................................................................... 12-1
-Warehouse Bale Relocation ............................................................................................ 13-1
- Maintain Block Receipts ................................................................................................. 14-1
- Change Block Receipt Data ............................................................................................ 15-1
-Reserved ......................................................................................................................... 16-1
–Reserved ......................................................................................................................... 17-1
- Reserved......................................................................................................................... 18-1
-Reserved ......................................................................................................................... 19-1
-Reserved ......................................................................................................................... 20-1
- Shipping Order Instructions and Bales ........................................................................... 21-1
- Request Bank Release of Collateral ............................................................................... 22-1
– Shipping Order Update.................................................................................................. 23-1
- Warehouse Invoice ........................................................................................................ 24-1
ii
-Reserved ......................................................................................................................... 25-1
-Reserved ......................................................................................................................... 26-1
-Reserved ......................................................................................................................... 27-1
-Reserved ......................................................................................................................... 28-1
-Reserved ......................................................................................................................... 29-1
- Sample Order Instructions and Receipts........................................................................ 30-1
- Early Shipping Order ...................................................................................................... 31-1
–Issue World Container IEWR .......................................................................................... 32-1
–Reserved ......................................................................................................................... 33-1
–World Container Request ............................................................................................... 34-1
–Deliver a World Container.............................................................................................. 35-1
– Cancel a World Container ............................................................................................. 36-1
- Ship a world Container .................................................................................................. 37-1
– Validate a World Container ........................................................................................... 38-1
– Uncancel a World Container ......................................................................................... 39-1
- Reserved......................................................................................................................... 40-1
- Reserved......................................................................................................................... 41-1
– Issue World Certificated IEWR ...................................................................................... 42-1
– Reserved ........................................................................................................................ 43-1
- Maintain World IEWR .................................................................................................... 44-1
- Reserved......................................................................................................................... 45-1
- Reserved......................................................................................................................... 46-1
– Reserved ........................................................................................................................ 47-1
– Inbound Certificated Weigher ....................................................................................... 48-1
iii
- Reserved......................................................................................................................... 49-1
– Deliver Receipts ............................................................................................................. 50-1
- Deliver Receipts via Bank Draft ...................................................................................... 51-1
- Deliver Receipts via Loan Options.................................................................................. 52-1
- Put Receipts in CCC Loan................................................................................................ 53-1
- Reserved......................................................................................................................... 54-1
- Request Loan Deficiency Payment ................................................................................. 55-1
-Reserved ......................................................................................................................... 56-1
- Deliver Receipts by CMA Loan Redemption .................................................................. 57-1
-Reserved ......................................................................................................................... 58-1
– Reserved ........................................................................................................................ 59-1
- Request Receipt Data by Receipt Number ..................................................................... 60-1
-Reserved ......................................................................................................................... 61-1
- Change Receipt Data ...................................................................................................... 62-1
- Change Classing Data ..................................................................................................... 63-1
- Request Warehouse Profile ........................................................................................... 64-1
- Request Record Data by Selection Criteria .................................................................... 65-1
– Request Reconciliation File ........................................................................................... 66-1
-Reserved ......................................................................................................................... 67-1
-Reserved ......................................................................................................................... 68-1
-Reserved ......................................................................................................................... 69-1
- Bank Release of Shipping Orders (Banks Only) .............................................................. 70-1
- Bank Release of Drafts (Banks Only) ............................................................................ 71-1
- Bank Release of Collateral (Banks Only) ........................................................................ 72-1
iv
Appendix A Common Batch Trailer Layout ............................................................................................... A-1
Appendix B Shipping Instruction Codes .....................................................................................................B-1
Appendix C Transmission File Header and Trailer Layout.......................................................................... C-1
Appendix D EWR Receipt Types or Codes ................................................................................................. D-1
Appendix E Certificated Delivery Points .................................................................................................... E-1
Appendix F Certificated Classing Offices.................................................................................................... F-1
Appendix G EWR Definition ID .................................................................................................................. G-1
Appendix H Country Origination Code and Compression Codes .............................................................. H-1
Appendix I Bagging and Ties Codes............................................................................................................. I-1
v
- New Receipts Issued - Regular
Batch Type 01 is used by a warehouse located in the USA to create and issue a new electronic
warehouse receipt for a bale of cotton that was grown in the USA The receipts being issued cannot
already be on file. That is, electronic receipt numbers cannot be duplicated for a crop year. Since only
warehouses may issue receipts, they are always considered the first holder.
When successfully issued, the electronic receipt status is “active” and “open”.
To successfully complete a Batch Type 01, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
Warehouse Receipt Number must be unique.
Gin Code and Tag cannot be active.
On regular non-negotiable receipts (Receipt type “E”), it can only be delivered to one holder once the
issuing warehouse delivers it. That holder can only deliver the receipt back to the warehouse.
The regular non-negotiable receipt will not be delivered to a collateral holder of a holder. There will
never be a subholder on the receipt except for when it is shipped.
If any errors are found in the batch, an error message is given and the batch will continue to process.
All warehouses must have a warehouse profile, and all federal and some state warehouses must have
receipt ranges to issue receipts.
Warehouses located outside the United States of America will not be allowed to use this batch type to
create receipts on the provider system.
If the loan transfer field is “Y” then the following rules will apply:
 The reconcentrated flag must be “Y”.
 The previous warehouse ID must be populated.
 The previous receipt number must be populated.
 The previous warehouse ID and receipt must be on file on the EWR system.
 The previous warehouse ID and receipt number must be cancelled by the original warehouse.
 Disposition Holder ID can be blank or C000001.
 The holder of the new issued receipt will be CCC (C000001) and the subholder will be the
previous subholder from the original receipt.
The field LOCATOR ID is used to indicate the exact location of a bale within a warehouse. National
Cotton Council recommends that the 8-character field be subdivided in the following manner:
1-1



The 1st group of 3 characters represents whatever is most important to the warehouse in
locating the bale – probably shed or building.
The 2nd group of 3 characters represents the next most important thing to the warehouse in
locating the bale – probably the row.
The final 2 characters represent the least important thing to the warehouse in locating the bale
– probably the section/level.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Acknowledgments produced by a Batch Type 01, when the warehouse remains the Holder are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was
successfully received. Within the acknowledgment will be details listing: Total number of bales
processed, issued, and individual bales in error.
Warehouses may, at the time of issue, designate a new Holder for the electronic receipt. This entity is
referred to as the "Disposition Holder". If this designation is made, then immediately upon storing the
record in the host computer, the Current Holder field is changed from the issuing warehouse to the
Holder ID of the Disposition Holder (e.g. M987654).
Acknowledgments produced by a Batch Type 01, when a Disposition Holder is identified, are:
 The Disposition Holder will receive a “delivery” or download of all detail data for each of the
receipts they now hold.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the receipts to
them.
 The warehouse will receive both a Holder acknowledgment for issuing the receipts and a Holder
acknowledgment for changing holdership to the Disposition Holder.
 If the Disposition Holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81).
Acknowledgments generated by a Batch Type 01, when a receipt is immediately converted to paper are:
 Warehouse receives a Holder acknowledgment for issuing receipts
Batch 01 allows an electronic receipt to be immediately voided. Voiding simply renders the electronic
receipt number unusable. A legal receipt is never issued when the void designation is made. EWR, Inc.
is required to send a weekly report to USDA-FSA listing voided receipt numbers by warehouse.
Acknowledgments are affected somewhat by a voided receipt. Users can expect to see:
 The warehouse will receive a Holder acknowledgment for the number of actual receipts issued,
not including any voided receipts. Voided receipts do not appear in the totals.
1-2
Inbound File Layout
BATCH 01 HEADER LAYOUT
Field
Field Name
1
Record Type
2
Holder ID
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
72
49-120
Record Size = 120
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
changed by the user
Sequential number assigned for
each batch. Cannot be duplicated
within the same day
01=Issue New Receipts
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code receipts are issued
in
Reserved for EWR, Inc. use
1-3
Field
1
2
Field Name
Record Type
Electronic Receipt
Number
3
4
Record Number
Receipt Type
5
Issue Date
6
Tare Weight
N
2
19-20
Yes
7
Net Weight
N
3
21-23
Yes
8
Gin Code
N
5
24-28
No
9
10
Gin Tag
Bagging Type
N
A
7
1
29-35
36
Yes
11
Ties
A
1
37
12
Bagging Condition
A
1
38
Yes
13
14
Compression
Receiving Charge
N
N
1
4
39
40-43
Yes
Yes
15
Storage Charge
N
4
44-47
Yes
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
N
A
1
1
9
10
Yes
Yes
N
8
11-18
Yes
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same as
the warehouse tag number
1=First record of receipt
R=Regular, V=Void; E=NonNegotiable Single Bale Receipt
Date entered into the data field by
the warehouse, not assigned by EWR.
Storage date of the bale- MMDDYYYY
Represents the number pounds
subtracted from the gross weight to
compensate for bagging and ties on
the bale
Gross weight of bale minus tare
weight. User enters appropriate
amount
USDA assigned code which identifies
the site where the cotton was ginned
Note: must have data in either fields
8 & 9 OR fields 21 & 22
Bale Tag number assigned by the gin
See Appendix I – Bagging and Tie
Codes for recommendations
See Appendix I – Bagging and Tie
Codes for recommendations
Bag condition - User Defined
Examples are:
A = Bale is completely covered
B = Bale may have minor tears and an
exposed
sample opening
C = Exposed cotton in addition to
sample opening
See Appendix H)
9999 (2 decimal); Warehouse
defined charge,
example 0250 = $2.50 - 99V99
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99. If Storage Charge
Frequency is Daily, the entry will
display as cents/day, e.g. 0950 = 9.50
cents per day
1-4
16
Storage Charge
Frequency
A
1
48
Yes
17
18
19
20
21
Receiving Paid
Loading Paid
Classing Paid
Compression Paid
Reconcentrated
A
A
A
A
A
1
1
1
1
1
49
50
51
52
53
Yes
Yes
Yes
Yes
22
Previous Whse
Code
N
6
54-59
23
Previous Receipt
Number
N
7
60-66
24
Storage Paid
Through
N
8
67-74
25
26
27
State Code
County Code
Farm Number
N
N
N
2
3
5
75-76
77-79
80-84
No
No
No
28
Grower Reference
Number
Grower ID
Disposition
Holder ID
N
11
85-95
No
AN
AN
9
7
96-104
105111
No
No
31
Filler
N
7
No
32
33
Loan Transfer
Filler
A
A
1
1
112118
119
120
Type
A
Size
1
29
30
BATCH DETAIL RECORD 2
Field Field Name
1
Record Type
Pos
1
No
No
Req
Yes
Frequency at which storage charges
are assessed: W=Weekly,
M=Monthly, D=Daily
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=reconcentrated bale, N=Not
reconcentrated
Code of previous warehouse.
Entered only if the bale is
reconcentrated
Warehouse receipt number from
previous warehouse, entered for
reconcentrated cotton only
Storage paid through date;
MMDDYYYY
Last date that storage charges against
the bale were paid
USDA defined State Code
USDA defined County Code
Farm Serial Number used for
identifying specific areas of
production
If entered must be 11 digits
Optional information
Holder ID to which receipts will be
transferred upon issuance. If
disposition Holder is present, cannot
have a paper receipt number
Y=yes loan transfer
Reserved for EWR, Inc. use
Description
D=Detail Record
1-5
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
4
Received From
A
30
10-39
5
6
Filler
Is Stored Outside
A
A
1
1
40
41
7
Locator ID
AN
8
42-49
8
Crop Year
N
4
50-53
9
Producer Name
AN
34
54-87
10
11
Filler
Gin Charges
A
N
1
4
88
89-92
12
User Defined
Field
Warehouse/Depo
sitor
AN
12
93-104
A
1
105
Yes
14
Graded/Depositor A
1
106
Yes
15
Color Grade
N
2
16
Micronaire
N
2
107108
109110
13
Yes
Electronic receipt number for the
individual bale. Will be the same as
the warehouse tag number
2=Second record of the electronic
receipt
The name of the producer, gin or
bearer
Reserved for EWR, Inc. use
Y=Yes and Issue date is date moved
outside;N=Bale is inside; Blank,
unknown
Exact location of bale within a
warehouse. See Note in batch
description for the batch type for
further explanation.
Crop year in which the cotton was
grown; YYYY
Name of producer for CCC loan
purposes
Reserved for EWR, Inc. use
Example99V99
Optional information that can updated
by the current holder
Required by USDA to identify if the
warehouse and producer are the same
entity. N=warehouse & producer are
not same entity
Y=warehouse & producer are same
entity
Required by USDA to identify if the
bale is to be graded at the request of
the depositor. N=NOT graded at
request of depositor Y=GRADED.
Required if Graded Depositor =Y; AMS
assigned color grade;
Required if Graded Depositor=Y; AMS
assigned. Measure of fiber fineness
and maturity. e.g. 49
1-6
17
Extraneous
Matter
N
2
111112
18
Strength
AN
4
113116
19
Leaf Grade
N
1
117
20
Length
N
3
118120
Required if Graded Depositor=Y;
spaces are valid; AMS assigned. Any
substance found in cotton which is not
considered normal for grading
purposes. e.g. 21= grass
Required if Graded Depositor=Y; AMS
assigned. The strength of the fiber
measured in grams/tex. Entered as
99.9 The third character displays as a
decimal
Required if Graded Depositor=Y; AMS
assigned. Grade which indicates the
amount of leaf in the sample. Valid
entries 1-8
Required if Graded Depositor=Y; AMS
assigned. Length of cotton fibers
measured in 100ths of an inch; e.g.
108 = 1-1/16 of an inch
BATCH TRAILER
See Appendix A – Common Batch Trailer
1-7
- New Receipts Issued - Certificated
Batch Type 02 is used by a warehouse located in the USA to create a certificated electronic warehouse
receipt for a bale of cotton that was grown in the USA. The receipts being issued cannot be on file, that
is, electronic receipt numbers cannot be duplicated. A Batch Type “02” differs from a “01” in that it
involves issuance of receipts which are deliverable against a futures contract on the ICE Exchange (ICE)
and then the warehouse must be approved by ICE to issue certificated receipts. ICE will only accept
electronic receipts. Certificated receipts must have USDA-AMS classing information in the fields
provided in order to be a legal certificated receipt.
To successfully complete a Batch Type 02, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
Gin Code and Tag are required and cannot be on another open receipt.
Crop Year is verified via USDA-AMS classing. Acknowledgments may be slow because provider must
verify crop year against AMS classing data.
If any errors are found in the batch, an error message is given and the batch will continue to process.
All warehouses must have a warehouse profile, and all Federal and some state warehouses must have
receipt ranges to issue receipts.
Locator ID
The field LOCATOR ID is used to indicate the exact location of a bale within a warehouse. National
Cotton Council recommends that the 8-character field be subdivided in the following manner:
 The 1st group of 3 characters represents whatever is most important to the warehouse in
locating the bale – probably shed or building.
 The 2nd group of 3 characters represents the next most important thing to the warehouse in
locating the bale – probably the row.
 The final 2 characters represent the least important thing to the warehouse in locating the bale
– probably the section/level.
Smith-Doxey Classing
Beginning in January 2014, the warehouse will have the ability to designate a cert receipt as having
Smith-Doxey classing. There will be a new field added at the end of the 3rd Detail record. It will be field
number 27. If the bale is classed using Smith-Doxey classing, it should contain “SD”, otherwise it should
be blank. If field 27 contains “SD”, then field 21 (Tenderable) should be empty or blank. If the
Tenderable field is set to “NT” and the Smith-Doxey field is set to “SD”, the receipt will be rejected.
2-1
World Cotton Changes – 2015
Beginning in the Fall of 2015 the 02 batch process will be updated for the provider system to determine
(validate) if a #2 certificated receipt is eligible for the world cotton contract as defined by ICE. This
validation will be based on the classing data provided by the warehouse when sending this batch type to
the provider system.
Also a new field will be added to the inbound layout for designating the delivery point. This is an
optional field. See Appendix E – Delivery Points for correct values.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type to create receipts on the provider system.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Acknowledgments generated by a Batch Type 02, when the warehouse remains the holder, are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was
successfully received. Within the acknowledgment will be details listing: Total number of bales
processed, issued and individual bales in error.
Warehouses may, at the time of issue, designate a new holder for the electronic receipt. This entity is
referred to as the “Disposition Holder”. If this designation is made, then immediately upon storing the
record in the host computer, the Current Holder field is changed from the issuing warehouse to the
Holder ID of the disposition Holder (e.g. M987654).
Acknowledgments generated by a Batch Type 02, when a Disposition Holder is used, are:
 The Disposition Holder will receive a “delivery” or download of all detail data for the receipts
delivered to them.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the receipts to
them.
 The warehouse will receive both a Holder acknowledgment for issuing the receipts and a Holder
acknowledgment for changing holdership to the Disposition Holder.
 If the Disposition Holder ID collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81).
2-2
Due to US federal law, the functionality exists to immediately convert the electronic receipt to paper
upon issuance. This is accomplished by entering the paper receipt number in the PAPER RECEIPT field
prior to transmitting the batch. The host computer processes the 02 batch and stores the information,
and deactivates the electronic receipt number. At that point, the paper receipt (issued by the
warehouse) is the legal title document for the bale of cotton. Warehouses are always identified in the
host computer as the Current Holder of a paper receipt. Therefore, Batch 02 cannot include both a
paper receipt number and a Disposition Holder ID. NOTE: ICE only accepts electronic receipts.
Acknowledgments generated by a Batch Type 02, when a receipt is immediately converted to paper,
are:
 Warehouse receives a Holder acknowledgment for issuing receipts
Void Receipts
Batch Type 02 allows an electronic receipt to be immediately voided. Voiding simply renders the
electronic receipt number unusable. A legal receipt is never issued when the Void designation is made.
Acknowledgments are affected somewhat by a voided receipt. Users can expect to see:
The warehouse will receive a Holder acknowledgment for the number of actual receipts issued, not
including any voided receipts. Voided receipts do not appear in the totals.
2-3
Inbound File Layout
BATCH 02 HEADER LAYOUT
Record Size = 120
Field
1
2
Field Name
Record Type
Holder ID
Type Size
A
1
AN
7
Pos
1
2-8
Req
Yes
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
72
49-120
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
change by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
02=Issue New Certificated
Receipts
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
2-4
BATCH DETAIL - RECORD 1
Field
Field Name
1
Record Type
2
Electronic Receipt
Number
Type Size
A
1
N
7
Pos
1
2-8
Req
Yes
Yes
3
4
5
Record Number
Receipt Type
Issue Date
N
A
N
1
1
8
9
10
11-18
Yes
Yes
Yes
6
Tare Weight
N
2
19-20
Yes
7
Net Weight
N
3
21-23
Yes
8
Gin Code
N
5
24-28
Yes
9
10
Gin Tag
Bagging Type
N
A
7
1
29-35
36
Yes
11
Ties
A
1
37
12
Bagging Condition
A
1
38
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
1=first record of receipt
C=Certificated, V=Void
Date entered into the data field
by the warehouse, not assigned
by EWR. Storage date of the
bale- MMDDYYYY
Represents pounds subtracted
from gross weight to compensate
for bagging and ties on the bale
Gross weight of bale minus tare
weight. User enters appropriate
amount
USDA assigned code which
identifies the site where the
cotton was ginned
Tag number assigned by the gin
See Appendix I – Bagging and Tie
Codes for recommendations
See Appendix I – Bagging and Tie
Codes for recommendations
Yes
Bag condition-User Defined.
Examples are:
A = Bale is completely covered
B = Bale may have minor tears
and an exposed sample opening
C = Exposed cotton in addition to
sample opening
2-5
13
Compression
N
1
39
Yes
See Appendix H – Country and
Compression Codes for
recommendations
14
Receiving Charge
N
4
40-43
Yes
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99
15
Storage Charge
N
4
44-47
Yes
16
Storage Charge
Frequency
A
1
48
Yes
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99. If Storage Charge
Frequency is Daily, the entry will
display as cents/day, e.g. 0950 =
9.50 cents per day
Frequency at which storage
charges are assessed: W=Weekly,
M=Monthly, D=Daily
17
18
19
20
21
Receiving Paid
Loading Paid
Classing Paid
Compression Paid
Reconcentrated
A
A
A
A
A
1
1
1
1
1
49
50
51
52
53
Yes
Yes
Yes
Yes
22
Previous
Warehouse Code
N
6
54-59
Code of previous warehouse.
Entered only if the bale is
reconcentrated
23
Previous Receipt
Number
N
7
60-66
24
Storage Paid
Through
N
8
67-74
Warehouse receipt number from
previous warehouse, entered for
reconcentrated cotton only
Storage paid through date;
MMDDYYYY: Last date that
storage charges against the bale
were paid to the warehouse
25
26
27
State Code
County Code
Farm Number
N
N
N
2
3
5
75-76
77-79
80-84
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=reconcentrated bale, N=not
reconcentrated
USDA assigned State Code
USDA assigned County Code
Farm Serial Number used for
identifying specific areas of
production
2-6
28
Grower Reference
Number
29
30
31
32
33
11
85-95
If entered must be 11 digits
Grower ID
AN
Disposition Holder AN
ID
9
7
96-104
105-111
Filler
Loan Transfer
Filler
7
1
2
112-118
119
120
Optional information
Holder ID to which receipts will
be transferred upon issuance. If
a disposition Holder ID is
entered, there cannot be paper
receipt number entry in the
record (see next field.)
Reserved for EWR, Inc. use
Y=yes loan transfer
Reserved for EWR, Inc. use
BATCH DETAIL – RECORD 2
Field
Field Name
1
Record Type
2
Electronic Receipt
Number
N
N
A
A
Yes
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
Yes
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
2=Second record of the
electronic receipt detail
The name of the producer, gin or
Bearer
Reserved for EWR, Inc. use
3
Record Number
N
1
9
4
Received From
A
30
10-39
5
Filler
A
1
40
6
Is Stored Outside
A
1
41
7
Locator ID
AN
8
42-49
No
Exact location of bale within a
warehouse. See note in batch
description for the batch type for
further explanation.
8
Crop Year
N
4
50-53
Yes
Crop year in which the cotton
was grown; YYYY
9
Producer Name
AN
34
54-87
No
Name of producer for CCC loan
purposes
10
Filler
A
1
88
Y=Yes and Issue Date is date
moved outside; N=No, bale is
inside; Blank=unknown
Reserved for EWR, Inc. use
2-7
11
12
Gin Charges
User Defined
N
AN
4
12
89-92
93-104
No
No
13
Warehouse is
Depositor
A
1
105
Yes
14
Graded/Depositor
A
1
106
Yes
15
Filler
A
14
107120
example 99V99
Optional information that can
updated by the current holder
Required by USDA to identify if
the warehouse and producer are
the same entity. N=warehouse &
producer are not same entity
Y=warehouse & producer are
same entity
Required by USDA to identify if
the bale is to be graded at the
request of the depositor. For
CERT bales the entry is always N,
N=NOT graded at request of
depositor
Reserved for EWR, Inc. use
2-8
BATCH DETAIL - RECORD 3
Field
Field Name
1
Record Type
2
Electronic Receipt
Number
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
3
Record Number
N
1
9
Yes
4
5
Lot Number
Color Grade
N
N
5
2
10-14
15-16
Yes
Yes
6
Staple
N
2
17-18
Yes
7
Micronaire
N
2
19-20
Yes
8
9
10
Extraneous Matter
Remarks
Strength
N
N
N
2
2
4
21-22
23-24
25-28
Yes
11
12
13
HVI Color
Color Quadrant
Delivery Point ID
N
N
N
2
1
2
29-30
31
32-33
14
15
HVI +B
Leaf Grade
N
N
3
1
34-36
37
16
17
18
19
Trash %
Length
Filler
Class Date
N
N
A
N
2
3
2
8
38-39
40-42
43-44
45-52
20
Weigh Date
N
8
53-60
Yes
Yes
Description
D=Detail Record
Electronic receipt number of the
bale, this entry must be the same
as in detail records 1 & 2
3=Third record of electronic
receipt
Lot number assigned by ICE
AMS assigned. Used by EWR for
determining world tenderable
AMS assigned. Used by EWR for
determining world tenderable
AMS assigned. Used by EWR for
determining world tenderable
AMS assigned.
AMS assigned.
AMS assigned. The strength of
the fiber measured in grams/tex.
Entered as 99.9. Third character
always displays as a decimal.
Used by EWR for determining
world tenderable
AMS assigned.
AMS assigned.
Optional – See Appendix E –
Delivery Points
AMS assigned.
AMS assigned.
Used by EWR for determining
world tenderable
AMS assigned.
AMS assigned.
Reserved for EWR, Inc. use
AMS assigned. Classing date
MMDDYYYY
Warehouse assigned
MMDDYYYY
2-9
21
Tenderable
A
2
61-62
22
23
24
25
26
27
Rain Grown
HVI RD
Uniformity
Record Type
Record Status
Smith-Doxey Class
A
N
N
A
A
A
1
3
3
1
1
2
63
64-66
67-69
70
71
72-73
28
Filler
A
47
74-120
Yes
Yes
Warehouse assigned. Based on
the AMS grades and the
specifications of ICE Futures.
Blanks=Tenderable; meets the
specs. NT=not Tenderable, does
not meet specs
Cotton R=rain grown N=non rain
AMS assigned
AMS assigned.
AMS assigned.
AMS Assigned.
“SD” means this bale was classed
using Smith-Doxey data. Blank
means that is using “traditional”
certificated classing. If “SD” is in
this field, then field 21 should be
blank.
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
2-10
- Maintain Regular Receipts
To legally change non-certificated, non-block receipt data stored on the host computer, a
warehouseman must use a Batch Type 03. The warehouse can change all the data fields listed, if it is the
Current Holder. If it is not the Current Holder, then only the following field can be changed: Locator ID.
It may also be able to change the net weight, if the gin is the Current Holder and there is a signed
agreement on file. This is the only means by which all the required data can be changed. Additionally,
only warehouse that created the receipt can change the information through a batch type 03. This
batch also provides the ability to modify, change, or delete optional receipt data at the same time
required information is edited. To change any data, the current receipt status must be opened. If trailer
records are used, then RECORD COUNT must be correct.
To create a Batch Type 03 and change an electronic receipt, the warehouse must identify three (3) key
fields:
 RECEIPT NUMBER
 WAREHOUSE CODE
 CROP YEAR
These key fields cannot be changed under any circumstance, and they are used only to identify which
receipts in the host computer to change. After a receipt is identified, only the fields to be changed
should be edited. For example, if the net weight was correctly entered when the receipt was issued, no
entry in this field of the Batch Type 03 is required. Also certain fields can be cleared (filled with spaces),
if a single asterisk (“*”) is placed in the field.
If any of the key fields identified above are incorrect and require change, then the electronic receipt
must be canceled and a new receipt issued. There is no other option.
The field LOCATOR ID is used to indicate the exact location of a bale within a warehouse. National
Cotton Council recommends that the 8-character field be subdivided in the following manner:
 The 1st group of 3 characters represents whatever is most important to the warehouse in
locating the bale – probably shed or building.
 The 2nd group of 3 characters represents the next most important thing to the warehouse in
locating the bale – probably the row.
 The final 2 characters represent the least important thing to the warehouse in locating the bale
– probably the section/level.
If any errors are found in the batch, an error message is given and the batch will continue to process.
On regular non-negotiable receipts (Receipt type “E”,) it can only be delivered to one holder, once the
issuing warehouse delivers it. That holder can only deliver the receipt back to the warehouse.
The regular non-negotiable receipt will not be delivered to a collateral holder of a holder. There will
never be a subholder on the receipt except for when it is shipped.
3-1
Acknowledgments generated from a Batch Type 03, when the warehouse remains the holder are:

The warehouse receives a Holder acknowledgment for the Maintain Receipts batch.
Acknowledgments generated by a Batch Type 03, when the Disposition field is entered, are:





The warehouse receives a Holder acknowledgment
A Disposition Holder (if entered) will receive a Holder acknowledgment
The Disposition Holder will receive a detailed data download
If the Disposition Holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81)
Acknowledgments generated by a successful Batch Type 03, when the Disposition field is empty and the
warehouse is NOT the Current Holder, are:
 The warehouse receives a Holder acknowledgment
 If there is a Current Holder and no Subholder, then Current Holder receives Holder
acknowledgment and detailed data download.
 If there is a subholder, then the subholder Holder receives Holder acknowledgment and detailed
data download.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type to maintain receipts on the provider system.
3-2
Inbound File Layout
BATCH 03 HEADER LAYOUT
Record Size = 120
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
H = Header Record
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
Holder ID of warehouse
maintaining receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
change by the user
Sequential number assigned for
each batch. Cannot be duplicated
within the same day
03=Maintain Receipts
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
AN
6
43-48
Yes
10
Action Code
A
1
49
11
Activity
AN
10
50-59
12
Filler
A
61
60-120
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues the
receipts
U=updating Locator ID, entered by
Warehouse. Can be blank, but
should be “U” if warehouse is only
updating the Locator ID.
This information will appear on
the acknowledgment
Reserved for EWR, Inc. use
3-3
BATCH DETAIL - RECORD 1
Field
Field Name
1
Record Type
2
Electronic Receipt
Number
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
Yes
3
4
Record Number
Receipt Type
N
A
1
1
9
10
5
Issue Date
N
8
11-18
6
Tare Weight
N
2
19-20
7
Net Weight
N
3
21-23
8
Gin Code
N
5
24-28
9
10
Gin Tag
Bagging Type
N
A
7
1
29-35
36
11
Ties
A
1
37
12
13
Bagging Condition
Compression
A
N
1
1
38
39
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
1=First record of receipt
R=Regular; E=Non-Negotiable
Single Bale Receipt
Date entered into the data field by
the warehouse, not assigned by
EWR. Storage date of the baleMMDDYYYY
Represents the number of pounds
subtracted from the gross weight
to compensate for bagging and
ties on the bale
Gross weight of bale minus tare
weight. User enters appropriate
amount
USDA assigned code which
identifies the site where the
cotton was ginned
*Note: must have data in either
fields 8 & 9 OR fields 21 & 22
Tag number assigned by the gin
See Appendix I – Bagging and Tie
Codes for recommendations
See Appendix I – Bagging and Tie
Codes for recommendations
Compression code, valid entries
are 1-7
1 = Flat
2 = Modified Flat
3 = Standard Density
4 = Gin Standard
5 = Gin Universal Density
6 = Warehouse Universal Density
7 = Gin Universal Density
3-4
14
Receiving Charge
N
4
40-43
15
Storage Charge
N
4
44-47
16
Storage Charge
Frequency
A
1
48
17
18
19
20
21
Receiving Paid
Loading Paid
Classing Paid
Compression Paid
Reconcentrated
A
A
A
A
A
1
1
1
1
1
49
50
51
52
53
22
Previous
Warehouse Code
N
6
54-59
23
Previous Receipt
Number
N
7
60-66
24
Storage Paid
Through
N
8
67-74
25
26
27
State Code
County Code
Farm Number
N
N
N
2
3
5
75-76
77-79
80-84
28
Grower Reference
Number
Grower ID
Disposition Holder
ID
N
11
85-95
AN
AN
9
7
96-104
105111
29
30
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99
9999 (2 decimal); Warehouse
defined charge, for example 0250
= $2.50
- 99V99. If storage charge
frequency is Daily, the entry will
display as cents/day e.g. 0950 =
9.50 cents per day
Frequency at which storage
charges are assessed: W=Weekly,
M=Monthly, D=Daily
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=Paid, N=Not Paid
Y=reconcentrated bale, N=not
reconcentrated
Code of previous warehouse.
Entered only if the bale is
reconcentrated
Warehouse receipt number from
previous warehouse, entered for
reconcentrated cotton only
Storage Paid through date:
MMDDYYYY - Last date that
storage charges against the bale
were paid to the warehouse
USDA assigned State Code
USDA assigned County Code
Farm Serial Number used for
identifying specific areas of
production
Optional information
Holder ID to which receipts will be
transferred to upon batch
processing. If a disposition Holder
ID is entered, there cannot be
paper receipt number entry in the
record (see next field).
3-5
31
Paper Receipt
Number
N
7
112118
32
Filler
A
2
119120
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
2=Second record of the electronic
receipt detail
The name of the producer, gin or
even Bearer
BATCH DETAIL - RECORD 2
Field Field Name
1
Record Type
Entered if a maintained receipt is
to be coverted immediately to
paper. The entry is the warehouse
assigned paper receipt number.
Reserved for EWR, Inc. use
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
4
Received From
A
30
10-39
5
Filler
A
2
40-41
Reserved for EWR, Inc. use
6
Locator ID
AN
8
42-49
7
Crop Year
N
4
50-53
8
Producer Name
AN
34
54-87
9
Filler
A
1
88
Exact location of bale within a
warehouse. See Note in batch
description for the batch type for
further explanation.
Crop year in which the cotton was
grown; YYYY
Name of producer for CCC loan
purposes
Reserved for EWR, Inc. use
10
Gin Charges
N
4
89-92
11
User Defined Field
AN
12
93-104
12
Warehouse is
Depositor
A
1
105
Yes
Yes
Optional information that can
updated by the current holder
Required by USDA to identify if
the warehouse and producer are
the same entity. N=warehouse &
producer are not same entity.
Y=ware & producer are same
entity.
3-6
13
Graded/Depositor
A
1
106
14
Color Grade
N
2
107108
15
Micronaire
N
2
16
Extraneous Matter
N
2
109110
111112
17
Strength
N
4
113116
18
Leaf Grade
N
1
117
19
Length
N
3
118120
Yes
Required by USDA to identify if
the bale is to be graded at the
request of the depositor. N=not
graded at request of depositor.
Y=Graded at the request of the
depositor.
Required if field Graded
Depositor=Y; AMS assigned color
grade
Required if field Graded
Depositor=Y; AMS assigned.
Required if field Graded
Depositor=Y; spaces are valid;
AMS assigned.
Required if Field Graded
Depositor=Y; AMS assigned. The
strength of the fiber measured in
grams/tex. Entered as 99.9. The
third character displays as a
decimal.
Required if field Graded
Depositor=Y
Required if field Graded
Depositor=Y
BATCH TRAILER
See Appendix A – Common Batch Trailer
3-7
- Maintain Certificated Receipts
To legally change certificated receipt data stored on the host computer, a warehouseman must use a
Batch Type 04. The warehouse can change all the data fields listed, (excluding Gin Code, Gin Tag, and
Crop Year) if it is the Current Holder. If it is not the Current Holder, then only the following field can be
changed: Locator ID. It may also be able to change the net weight, if the gin is Current Holder and there
is a signed agreement on file. This is the only means by which all the required data can be changed, and
then the warehouse must be the Current Holder of the electronic receipt. Additionally, only the
warehouse that created the receipt can change the information through a batch type 04. This batch also
provides the ability to modify, change, or delete optional receipt data at the same time required
information is edited. To change any data, the current receipt status must be open and not canceled. If
trailer records are used, then RECORD COUNT must be correct.
This batch type is not used to “Decertificate” a receipt; that is done using batch type 62.
To create a Batch Type 04 and change an electronic receipt, the warehouse must identify three (3) key
fields:
 RECEIPT NUMBER
 WAREHOUSE CODE
 CROP YEAR
These key fields cannot be changed under any circumstance, and they are used only to identify which
receipts in the host computer to change. After a receipt is identified, only the fields to be changed
should be edited. For example, if the net weight was correctly entered when the receipt was issued, no
entry in this field of the Batch Type 04 is required. Also certain fields can be cleared (filled with spaces),
if a single asterisk (“*”) is placed in the field.
If any of the key fields identified above are incorrect and require change, then the electronic receipt
must be canceled and a new receipt issued.
The field LOCATOR ID is used to indicate the exact location of a bale within a warehouse. National
Cotton Council recommends that the 8-character field be subdivided in the following manner:



The 1st group of 3 characters represents whatever is most important to the warehouse in
locating the bale – probably shed or building.
The 2nd group of 3 characters represents the next most important thing to the warehouse in
locating the bale – probably the row.
The final 2 characters represent the least important thing to the warehouse in locating the bale
– probably the section/level.
4-1
Smith-Doxey Classing
Beginning in January 2014, the warehouse will have the ability to designate a cert receipt as having
Smith-Doxey classing. There will be a new field added at the end of the 3rd Detail record. It will be field
number 27. If the bale is classed using Smith-Doxey classing, it should contain “SD”, otherwise it should
be blank. If field 27 contains “SD”, then field 21 (Tenderable) should be empty or blank. If the
Tenderable field is set to “NT” and the Smith-Doxey field is set to “SD”, the receipt will be rejected.
World Cotton Changes – 2015
Beginning in the Fall of 2015 the 04 batch process will be updated for the provider system to determine
(validate) if a #2 certificated receipt is eligible for the world cotton contract as defined by ICE. This
validation will be based on the classing data provided by the warehouse when sending this batch type to
the provider system.
Also a new field will be added to the inbound layout for designating the delivery point. This is an
optional field. See Appendix E – Delivery Points for correct values.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type to maintain receipts on the provider system.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Acknowledgments generated from a Batch Type 04, when the warehouse remains the
Holder are:

The warehouse receives a Holder acknowledgment for the Maintain Cert Receipt batch
Acknowledgments generated by a successful Batch Type 04, when a Disposition field is entered, are:




The warehouse receives a Holder acknowledgment.
The Disposition Holder (if entered) will receive a Holder acknowledgment.
The Disposition Holder will receive a detailed data download.
If the Disposition Holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81).
4-2
Acknowledgments produced by a successful Batch Type 04, when the Disposition field is empty and the
warehouse is NOT the Current Holder, are:




The warehouse receives a Holder acknowledgment.
If CCC is Current Holder. They will receive a Holder acknowledgment and no detail.
If there is a Current Holder and no subholder, then Current Holder receives Holder
acknowledgment and detailed data download.
If there is a subholder, then the subholder Holder receives Holder acknowledgment and detailed
data download.
If any errors are found in the batch, an error message is given and the batch will continue to process.
4-3
Inbound File Layout
BATCH 04 HEADER LAYOUT
Record Size = 120
Field
1
Field Name
Record Type
Type Size
A
1
Pos
1
Req
Yes
Description
H = Header Record
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
AN
6
43-48
Yes
10
Action Code
A
1
49
11
Activity
AN
10
50-59
12
Filler
A
61
60-120
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
change by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
04=Maintain Certificated
Receipts
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
U=updating Locator ID. Entered
by Warehouse. Can be blank, but
should be “U” if warehouse is
only updating the Locator ID.
This information will appear on
the acknowledgment
Reserved for EWR, Inc. use
BATCH DETAIL - RECORD 1
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
1=First record of receipt
4
Receipt Type
A
1
10
C=Certified, D=Decertificated
4-4
5
Issue Date
N
8
11-18
6
Tare Weight
N
2
19-20
7
Net Weight
N
3
21-23
8
Gin Code
N
5
24-28
9
Gin Tag
N
7
29-35
10
Bagging/Ties codes
A
2
36-37
11
Bagging Condition
A
1
38
12
Compression
N
1
39
13
Receiving Charge
N
4
40-43
14
Storage Charge
N
4
44-47
15
Storage Charge
Frequency
A
1
48
16
Receiving Paid
A
1
49
Date entered into the data field
by the warehouse, not assigned
by EWR. Storage date of the
bale- MMDDYYYY
Represents the number of
pounds subtracted from the
gross weight to compensate for
bagging and ties on the bale
Gross weight of bale minus tare
weight. User enters appropriate
amount
This field cannot be changed. It
can be blank or match the
current gin code on the EWR
Receipt Record
This field cannot be changed. It
can be blank or match the
current gin bale tag on the EWR
Receipt Record
See Appendix I. Bagging in
position 36 and Ties in 37
Bag condition - User Defined
Examples are:
A = Bale is completely covered.
B = Bale may have minor tears
and an exposed
sample opening
C = Exposed cotton in addition to
sample opening
See Appendix H
9999 (2 decimal); Warehouse
defined charge,
example 0250 = $2.50 - 99V99
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99. If Storage Charge
Frequency is Daily, the entry will
display as cents/day, e.g. 0950 =
9.50 cents per day
Frequency at which storage
charges are assessed: W=Weekly,
M=Monthly, D=Daily
Y=Paid, N=Not Paid
4-5
17
Loading Paid
A
1
50
Y=Paid, N=Not Paid
18
Classing Paid
A
1
51
Y=Paid, N=Not Paid
19
Compression Paid
A
1
52
Y=Paid, N=Not Paid
20
Reconcentrated
A
1
53
21
Previous
Warehouse Code
N
6
54-59
22
Previous Receipt
Number
N
7
60-66
23
Storage Paid
Through
N
8
67-74
24
State Code
N
2
75-76
Y=reconcentrated bale, N=not
reconcentrated, and previous
Warehouse Code and previous
Receipt Number are cleared
Code of previous warehouse.
Entered only if the bale is
reconcentrated
Warehouse receipt number from
previous warehouse, entered for
reconcentrated cotton only
Storage paid through date;
MMDDYYYY. Last date that
storage charges against the bale
were paid to the warehouse
USDA assigned State Code
25
County Code
N
3
77-79
USDA assigned County Code
26
Farm Number
N
5
80-84
27
Grower Reference
Number
Grower ID
N
11
85-95
Farm Serial Number used for
identifying specific areas of
production
Optional information
AN
9
29
Disposition Holder
ID
AN
7
96104
105111
30
Filler
N
7
31
Filler
A
2
Type
A
Size
1
28
BATCH DETAIL - RECORD 2
Field
Field Name
1
Record Type
Optional information
Holder ID to which receipts will
be transferred to after the
maintain batch processes. If a
disposition Holder ID is entered,
there cannot be paper receipt
number entry in the record (see
next field)..
Reserved for EWR, Inc. use
112118
119120
Pos
1
Reserved for EWR, Inc. use
Req
Yes
Description
D=Detail Record
4-6
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
4
Received From
A
30
10-39
5
6
Filler
Location ID
A
AN
2
8
40-41
42-49
7
Crop Year
N
4
50-53
8
Producer Name
AN
34
54-87
9
10
11
Filler
Gin Charges
User Defined Field
A
N
AN
1
4
12
12
Warehouse is
Depositor
A
1
88
89-92
93104
105
13
Graded/Depositor
A
1
106
14
Color Grade
N
2
15
Micronaire
N
2
16
Extraneous Matter
N
2
17
Strength
N
4
18
19
Leaf Grade
Length
N
N
1
3
107108
109110
111112
113116
117
118120
Yes
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
2-Second record of the electronic
receipt detail
The name of the producer, gin, or
Bearer.
Reserved for EWR, Inc. use
Exact location of bale within a
warehouse. See Note in batch
description for the batch type for
further explanation.
Crop year in which the cotton
was grown; YYYY
Name of producer for CCC loan
purposes
Reserved for EWR, Inc. use
Optional information that can
updated by the current holder
Required by USDA to identify if
the warehouse and producer are
the same entity. N=Warehouse
& producer are not same entity
Y=Ware & producer are same
entity
Required by USDA to identify if
the bale is to be graded at the
request of the depositor. For
CERT bales the entry is always N.
N=NOT graded at request of
depositor
For Cert receipts always blank
For Cert receipts always blank
For Cert receipts always blank
For Cert receipts always blank
For Cert receipts always blank
For Cert receipts always blank
4-7
BATCH DETAIL - RECORD 3
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
4
Lot Number
N
5
10-14
Electronic receipt number of the
bale, this entry must be the same
as in detail records
1&2
03=Third record of electronic
receipt
Lot number assigned by NYCE
5
Color Grade
N
2
15-16
AMS assigned color grade
6
Staple
N
2
17-18
AMS assigned.
7
Micronaire
N
2
19-20
AMS assigned.
8
Extraneous Matter
AN
2
21-22
AMS assigned.
9
Remarks
AN
2
23-24
AMS assigned.
10
Strength
AN
4
25-28
11
HVI Color
N
2
29-30
AMS assigned. The strength of
the fiber measured in grams/tex.
Entered as 99.9. Third character
always displays as a decimal.
AMS assigned
12
Color Quadrant
N
1
31
AMS assigned.
13
Delivery Point ID
N
2
32-33
14
HVI +B
N
3
34-36
Optional – See Appendix E –
Delivery Points
AMS assigned.
15
Leaf Grade
N
1
37
AMS assigned.
16
Trash %
N
2
38-39
AMS assigned
17
Length
N
3
40-42
AMS assigned.
18
Filler
A
2
43-44
Reserved for EWR, Inc. use
19
Class Date
N
8
45-52
20
Weigh Date
N
8
53-60
21
Tenderable
A
2
61-62
AMS assigned. Classing date
MMDDYYYY
Warehouse assigned.
MMDDYYYY
Warehouse assigned. Based on
the AMS grades and the
specifications of ICE Futures.
Blanks=Tenderable; meets the
specs. NT=not Tenderable, does
not meet specs.
4-8
22
Rain Grown
A
1
63
R=rain grown; N=non rain
23
HVI RD
N
3
64-66
AMS assigned.
24
Uniformity
AN
3
67-69
AMS assigned.
25
Record Type
A
1
70
AMS assigned.
26
Record Status
A
1
71
AMS assigned.
27
Smith-Doxey Class
A
2
72-73
28
Filler
A
47
74120
“SD” means this bale was classed
using Smith-Doxey data. Blank
means that is using “traditional”
certificated classing. If “SD” is in
this field, then field 21 should be
blank.
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
4-9
- Convert Electronic Receipts to Paper
A Batch Type 05 is used by the warehouse (which issued the receipt) to convert electronic receipts
previously stored in the host computer to paper receipts. This will de-activate the electronic receipt and
update the database with the assigned paper receipt number. In the deactivated state, no movement or
editing of the electronic receipt can occur. The information for the electronic receipt remains in the
database. The receipt will stay de-activated until it is converted back to electronic or canceled by the
warehouse. EWR will not prevent users from issuing the same paper receipt number again. This will
allow warehouses to correct an electronic error in the host computer without canceling the paper
receipt and issuing another receipt number. It is the responsibility of the warehouse to insure that
paper receipt numbers assigned to electronic numbers adhere to the rules and regulations of the
warehouse’s licensing authority.
When converting any receipt, the warehouse must be the Current Holder of the receipt. The Current
Holder is required to send a valid batch file as defined in the Layout section of this document.
The receipt record will be changed to paper.
Certificated and world receipts will not be allowed to be converted to paper.
Acknowledgments generated by a Batch Type 05 are:


The warehouse receives a Holder acknowledgment
If any error occurs in the batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type on the provider system.
5-1
Inbound File Layout
BATCH 05 HEADER LAYOUT
Field Field Name
1
Record Type
2
Holder ID
Record Size = 120
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
Description
H=Header Record
Holder ID of warehouse creating
the batch, must also be the
holder of the electronic receipt
User ID of person creating
batch, unique for each user of
the EWR system
Password for the User
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
6
Batch Number
Batch Type
N
N
4
2
23-26
27-28
Yes
Yes
7
Batch Date
N
8
29-36
Yes
8
9
Batch Time
Warehouse Code
N
N
6
6
37-42
43-48
Yes
Yes
10
Block Receipts
A
1
49
11
Filler
A
71
50-120
Time of batch; HHMMSS
Warehouse code which issues
the receipts
Y=If batch contains Block
Receipts
Blank = Regular Receipts
Reserved for EWR, Inc. use
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
N
7
9-15
Yes
4
Paper Receipt
Number
Crop Year
N
4
16-19
Yes
5
Filler
A
101
20-120
Description
D=Detail Record
Electronic receipt number for
the individual bale. Will be the
same as the warehouse tag
number
Paper receipt number assigned
by the warehouse
Crop year in which the cotton
was grown; YYYY
Reserved for EWR, Inc. use
BATCH DETAIL
Field Field Name
1
Record Type
2
Electronic Receipt
Number
3
Batch number assigned
05=Convert electronic receipts
to paper
Date of batch; MMDDYYYY
BATCH TRAILER
See Appendix A – Common Batch Trailer
5-2
- Convert Paper Receipts to Electronic
A Batch Type 06 is used to convert receipts from paper to electronic. This will reactivate a previously
deactivated electronic record for the receipt.
Once converted from paper to electronic, the paper receipt number remains in the host computer. If
the electronic receipt is again converted to paper, the new paper receipt number will overwrite the
previous data in that field.
To successfully complete a Batch Type 06, the warehouse converting the receipt from paper to
electronic must be the same warehouse that created the receipt and the Current Holder of the receipt.
To process, the batch must contain the electronic number and the assigned paper receipt number, in
addition to the other required information as defined in the Layout section in this document. If trailer
records are used, then RECORD COUNT must be correct.
The TYPE of the receipt record will be changed to electronic.
A successful Batch Type 06 generates the following acknowledgments:

The warehouse receives a Holder acknowledgment for the batch
The warehouse has the option to enter a Disposition Holder ID to effect a change of holdership upon
conversion from paper to electronic.
The acknowledgments generated when a Disposition Holder is designated are:
 The Disposition Holder will receive a Holder acknowledgment
 The Disposition Holder will receive a “delivery” or download of all detail data for the receipts
they now hold.
 The warehouse receives a Holder acknowledgment for the batch.
 If the Disposition Holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81).
If any error occurs in the batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type on the provider system.
6-1
Inbound File Layout
BATCH 06 HEADER LAYOUT
Field
Field Name
1
Record Type
Type
A
Size
1
Pos
1
Req
Yes
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Block Receipts
A
1
49
11
Filler
A
71
50120
Record Size= 120
Description
H=Header Record
Holder ID of warehouse creating
the batch, must also be the
holder of the electronic receipt
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
changed by the user
Batch number assigned, cannot
be duplicated within the same
day
06=Convert paper receipts to
electronic
Date batch is created/updated
MMDDYYYY
Time batch is created/updated
HHMMSS
Warehouse code which issues
the receipts
Y=If batch contains Block
Receipts
Blank=Regular Receipts
Reserved for EWR, Inc. use
6-2
BATCH DETAIL
Field Field Name
1
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Electronic Receipt
Number
N
7
2-8
Yes
Electronic Receipt Number
originally assigned
3
Paper Receipt
Number
N
7
9-15
Yes
Paper receipt number assigned
when converted to paper
4
Crop Year
N
4
16-19
Yes
5
Disposition Holder
ID
AN
7
20-26
6
Filler
A
94
27120
Crop year in which the cotton
was grown ; assigned when the
electronic receipt was first issued
YYYY
Holder ID that the receipt will be
transferred to after reactivating
the electronic receipt
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
6-3
- Cancel Receipts by Receipt Number
A Batch Type 07 is used by a warehouse to update electronic receipts or IEWRs as cancelled.
When canceling any receipt, the warehouse must be the Current Holder of the receipt and the original
issuer of the receipt. The Current Holder (warehouse) is required to send a valid batch file as in the
layout section of this document. Deactivated paper electronic receipts may also be canceled with a
Batch Type 07. If the receipts are currently deactivated, the paper receipt number does not need to be
entered into the batch. The host will cancel the record by the electronic receipt number only. Upon a
successfully cancellation, the host will schedule the receipt to be removed from the Receipt Master file
at a later date.
To successfully complete a Batch Type 07, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct. Deactivated (Paper) electronic receipts may also be canceled with this batch.
Unlike electronic receipts, paper (deactivated) receipts cannot be canceled using Batch Type 11 (Cancel
Receipts by Shipping Order Number). If a bale of cotton is shipped from a paper receipt that Shipping
Order Number is not in the EWR Host system. Therefore, all active paper receipts should be canceled
using Batch Type 07. The status of the receipt record will be changed to cancelled.
Single world container IEWRs (Type “T”) that are part of a container will not be allowed to be cancelled
using this batch type. Batch type 36 should be used to cancel container IEWRs that have a EWR
container ID.
Upon processing, the following acknowledgments are generated:
 The warehouse will receive a holder acknowledgment.
 If requested, a delivery file will be sent to the Current Subholder, or in the case CCC is the Current
Subholder, then the Previous Subholder will receive the file.
If any errors are found in the batch, an error message is given and the batch will continue to process.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
7-1
Inbound File Layout
BATCH 07 HEADER LAYOUT
Field
Field Name
1
Record Type
Type
A
Size
1
Pos
1
Req
Yes
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Block Receipts
A
1
49
11
Activity
AN
10
50-59
12
Filler
A
61
60-120
Record Size = 120
Description
H=Header Record
Holder ID of warehouse
creating the batch, must
also be the holder of the
electronic receipt
User ID of person creating
batch, unique for each
user of the EWR system
Password for the User,
can be changed by the
user
Batch number assigned,
cannot be duplicated
within the same day
07=Cancel Receipts
Date batch is
created/updated
MMDDYYYY
Time batch is
created/updated
HHMMSS
Warehouse code which
issues the receipts
Y=If batch contains Block
Receipts
Blank=Regular Receipts
This information appears
on the acknowledgement
Reserved for EWR, Inc.
use
7-2
BATCH DETAIL
Field
Field Name
1
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
Electronic receipt number which
is to be canceled. If the receipt is
converted to paper, the
electronic record will cancel
Crop year assigned when issued
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Crop Year
N
4
9-12
Yes
4
Mark
A
8
13-20
Shippers Mark (Note 3 & 4)
5
Order Number
A
10
21-30
6
Container
AN
25
31-55
7
Seal
AN
25
56-80
Shippers Order Number(Note 3 &
4)
Container Number for Receipt
(Note 3 & 4)
Seal (Note 3 & 4)
8
N
8
81-88
MMDDYYYY (Note 1_
N
8
89-96
MMDDYYYY (Note 1)
10
Requested Load
Date
Confirmed Ready
Date
Actual Load Date
N
8
97-104
Optional (Note 1 & 4)
11
Truck Arrival Date
A
8
MMDDYYYY (Note 1)
12
Truck Arrival Time
A
6
13
Filler
A
2
105112
113118
119120
9
HHMMSS (Military Time)
Note 2
Reserved for EWR, Inc. use
Notes:




Dates can be empty or blank, otherwise they must be a valid date. (All zeros is not considered a
valid date).
The time must be in HHMMSS format and 6 digits long or it can be blank. (All zeros is not
considered a valid time).
If the Seal or Container numbers are entered, then there must be data in the Mark or Order
Number fields.
For Shipment Load Date to properly update, the mark or order number must be filled and the
container or seal number must be filled. If date is entered, then it is sent to the current
subholder in a delivery file.
BATCH TRAILER
See Appendix A – Common Batch Trailer
7-3
- Uncancel Receipts by Receipt Number
A Batch Type 08 is used to uncancel a canceled receipt. To uncancel the receipts, the warehouse which
issued the receipt and who is the holder, must identify the receipts to uncancel by sending a valid batch
file as defined in the Layout section of this document.
Upon uncancellation, the warehouse can elect to have holdership of the receipt immediately changed to
another holder, but it can only be the subholder. To effect the change, the warehouse must enter a
Disposition Holder ID into that field.
A world receipt that was part of a container group (has EWR Container ID) will not be allowed to be
individually uncancelled. See Batch type 39 to uncancel the entire container lot.
If the warehouse is non-federally licensed then the following acknowledgements are created:
Acknowledgments for the Batch Type 08 are:
 Warehouse receives a Holder acknowledgment
 if a disposition holder was entered on the initial upload then they receive:
o A Holder acknowledgment
o A download of the receipt detail for all records in the batch
New as of 11/2010, if the warehouse is federally licensed, then the uncancel batch will not finish
processing until USDA has approved the uncancel via the website. The following acknowledgements are
created:
Acknowledgments for the Batch Type 08 are: (Initial batch is sent to EWR)
 Warehouse receives a Holder acknowledgment with the Action Code as “P” for pending.
USDA takes action on the request:
 If approved :
o Warehouse receives a Holder acknowledgment with the Action Code empty
o The receipt is changed to open
o if a disposition holder was entered on the initial upload then they receive:
 A Holder acknowledgment
 A download of the receipt detail for all records in the batch
 If rejected:
o Warehouse receives a Holder acknowledgment with the Action Code as “T” for rejected
and the receipts are still cancelled.
If any errors are found in the batch, an error message will be given and the batch will continue to
process.
8-1
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Inbound File Layout
BATCH 08 HEADER LAYOUT
Field
Field Name
1
Record Type
2
Holder ID
Record Size = 120
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
3
User ID
AN
6
9-14
Yes
Description
H=Header Record
Holder ID of warehouse creating
the batch, must also be the
holder of the electronic receipt
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
Password for the User
5
Batch Number
N
4
23-26
Yes
Holder assigned number
6
7
8
9
Batch Type
Batch Date
Batch Time
Warehouse Code
N
N
N
N
2
8
6
6
27-28
29-36
37-42
43-48
Yes
Yes
Yes
Yes
10
Block Receipts
A
1
49
11
Filler
A
71
50-120
08=Uncancel Canceled Receipts
Date of batch; MMDDYYYY
Time of batch; HHMMSS
Warehouse code which issues
the receipts
Y=If Batch Contains Block
Receipts
Blank=Regular Receipts
Reserved for EWR, Inc. use
BATCH DETAIL
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Electronic Receipt
Number
Crop Year
N
7
2-8
Yes
N
4
9-12
Yes
Electronic receipt number which
is to be uncanceled
Crop year originally assigned.
4
Disposition Holder
ID
AN
7
13-19
5
Filler
A
101
20-120
3
Holder ID who is to become
holder after the receipt is
uncanceled
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
8-2
- Issue Non-Negotiable Block Receipts
Batch Type 09 is used by the warehouse to create and issue new non-negotiable electronic warehouse
block receipts. The receipts being issued cannot already be on the EWR system, that is, electronic
receipt numbers cannot be duplicated. Since only warehouses may issue receipts, they are always
considered the first holder. When successfully issued, the electronic receipt status is “active” and
“open.” This batch type allows the warehouse to enter both required and optional receipt information.
Warehouses may, at the time of issue, designate a new holder for the electronic receipt. This entity is
referred to as the “Disposition Holder.” If this designation is made, then immediately upon storing the
record in the host computer the Current Holder field is changed from the issuing warehouse to the
Holder ID of the Disposition Holder (e.g. M987654)
Batch 09 allows an electronic receipt to be immediately voided. Voiding simply renders the electronic
receipt number unusable. A legal receipt is never issued when the Void designation is made. Once a
receipt is voided, it cannot be changed or “un-voided.” EWR, Inc. is required to send a weekly report to
USDA-FSA listing voided receipt numbers by warehouse.
A non-negotiable electronic receipt (block or individual bale) can only have its holdership change
between the warehouse and one other holder (USDA Requirements.) Unlike negotiable receipts which
can have many different holders during its existence, a non-negotiable receipt can only have two
holders during its “life.” For example, if a warehouse issues a non-negotiable receipt and changes the
holder to Merchant A, then the only entity to whom Merchant A can transfer holdership is the issuing
warehouse.
To successfully complete a Batch Type 09, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
9-1
Acknowledgments are affected somewhat by a voided receipt. Users can expect to see:

The warehouse will receive a Holder acknowledgment for the number of actual receipts issued,
not including any voided receipts. Voided receipts do not appear in the totals.

If any errors are found in the batch, an error message is given and the batch will continue to
process.
Acknowledgments produced by a Batch Type 09 are:

If the warehouse remains the holder, they will receive a Holder Acknowledgment

If the warehouse designates a new holder for the receipt (Disposition Holder):
o The Disposition Holder will receive a “delivery” or download of all detail data for each of
the receipts they now hold.
o The Disposition Holder will receive a holder acknowledgment showing who sent the
receipts to them.
o The warehouse will receive both a Holder acknowledgment for issuing the receipts and
a Holder acknowledgment for changing holdership to the Disposition Holder.
o If the disposition holder ID is collateralized and the disposition holder has informed EWR
that the collateral holder is to hold the block receipt, then both the merchant and bank
will receive an acknowledgment (Type 81)
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type on the provider system.
9-2
Inbound File Layout
BATCH 09 HEADER LAYOUT
Field
Field Name
1
Record Type
Record Size = 120
Type
A
Size
1
Pos
1
Req
Yes
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
changed by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
09=Issue New Block Receipt
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
72
49-120
BATCH DETAIL - Record 1
Field
Field Name
Type
Size
1
2
Record Type
Receipt Number
A
N
1
7
3
Record Number
N
4
5
Detail Type
Crop Year
6
Pos
Req
Description
1
2-8
Yes
Yes
1
9
Yes
D=Detail Record
Electronic receipt number for the
Block Receipt
1
A
N
1
4
10
11-14
Yes
Yes
Issue Date
N
8
15-22
Yes
7
Total Bales
N
5
23-27
Yes
8
Mark
AN
8
28-35
R = Regular Block
Crop year in which the cotton
was grown; YYYY
Date entered into the data field
by the warehouse, not assigned
by EWR Storage date of the bale –
MMDDYYYY
Number of bales in block
Mark assigned by shipper
9-3
9
Lot ID
AN
12
36-47
Yes
10
11
Total Net Weight
Total Tare Weight
N
N
6
4
48-53
54-57
Yes
Yes
Lot identifier from the depositor.
Often equivalent to the Mark
Total net weight of bales in block
Total tare weight of bales in block
12
Negotiable Flag
A
1
58
Yes
O=Non-Negotiable
13
Warehouse is
Depositor
A
1
59
Yes
14
Graded/Depositor
A
1
60
Yes
15
Receiving Charge
N
4
61-64
16
Storage Charge
N
4
65-68
17
Storage Charge
Frequency
A
1
69
18
Receiving Paid
A
1
70
Required by USDA to identify if
the warehouse and producer are
the same entity. N=warehouse &
producer are not same entity.
Y=warehouse & producer are
same entity.
Required by USDA to identify if
the bale is to be graded at the
request of the depositor. N=NOT
graded at request of depositor.
Y-Graded at the request of the
depositor
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99 - Charge is per
bale
9999 (2 decimal); Warehouse
defined charge, for example
0250=$2.50 - 99V99. If storage
charge frequency is Daily, the
entry will display as cents/day
e.g. 0950 = 9.50 cents per day charge is per bale
Frequency at which storage
charges are assessed; W=Weekly,
M=Monthly, D=Daily
Y=Paid N=Not Paid
19
Loading Paid
A
1
71
Y=Paid N=Not Paid
20
Classing Paid
A
1
72
Y=Paid N=Not Paid
21
Storage Paid
Through
N
8
73-80
Storage paid through date;
MMDDYYYY
Last date that storage charges
against the bale were paid
9-4
22
Disposition Holder
ID
AN
7
81-87
23
Paper Receipt Num
N
7
88-94
24
Filler
A
26
95-120
Type
A
N
N
A
AN
Size
1
7
1
1
30
Pos
1
2-8
9
10
11-40
BATCH DETAIL - Record 2
Field
Field Name
1
Record Type
2
Receipt Number
3
Record Number
4
Detail Type
5
Received From
6
7
Filler
Locator ID
A
AN
2
8
41-42
43-50
8
User Defined
AN
12
51-62
9
10
Control Number
Filler
AN
A
10
48
63-72
73-20
Holder ID to which receipts will
be transferred upon issuance. If
disposition Holder is present,
cannot have a paper receipt
number
Paper receipt number that this
receipt was converted from
Reserved for EWR, Inc. use
Req
Yes
Yes
Yes
Yes
Description
D=Detail Record
For the Block receipt
2
R=Regular Block
30-character field used to enter
applicable bale information, e.g.,
the name of the producer, gin or
even Bearer
Reserved for EWR, Inc. use
Field available to allow a
warehouse to specify the location
of a bale within the plant.
Sometimes called a Bin ID.
Optional information that can
updated by the current holder
Yes
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
9-5
– Issue Negotiable Block Receipts
Batch Type10 is used by the warehouse to create and issue a new electronic block negotiable
warehouse receipt. The receipt being issued cannot already be on the active receipt master file or the
canceled receipt file. This batch type allows the warehouse to enter both required and optional receipt
information. Since only warehouses may issue receipts, they are always considered the first holder.
When successfully issued, the electronic receipt status is “active” and “open.”
To successfully complete a Batch Type 10, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
Warehouses may, at the time of issue, designate a new holder for the electronic receipt. This entity is
referred to as the “Disposition Holder.” If this designation is made, then immediately upon storing the
record in the host computer the Current Holder field is changed from the issuing warehouse to the
Holder ID of the Disposition Holder (e.g. M987654)
Batch 10 allows an electronic receipt to be immediately voided. Voiding simply renders the electronic
receipt number unusable. A legal receipt is never issued when the Void designation is made. Once a
receipt is voided, it cannot be changed or “un-voided.
10-1
Acknowledgments are affected somewhat by a voided receipt. Users can expect to see:
 The warehouse will receive a Holder acknowledgment for the number of actual receipts issued,
not including any voided receipts. Voided receipts do not appear in the totals.

If any errors are found in the batch, an error message is given and the batch will stop processing
and the entire batch will be rejected.
Acknowledgments produced by a Batch Type 10 are:
 If the warehouse remains the holder, they will receive a Holder Acknowledgment
 If the warehouse designates a new holder for the receipt (Disposition Holder):
o The warehouse will receive a Holder acknowledgment.
o The warehouse will receive another Holder acknowledgment for changing the
holdership to the Disposition Holder
o The Disposition Holder will receive a Holder acknowledgment
o The Disposition Holder will receive a detail download of the receipt
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type on the provider system.
10-2
Inbound File Layout
BATCH 10 HEADER LAYOUT
Field
Field Name
1
Record Type
Record Size = 120
Type
A
Size
1
Pos
1
Req
Yes
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
changed by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
10=Issue New Block Receipt
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
72
49-120
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
Electronic receipt number for the
Block Receipt
1
R = Regular Block
BATCH DETAIL - Record 1
Field
Field Name
1
Record Type
2
Receipt Number
N
7
2-8
Yes
3
4
Record Number
Detail Type
N
A
1
1
9
10
Yes
Yes
5
Crop Year
N
4
11-14
Yes
6
Issue Date
N
8
15-22
Yes
7
Total Bales
N
5
23-27
Yes
8
Mark
AN
8
28-35
Crop year in which the cotton
was grown; YYYY
Date entered into the data field
by the warehouse, not assigned
by EWR Storage date of the bale MMDDYYYY
Number of bales in block
Mark assigned by shipper
10-3
9
Lot ID
AN
12
36-47
Yes
10
11
Total Net Weight
Total Tare Weight
N
N
6
4
48-53
54-57
Yes
Yes
Lot identifier from the depositor.
Often equivalent to the Mark
Total net weight of bales in block
Total tare weight of bales in block
12
Negotiable Flag
A
1
58
Yes
G=Negotiable
13
Warehouse is
Depositor
A
1
59
Yes
14
Graded/Depositor
A
1
60
Yes
15
Receiving Charge
N
4
61-64
16
Storage Charge
N
4
65-68
17
Storage Charge
Frequency
A
1
69
18
Receiving Paid
A
1
70
Required by USDA to identify if
the
Warehouse and producer are the
same entity.
N=Warehouse & Producer are
not same entity.
Y=Warehouse & Producer are
same entity.
Required by USDA to identify if
the bale is to be graded at the
request of the depositor. N=NOT
graded at request of depositor.
Y-Graded at the request of the
depositor
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99 - Charge is per
bale
9999 (2 decimal); Warehouse
defined charge, for example
0250=$2.50 - 99V99. If storage
charge frequency is Daily, the
entry will display as cents/day
e.g. 0950 = 9.50 cents per day charge is per bale
Frequency at which storage
charges are assessed; W=Weekly,
M=Monthly, D=Daily
Y=Paid N=Not Paid
19
Loading Paid
A
1
71
Y=Paid N=Not Paid
20
21
Classing Paid
Storage Paid
Through
A
N
1
8
72
73-80
Y=Paid N=Not Paid
Storage paid through date;
MMDDYYYY
Last date that storage charges
against the bale were paid
10-4
22
Disposition Holder
ID
AN
7
81-87
23
Paper Receipt Num
N
7
88-94
24
Filler
A
26
95-120
Type
A
N
N
A
AN
Size
1
7
1
1
30
Pos
1
2-8
9
10
11-40
BATCH DETAIL - Record 2
Field
Field Name
1
Record Type
2
Receipt Number
3
Record Number
4
Detail Type
5
Received From
6
7
Filler
Locator ID
A
AN
2
8
41-42
43-50
8
User Defined
AN
12
51-62
9
10
Control Number
Filler
AN
A
10
48
63-72
73-20
Holder ID to which receipts will
be transferred upon issuance. If
disposition Holder is present,
cannot have a paper receipt
number
Paper receipt number that this
receipt was converted from
Reserved for EWR, Inc. use
Req
Yes
Yes
Yes
Yes
Description
D=Detail Record
For the Block receipt
2
R=Regular Block
The name of the producer, gin or
Bearer
Reserved for EWR, Inc. use
Field available to allow a
warehouse to specify the location
of a bale within the plant.
Sometimes called a Bin ID.
Optional information that can
updated by the current holder
Yes
Reserved for EWR, Inc. use
10-5
BATCH DETAIL - BALE DATA (Negotiable Block Receipt Only- Required)
Field
Field Name
Type Size Pos
Req Description
1
Record Type
A
1
1
Yes D=Detail Record
2
Tag ID
N
7
2-8
Yes The tag number that is assigned
by the warehouse to identify
each bale in the entire block
3
Record Number
N
1
9
Yes 3
4
Detail Type
A
1
10
Yes S=Single Bale detail within
negotiable receipt
5
Crop Year
N
4
11-14
Yes Crop year in which the cotton
was grown: YYYY
6
Net Weight
N
3
15-17
Yes Gross weight of bale minus tare
weight.
7
Tare Weight
N
2
18-19
Yes Represents the number pounds
subtracted from the gross weight
to compensate for bagging and
ties on the bale
8
Filler
7
20-26
Reserved for EWR, Inc. use
9
Gin Code
N
5
27-31
USDA assigned code which
identifies where the cotton was
ginned.
10
Gin Tag
N
7
32-38
Tag number assigned by gin
11
Filler
A
82
39-120
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
10-6
- Cancel Receipts by Shipping Order Number
Batch Type 11 is used by a warehouse that created electronic receipts to cancel all open receipts
associated with a particular shipping order number from a specific shipper. This batch type gives
warehouses the ability to cancel several receipts with only one detail data entry, i.e. Shipping Order
Number and Holder ID of the shipper (Subholder ID.).
When canceling any receipt, the warehouse must be the Current Holder of the receipt and the original
issuer of the receipt. The Current Holder (warehouse) is required to send a valid batch file as in the
Layout section of this document. Upon a successful cancellation, all receipts for a specific shipping order
will be canceled.
To successfully complete a Batch Type 11, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct. Deactivated (Paper) electronic receipts may also be canceled with a Batch Type
07.
Unlike electronic receipts, paper (deactivated) receipts cannot be canceled using Batch Type 11 (Cancel
Receipts by Shipping Order Number). If a bale of cotton is shipped from a paper receipt, the Shipping
Order Number is not in the EWR Host system. Therefore, all active paper receipts should be canceled
using Batch Type 07.
It is recommended to use Batch Type 07 for new container/seal.
Upon processing, the following acknowledgments are generated:
 The warehouse will receive a Holder acknowledgment
 If requested, a delivery file will be sent to the Current Subholder, or in the case CCC is the
Current Subholder, then the Previous Subholder will receive the file.
If any errors are found in the batch, an error message is given and the batch will continue to process.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
11-1
Inbound File Layout
BATCH 11 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
User ID
AN
6
9-14
Yes
H=Header
Holder ID of warehouse creating
the batch, must also be the
holder of the electronic receipt.
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
Password for the User
5
Batch Number
N
4
23-26
Yes
Batch number assigned
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Block Receipts
A
1
43
10
Filler
A
77
44-120
11=Cancel Receipts by Shipping
Order Number
Date batch is created/updated
MMDDYYYY
Time batch is created/updated
HHMMSS
Y=If batch contains Block
Receipts
Blank=Regular Receipts
Reserved for EWR, Inc. use
11-2
BATCH DETAIL
Field
Field Name
Type
Size
Pos
Req
Description
1
2
Record Type
Shipping Order
Number
A
AN
1
10
1
2-11
Yes
Yes
3
Subholder ID
AN
7
12-18
Yes
4
Mark
A
8
19-26
D=Detail Record
The Shipping Order Number
assigned by the merchant who
sent the receipts to the
warehouse
The Holder ID of the shipper
who sent the receipts to the
warehouse
Shippers Mark
5
Filler
A
4
27-30
Reserved for EWR, Inc. use
6
Container
A
25
31-55
7
Seal
A
25
56-80
Container Number for Receipt
(Note 3)
Seal (Note 3)
8
Requested Load Date
N
8
81-88
MMDDYYYY (Note 1)
9
N
8
89-96
MMDDYYYY (Note 1)
10
Confirmed Ready
Date
Actual Load Date
N
8
97-104
MMDDYYYY (Note 1 & 4)
11
Truck Arrival Date
N
8
105-112
Blank (Note 1)
12
Truck Arrival Time
N
6
113-118
Blank (Note 2)
BATCH TRAILER
See Appendix A – Common Batch Trailer
Notes




1. Dates can be empty or blank, otherwise they must be a valid date. (All zeros is not considered
a valid date).
2. The time must be in HHMMSS format and 6 digits long or it can be blank. (All zeros is not
considered a valid time).
3. If the Seal or Container numbers are entered, then there must be data in the Mark or Order
Number fields. This is NOT the same as EWR Container ID for world receipts.
4. For Shipment Load Date to properly update, the mark or order number must be filled and the
container or seal number must be filled.
11-3
Reserved
12-1
-Warehouse Bale Relocation
A Batch Type 13 is used by the issuing warehouse to relocate a bale within the warehouse. This batch is
also for signifying if the bale is currently stored outside or inside. The holder sending the file must be a
warehouse and the issuer of the electronic receipt. The warehouse does not have to be the holder or
subholder of the receipt.
In the past, this request was accomplished by sending an 03 or 04. This process is meant to replace that
procedure and should be used by the warehouse when relocating a bale.
Upon processing, the following acknowledgments are generated:
 The sending warehouse will receive an acknowledgment file listing any errors and total receipts
processed.
 The current holder or subholder will receive a detail file of Batch Type 13 informing them of the
location change.(Optional)

The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
13-1
Inbound File Layout
BATCH 13 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H=Header
Holder ID of warehouse
maintaining receipts
User ID of person creating batch
Password for the User
Sequential number assigned for
each batch.
13-Maintain Receipts
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
4
5
User ID
User Password
Batch Number
AN
AN
N
6
8
4
9-14
15-22
23-26
Yes
Yes
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
AN
6
43-48
Yes
10
Filler
A
72
49-120
Type
Size
Pos
Req
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number.
BATCH DETAIL
Field Field Name
1
2
Record Type
Electronic Receipt
Number
A
N
1
7
1
2-8
Yes
Yes
3
4
5
Crop Year
Locator ID
Is Stored Outside
N
A
A
4
8
1
9-12
13-20
21
Yes
Yes
6
Relocation Date
N
8
22-29
7
Filler
A
91
30-120
Y=Yes stored outside, N=No; Blank
no change If Y or N then
Relocation date must be entered.
Required if field 5 is Y or N.
MMDDYYYY
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
13-2
- Maintain Block Receipts
Batch Type 14 is used by only the warehouse to maintain electronic warehouse block receipts. This is
the only means by which the required data can be changed. Additionally, only the issuing warehouse
can change the receipt. The warehouse can change only the following fields when not the holder and a
bank is not the holder: BALE COUNT (cannot be zero), TARE WEIGHT, and NET WEIGHT, otherwise, the
warehouse MUST be the Current Holder of the receipt. Batch Type 14 also provides the ability to
modify, change or delete optional receipt data at the same time required information is edited. To
change any data, the receipt status at the host must be open, not canceled.
Three key fields must be identified to change the block receipt and cannot be changed:
 WAREHOUSE CODE
 RECEIPT NUMBER
 CROP YEAR
Only the fields to be changed should be filled. The following five (5) fields can be cleared by placing an
asterisk (“*”) in the field:
 STORAGE-PD-THRU-DATE
 RECEIVED-FROM-NAME
 LOCATOR-ID
 MARK
 USER-DEFINED

If a batch detail record is in error, that detail record (block) will be skipped and an error
acknowledgment will be delivered to the user; the batch will continue processing with the next detail
record.
A non-negotiable electronic receipt (block or individual bale) can only have its holdership change
between the warehouse and one other holder (USDA requirements). Unlike negotiable receipts which
can have many different holders during its existence, a non-negotiable receipt can only have two
holders, one being the warehouse, during its “life.” For example, if a warehouse issues a non-negotiable
receipt and changes the holder to Merchant A, then the only entity to whom Merchant A can transfer
holdership is the issuing warehouse. If Merchant A is collateralized and they have informed EWR that
the collateral holder is to hold the block receipt, then the Bank will be the holder, and the Merchant will
be the subholder.
Acknowledgments produced by a Batch Type 14, when the warehouse remains the holder, are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was successfully
received. Within the acknowledgment will be details listing: Total number of bales processed,
issued, and individual bales in error.
Warehouses may designate a new holder for the electronic receipt. This entity is referred to as the
“Disposition Holder.” If this designation is made, then immediately upon storing the record in the host
14-1
computer, the Current Holder field is changed from the issuing warehouse to the Holder ID of the
Disposition Holder (e.g. M987654.)
Acknowledgments generated by a Batch Type 14, when a Disposition Holder is identified, are:
 The Disposition Holder will receive a “delivery” or download of all detail data for each of the receipts
they now hold.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the receipts to
them.
 The warehouse will receive both a Holder acknowledgment for changing the receipts and a Holder
acknowledgment for changing holdership to the Disposition Holder.
If any errors are found in the batch, an error message is given and the batch will continue to process.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type on the provider system.
14-2
Inbound File Layout
BATCH 14 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H = Header Record
Holder ID of warehouse issuing
receipts
1
Record Type
A
1
1
Yes
2
Holder ID
AN
7
2-8
Yes
3
4
User ID
User Password
AN
AN
6
8
9-14
15-22
Yes
Yes
5
6
Batch Number
Batch Type
N
N
4
2
23-26
27-28
Yes
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
Yes
10
Filler
A
72
43-48
49120
User ID of person creating batch
Password for the User
Sequential number assigned for
each batch.
14=Maintain Block Receipt
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code receipts are
issued in
Reserved for EWR, Inc. use
BATCH DETAIL RECORD 1
Field
1
2
Field Name
Record Type
Receipt Number
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
3
4
5
Record Number
Detail Type
Crop Year
N
A
N
1
1
4
9
10
11-14
Yes
Yes
Yes
6
Issue Date
N
8
15-22
7
8
9
Total Bales
Mark
Lot ID
N
AN
AN
5
8
12
23-27
28-35
36-47
10
Total Net Weight
N
6
48-53
Description
D=Detail Record
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
1
R = Regular Block
Crop year in which the cotton
was grown; YYYY
Date entered into the data field
by the warehouse, not assigned
by EWR Storage date of the bale MMDDYYYY
Number of bales in block
Mark assigned by shipper
Lot Identifier from the depositor.
Often equivalent to the Mark
Total net weight of bales in block
14-3
11
12
Total Tare Weight
Negotiable Flag
N
A
4
1
54-57
58
13
Warehouse is
Depositor
A
1
59
14
Grade/Depositor
A
1
60
15
Receiving Charge
N
4
61-64
16
Storage Charge
N
4
65-68
17
Storage Charge
Frequency
A
1
69
18
19
20
21
Receiving Paid
Loading Paid
Classing Paid
Storage Paid
Through
A
A
A
N
1
1
1
8
70
71
72
73-80
22
Disposition Holder
ID
AN
7
81-87
Total tare weight of bales in block
G = Negotiable; O = Nonnegotiable
All values are alpha
Required by USDA to identify if
the warehouse and producer are
the same entity. N=warehouse &
producer are not same entity
Y=warehouse & producer are
same entity
Required by USDA to identify if
the bale is to be graded at the
request of the depositor. N=NOT
graded at request of depositor.
Y=Graded at the request of the
depositor.
9999 (2 decimal); Warehouse
defined charge, example
0250=$2.50 – 99V99 – Charge is
per bale
9999 (2 decimal); Warehouse
defined charge, for example
0250=$2.50 – 99V99. If storage
charge frequency is Daily, the
entry will display as cents/day
e.g. 0950 = 9.50 cents per day –
Charge is per bale.
Frequency at which storage
charges are assessed; W=Weekly;
M=Monthly; D=Daily
Y=Paid; N=Not Paid
Y=Paid; N=Not Paid
Y=Paid; N=Not Paid
Storage paid through date;
MMDDYYYY. Last date that
storage charges against the bale
were paid
Holder ID to which receipts will
be transferred upon issuance. If
disposition holder is present,
cannot have a paper receipt
number
14-4
23
24
Paper Receipt
Number
Filler
N
7
88-94
A
26
95120
Paper receipt number that this
receipt was converted from
Reserved for EWR, Inc. use
BATCH DETAIL RECORD 2
Field
Field Name
Type
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
D=Detail Record
2
Receipt Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
Electronic Receipt number for
Block Receipt
2
4
Detail Type
A
1
10
Yes
R = Regular Block
5
Received From
AN
30
11-40
6
Filler
A
2
41-42
7
Locator ID
AN
8
43-50
8
User Defined
AN
12
51-62
9
Control Number
AN
10
63-72
10
Filler
A
48
73120
30 character field used to enter
applicable bale information, e.g.,
the name of the producer, gin or
even Bearer
Reserved for EWR, Inc. use
Field available to allow a
warehouse to specify the location
of a bale within the plant.
Sometimes called a Bin ID
Optional information that can
updated by the current holder
A 10 character field used for
control number
Reserved for EWR, Inc. use
14-5
BATCH DETAIL - BALE DATA (This record is not used for non-negotiable block receipts. For
negotiable block receipts, there will be one record for each bale in the block receipt.)
Field
Field Name
Type Size Pos
Req
Description
1
2
Record Type
Tag ID
A
N
1
7
1
2-8
Yes
Yes
3
4
Record Number
Detail Type
N
A
1
1
9
10
Yes
Yes
5
Crop Year
N
4
11-14
Yes
6
Net Weight
N
3
15-17
7
Tare Weight
N
2
18-19
8
Old Tag ID
N
7
20-26
9
Gin Code
N
5
27-31
10
11
Gin Tag
Filler
N
A
7
82
32-38
39120
D=Detail Record
The tag number that is assigned
by the warehouse to identify
each bale in the entire block
3
S = Single bale detail within
negotiable receipt
Crop year in which the cotton
was grown: YYYY
Gross weight of bale minus tare
weight. User enters appropriate
amount
Represents the number pounds
subtracted from the gross weight
to compensate for bagging and
ties on the bale.
Replaces this Tag Number with
New Tag ID
USDA assigned code which
identifies the site where the
cotton was ginned.
Tag number assigned by gin
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
14-6
- Change Block Receipt Data
Batch Type 15 is used by the Current Holder of a block receipt to change non-required, or optional, data
associated with the receipt record. Normally, only the Current Holder of the receipt may change this
information, but the warehouse can “designate” specific holders (usually merchants) that can change
eight (8) specific fields without being the Current Holder. These fields are:
 Receiving Paid
 Loading Paid
 Classing Paid
 Receiving Charge
 Storage Charge
 Received From Name
 Locator ID
 Storage Paid through date.
To change any data, the current receipt status must be open and not canceled. If trailer records are
used, then RECORD COUNT must be correct.
The Batch Type 15 goes through what is known as a two pass system (All or None).
To create a Batch Type 15 and change an electronic block receipt, the warehouse must identify three (3)
fields and cannot be changed:
 RECEIPT NUMBER
 WAREHOUSE CODE
 CROP YEAR
A non-negotiable electronic receipt (block or individual bale) can only have its holdership change
between the warehouse and one other holder (USDA requirements). Unlike negotiable receipts which
can have different holders during its existence, a non-negotiable receipt can only have two holders, one
being the warehouse, during its “life.” For example, if a warehouse issues a non-negotiable receipt and
changes the holder to Merchant A, then the only entity to whom Merchant A can transfer holdership is
the issuing warehouse.
After a receipt is identified, only the fields to be changed should be filled. That is, all fields in the batch
do not need to be completed. The host computer will not update the fields in the batch which do not
contain data. Also, certain fields can be cleared (filled with spaces), if a single asterisk (“*”) is placed in
the field. When the batch is processed by the Host, the data stored in that field will be cleared.
Users will be able to use Batch Type 15 to update information in the Host computer and immediately
transfer holdership to a new Holder ID. A Disposition Holder ID should be entered to effect this change.
The host will process the batch and deliver detail information to the new holder.
If any errors are found in the batch, an error message is given and the batch will continue to process.
15-1
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Acknowledgments generated by a Batch Type 15 are:
 A holder for the creator of the batch
 If a Disposition Holder ID is entered, then:
 The Disposition Holder will receive a Detail Receipt Data Received (Batch Type 15) for receipts
changed to their holdership.
 If the Disposition Holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81).
Note: Warehouses located outside the United States of America will not be allowed to use this batch
type on the provider system.
15-2
Inbound File Layout
BATCH 15 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
H = Header Record
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be changed
by the user
Sequential number assigned for each
batch. Cannot be duplicated within
the same day
15=Change Block Receipt Data
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Filler
A
78
43-120
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Reserved for EWR, Inc. use
15-3
BATCH DETAIL RECORD 1
Field Field Name
1
Record Type
2
Detail Type
3
Record Number
4
Warehouse Code
5
Receipt Number
Type
A
A
N
N
N
Size
1
1
1
6
7
Pos
1
2
3
4-9
10-16
Req
Yes
Yes
Yes
Yes
Yes
N
4
17-20
Yes
21-28
29-33
34-41
42-53
6
Crop Year
7
8
9
10
Filler
Filler
Mark
Lot ID
AN
AN
8
5
8
12
11
Receiving Charge
N
4
54-57
12
Storage Charge
N
4
58-61
13
Storage Charge
Frequency
A
1
62
14
15
16
17
Receiving Paid
Loading Paid
Classing Paid
Storage Paid
Through
A
A
A
N
1
1
1
8
63
64
65
66-73
18
N
7
74-80
19
20
21
Paper Receipt
Number
PO Number
Invoice Number
Filler
AN
AN
AN
10
10
10
22
Filler
A
10
81-90
91-100
101110
111120
Description
D=Detail Record
R=Receipt Detail
1
Warehouse code receipts are issued in
Electronic receipt number for the
individual bale. Will be the same as
the warehouse tag number
Crop year in which the cotton was
grown: YYYY
Reserved for EWR, Inc. use
Reserved for EWR, Inc. use
Mark assigned by shipper
Lot Identifier from the depositor.
Often equivalent to the Mark
9999 (2 decimal); Warehouse defined
charge, example 0250=$2.50 - 99V99 Charge is per bale
9999 (2 decimal); Warehouse defined
charge, for example 0250=$2.50 99V99. If storage charge frequency is
Daily, the entry will display as
cents/day e.g. 0950=9.50 cents per
day - Charge is per bale
Frequency at which storage charges
are assessed; W=Weekly; M=Monthly;
D=Daily
Y=Paid; N=Not Paid
Y=Paid; N=Not Paid
Y=Paid; N=Not Paid
Storage paid through date;
MMDDYYYY. Last date that storage
charges against the bale were paid
Paper receipt number that this receipt
was converted from
Purchase Order Number of Buyer
Invoice Number defined by buyer
Reserved for EWR, Inc. use
Reserved for EWR, Inc. use
15-4
BATCH DETAIL RECORD 2
Field Field Name
1
Record Type
2
Detail Type
3
Record Number
4
Warehouse Code
Type
A
A
N
N
Size
1
1
1
6
Pos
1
2
3
4-9
Req
Yes
Yes
Yes
Yes
5
Receipt Number
N
7
10-16
Yes
6
Crop Year
N
4
17-20
Yes
7
Disposition
Holder ID
AN
7
21-27
8
Received From
AN
30
28-57
9
10
Filler
Locator ID
A
AN
2
8
58-59
60-67
11
User Defined
AN
12
68-79
12
Control Number
AN
10
80-89
13
Shipping Order
Number
Filler
AN
10
90-99
A
21
100120
14
Description
D=Detail Record
R=Receipt Detail
2
Warehouse code receipts are issued in
code of warehouse which issued the
receipt
Electronic receipt number for the
individual bale. Will be the same as
the warehouse tag number.
Crop year in which the cotton was
grown: YYYY
Holder ID to which receipts will be
transferred upon issuance disposition
holder is present, cannot have a paper
receipt number
30-character file used to enter
applicable bale information, e.g. the
name of the producer, gin, or even
Bearer
Reserved for EWR, Inc. use
Field available to allow a warehouse to
specify the location of a bale within
the plant. Sometimes called a Bin ID.
Optional information that can updated
by the current holder
A 10-character field used for control
number
Shipping Order Number assigned by
shipper
Reserved for EWR, Inc. use
15-5
BATCH DETAIL - BALE DATA
This record is not used for non-negotiable block receipts. For negotiable block receipts, there
will be one record for each bale in the block receipt.
Field Field Name
Type Size
Pos
Req
Description
1
2
3
Record Type
Detail Type
Record Number
A
A
N
1
1
1
1
2
3
Yes
Yes
Yes
4
Warehouse Code
N
6
4-9
Yes
5
Receipt Number
N
7
10-16
Yes
6
Crop Year
N
4
17-20
Yes
7
Tag ID
N
7
21-27
Yes
8
*Filler
A
93
28-120
D=Detail Record
S=Single Bale
3
Warehouse Code which issues the
receipt
Electronic Receipt number for the
Block Receipt for this tag id
Crop year in which this cotton was
grown; YYYY
The tag number that is assigned by the
warehouse to identify each bale in the
entire block
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
15-6
-Reserved
–Reserved
- Reserved
-Reserved
-Reserved
20-1
- Shipping Order Instructions and Bales
Batch Type 21 is used by shippers to enter both shipping order instructions and shipping order bales.
This is to facilitate the ability to cross reference shipping orders with the instructions. Warehouses can
be assured that they have the correct pieces of information (instructions and receipts).
To successfully complete a Batch Type 21, the holder must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then (See
Header Layout) RECORD COUNT must be correct. Also, all receipts must be error free, otherwise no
receipts are delivered to the warehouse. The system does not allow delivery of partial shipping orders.
Shipping Instructions cannot be sent without Shipping Order Receipts. However, Shipping Instructions
are not required. That is, text cannot be sent without receipts attached, thus making receipt numbers a
requirement in the Batch Type 21. Instructions can be free-form or can adhere to a specific format
shown in the EWR file layout under the field name TEXT LINE. Many users rely on the specific format.
When a Shipping Order (Instruction & Receipt List) is delivered to a warehouse for a collateralized
shipper, a statement of bank terms (not to exceed 5 lines) will be included at the beginning of the
Instruction record. This fulfills the bank’s need to identify their interest in the bales associated with the
shipping order. If a bank requires a lien statement with shipping instructions, they must contact EWR
customer service and have it placed in their bank terms file.
Batch Type 21 initiates the change of holdership of receipts for shipment to a warehouse. This batch
should not be used to change holdership to any other entity for any reason. The batch can by created
either the holder or subholder of a receipt, if that subholder is collateralized by the financial institution
which holds the receipts.
If the requesting holder is the Current Holder, the warehouse will become the Current Holder and the
requesting holder will become the subholder.
If the BANK ID field in the header is not blank, the bank must already be the Current Holder, and Mark is
required.
21-1
Reconcentrated Loan Transfer
The shipping order will allow for designation of loan transfer bales (reconcentrated loan). There are two
new fields in the header record called Loan Transfer and Destination Warehouse. The loan transfer field
can be Y, N, or blank. If the field is blank, it is assumed to be N. The destination warehouse should be
the warehouse ID of the warehouse to receive and issue the new receipts.
If the loan transfer field is “Y”, then the following rules will apply:






All receipts on the order must be held by CCC (C000001).
None of the receipts can be pending any CCC acknowledgment (Loan, LDP, or EAD).
The holder sending the shipping order must be the subholder on the EWR receipt.
Once the order is accepted, then CCC becomes the subholder of the receipts and the warehouse
is the holder.
The order will not be fully processed until CCC sends a positive acknowledgement back to EWR.
This means the Merchant and warehouse will not receive any files from EWR, Inc. until CCC has
accepted or rejected the entire order.
If a proxy holder ID is entered then when DACO accepts the shipper order, the proxy holder ID is
sent to the warehouse as the holder of the shipping order.
The warehouse code, shipper order number, and mark must be unique for each order per shipper. If a
bale is to be added to an order after the first order has been processed by EWR, Inc., then that bale
must be a new order number and mark.
If CCC rejects the loan transfer, you should NOT try and resend that warehouse code, order number,
mark combination again with a different set of receipt numbers. It will be rejected.
Decert Action Flag Release Date 4/11/2011
A new field has been added to the shipping order header. This field can be used to decertify receipts or
transfer certificated receipts. This field will only apply to cert receipts and if set improperly then will
return an error and the order will be rejected. The options are as follows:


Y = If a receipt is certificated, then it is decertificated and made nontenderable prior to delivery.
If the receipt is already decert but tenderable it will be made nontenderable. If the receipt is
non-cert (regular), already decerted or block, no action is taken and no error is returned.
T = This is used for a certificated transfer and if all receipts are certificated and tenderable, then
the order is delivered to the warehouse with the receipts remaining certificated and tenderable.
If any receipt is NOT certificated OR not tenderable, the order is rejected and an error is
returned.
21-2

BLANK = If a receipt is non-cert (regular), already decerted or block, no action is taken and no
error is returned. If any receipt on the order is certificated and tenderable, the order is rejected
and an error is returned.
Also the shipper has an option to decertificate ALL shipping order receipts before delivering them to the
warehouse by contacting EWR customer support and have them enable a “preference”. This preference
would be the default (instead of sending Y in each shipping order), but if a “T” is sent in the shipping
order header, the “T” will take precedence and allow the receipts to remain certificated.
World Cotton Changes – 2015
Beginning in the Fall of 2015 the 21 batch process will be modified as follows:
 Not allow world receipts and non-world receipts on the same shipping order
 To error on a world container record that is part of a container group. (Container
receipts must be shipped on batch type 37)
 World records cannot be part of a shipping order that contains a Bank Holder ID in the
header.
 When sending single (not part of a container group) world container receipts on a
shipping order:
o If the header “Decert” flag is set to “Y” any world tenderable receipts will be set to
non-world tenderable. This will allow for mixing container and world receipts on the
same shipping order. All “W” records will be decertificated and have a new record
type of “X”.
o If the header “Decert” flag is set to “T“, only world tenderable receipts will be
allowed
o If the header “Decert” flag is empty, no world tenderable receipts will be allowed
and all accepted receipts will not have their world tenderable field changed.
 If the header “Decert” flag is set to “T” then only the following receipts will be allowed
on a shipping order:
o Type “W” world certificated and world tenderable
o Type “T” world container and world tenderable that are not part of a container
group
 Send world tenderable data in outbound file (HD21).
21-3
Acknowledgments and Deliveries
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Acknowledgments generated by a Batch Type 21 are:
CASE 1: Originating holder (From Holder) is Not Collateralized


The holder receives a Holder acknowledgment for the batch.
The warehouse receives the Shipping Order Receipts and Instructions (Batch Type 21.) The
download for the receipts contains only the receipt number, the warehouse number, crop year,
and net weights (if input by the shipper.)
CASE 2: Originating holder (From Holder) is Collateralized (Non world receipts)



The Current Holder is a bank, and the Originator Holder is the subholder.
The From Holder receives a Holder acknowledgment that the bank received the file.
The holder (Bank) receives Shipping Orders Release Request (Batch Type 86.)
To complete the Shipping Order process for Case 2, the holder (Bank) issues a Bank Release of Shipping
Orders (Batch Type 70) from the Shipping Orders Release Request (Batch Type 86) and the following files
are generated:


The holder (Bank) receives acknowledgment.
The warehouse receives a Shipping Order Receipts and Instructions (Batch Type 21.) The
download for the receipts contains only the receipt number, the warehouse number, crop year,
and net weights (if input by the shipper.) A lien statement may accompany the instructions if
the bales are held as collateral by a bank. (Bank Terms)
If any errors are found in the batch, the entire batch will be rejected.
21-4
Inbound File Layout
BATCH 21 HEADER LAYOUT
Field Field Name
1
Record Type
2
Holder ID
3
User ID
4
User Password
5
Batch Number
6
Batch Type
7
Batch Date
8
Batch Time
9
Warehouse Code
Type
A
AN
AN
AN
N
N
N
N
N
Size
1
7
6
8
4
2
8
6
6
Pos
1
2-8
9-14
15-22
23-26
27-28
29-36
37-42
43-48
Req
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
10
Shipping Order
Number
AN
10
49-58
Yes
11
12
Mark
Balance (Y/N)
AN
A
8
1
59-66
67
Yes
13
Bank Holder ID
AN
7
68-74
14
Requested Load
Date
Early Shipping
Order
Block Receipts
N
8
75-82
A
1
83
A
1
84
Window Days
Loan Transfer
Destination
Warehouse
Action Code
Proxy Holder ID
N
A
N
2
1
6
85-86
87
88-93
A
A
1
7
94
95-101
15
16
17
18
19
20
21
Record Size = 120
Description
H=Header Record
Holder ID of Merchant creating the batch.
User ID of person creating batch
Password for the User
Batch number
21
Date of batch; MMDDYYYY
Time of batch;HHMMSS
Warehouse code which issued the
receipts
S/O number, same number can be used
on different batches. However, shippers
must not enter the same S/O number for
multiple batches to the same warehouse
Shipper's Mark
Optional field used to balance the net
weight of the bales in the batch. Y=yes,
balance net weight; N=No, do not
balance net weight
If the shipper is the current holder of the
receipts, this field will be blank. If the
receipts are held by the bank as
collateral, the Bank’s Holder ID should be
entered here.
MMDDYYYY, requested shipping date
Yes = Y; If this order was previously sent
as an Early Shipping Order
Y=If batch contains Block Receipts
Blank=Regular Receipts
Days before or after to reschedule
Y=Yes Loan transfer
Destination Warehouse ID of Loan
transfer. Required if loan transfer =Y.
Reserved for EWR, Inc. use
Holder ID to send to warehouse. Only
available for Loan Transfer
21-5
22
Decert Action
A
1
102
23
Filler
A
18
103120
If receipts are certificated then the
following apply:
Y = Decertificate receipts before
delivering to warehouse
T=All receipts are certificated and are
being transferred to a new warehouse.
Blank=no action
Reserved for EWR, Inc. use
BATCH DETAIL RECORD 1 – (SO Instructions – Maximum of 99 Lines)
Field
Field Name
Type Size Pos
Req
Description
1
Record Type
A
1
1
D=Detail Record
2
Detail Type
A
1
2
I=Shipping Order Instructions
3
Record Number
N
2
3-4
Record number (1-99)
4
Text Line
AN
80
5-84
First two bytes of the 76 byte field are
used for the codes listed in Appendix B,
leaving the last 74 bytes for text.
5
Filler
A
36
85-120
Reserved for EWR, Inc. use
BATCH DETAIL RECORD 2 - (SO Receipts)
Field Field Name
Type Size
1
2
3
Pos
Req
Description
D=Detail Record
O=Shipping Order Receipts
Electronic Receipt Number, will be the
same as the warehouse tag number
YYYY, crop year originally assigned to
the receipt when issued
Net weight of each bale is required if
balance in Header is Y (see field 12 in
Batch Header Layout)
Reserved for EWR, Inc. use
A
A
N
1
1
7
1
2
3-9
Yes
Yes
Yes
4
Record Type
Detail Type
Electronic
Receipt Number
Crop Year
N
4
10-13
Yes
5
Net Weight
N
3
14-16
6
Filler
A
104
17-120
BATCH TRAILER
See Appendix A – Common Batch Trailer
21-6
- Request Bank Release of Collateral
A Batch Type 22 is created by subholders of receipts who have previously transferred holdership to a
Bank, or have informed EWR that the Bank’s Holder ID should automatically be applied to all receipts
transferred to their Holder ID. If the bank is the holder of a receipt, any transfer of holdership of that
receipt must be approved by the bank. A Batch Type 22 is used to request a change of holdership of
receipts from a Bank’s Holder ID to the Holder identified in the Batch Type 22, created by the
collateralized subholder. The subholder can request bank approval to send the receipts on to another
holder or to return the receipt’s holdership to them, (subholder to become holder), excluding
non-negotiable block receipts. On non-negotiable block receipts the disposition holder ID must be
the issuing warehouse holder ID. In either case, the bank can easily approve or reject the transfer. This
is a two-pass process.
When a subholder initiates a Batch Type 22, the following acknowledgments are created:
 The subholder receives a Holder acknowledgment
 The Bank receives a Batch Type 92, Collateral Release Request
If any errors are found in the batch, an error message is given and the batch will continue to process.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Note: World receipts are ineligible for this batch type.
Inbound File Layout
BATCH 22 HEADER LAYOUT
Field
Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H=Header Record
Holder ID of Collateralized merchant
requesting a bank release of collateral.
User ID of person creating batch
User ID password
Batch number assigned. Cannot be
duplicated within the same day
22=Bank Release of Collateral
Date batch was created/updated;
MMDDYYYY
Time batch was created/updated;
HHMMSS
1
2
Record Type
From Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
4
5
User ID
User Password
Batch Number
AN
AN
N
6
8
4
9-14
15-22
23-26
Yes
Yes
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
22-1
9
To Holder ID
AN
7
43-49
Yes
10
Bank Holder ID
AN
7
50-56
Yes
11
Tracking
Code/Number
AN
10
57-66
12
Certificated
Indicator
AN
1
67
13
Block Receipts
A
1
68
14
Filler
A
52
69-120
Type
Size
Pos
Req
Description
D=Detail Record
Warehouse code of the Electronic
Receipt Number, ie, the warehouse
which issued the receipt
The number assigned by the
warehouse which identifies the
specific bale. This will be the same as
the warehouse tag number
The Crop year assigned by the
warehouse; YYYY
Should be contract number for
certificated receipt delivery
Optional field for P.O.
BATCH DETAIL
Field
Field Name
1
2
Record Type
Warehouse Code
A
N
1
6
1
2-7
Yes
Yes
3
Electronic Receipt
Number
N
7
8-14
Yes
4
Crop Year
N
4
15-18
Yes
5
Invoice Number
AN
10
19-28
6
7
Purchase Order
Filler
A
A
10
82
29-38
39-120
Holder ID of the entity who is to
become the new holder of the
receipts. The From Holder can be the
same as the To Holder, e.g., the
merchant wishes to have the collateral
released back to them
Holder ID of the Bank which is holding
the receipts as collateral
An optional entry for the merchant to
use as a reference number for
collateral release requests.
C=Certificated receipt delivery (If C,
long record is sent)
Blank=Regular receipt delivery
Y=If Batch contains Block Receipts
Blank=Regular Receipts
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
22-2
– Shipping Order Update
Batch type 23 is used by shippers and warehouses to exchange request load dates and schedule dates
for a shipping order. Before a batch 23 can be sent, the shipper must send a batch 21 (shipping order) or
31 (early shipping order).
EWR, Inc. will audit any changes made on the two shipping order dates (Requested Load Date and
Schedule Date), assuming both parties have opted in to receive batch 23. The request load date can only
be sent by the merchant. The schedule date can only be sent by the warehouse.
The requested load date can be modified by the following methods:
 Shipping Order (EWR Batch 21 and 31)
 Update Shipping Order (EWR Batch 23)
The schedule date can only modified by a EWR Batch 23. Both the warehouse and shippers will be
required to change their software to send and receive EWR batch type 23.
All parties involved in the shipping order (warehouse and merchant) are notified when an update to the
requested load date or schedule date is made.
World receipts are ineligible for this batch type.
Definitions and Terms
Requested load date – Date sent by the merchant when they would like to pick up the shipment. It is
also called the ask date.
Scheduled date-Date sent by the warehouse when the shipment is scheduled for pick up.
Shipping Order –This is a EWR batch 21 sent by the shipper to a warehouse with an associated tag list
making the warehouse the holder of the EWR receipts. If the schedule date is include in the batch
header, it will update the request date automatically, regardless if an early shipping order has been
previously sent.
Early Shipping Order –This is a EWR batch 31 sent by the shipper to a warehouse with an associated tag
list, holdership of receipts is not transferred to the warehouse.
Window days – The number of days before or after the requested load date that the warehouse can
change to. In other words if the merchant sends a date of 08/05/2006 with 3 window days and the
warehouse cannot ship on that day, then the warehouse would know it could change to any date
between 08/02 and 08/08.
23-1
Basic Flow Overview:
Requesting a load date:
Currently the majority of shipping orders are sent thru EWR, Inc. In order to keep within that “normal”
operating procedure the process of requesting a load date with a warehouse is started by the merchant
sending a Shipping Order (Batch 21) or Early Shipping Order (Batch 31) to EWR, Inc. with the basic
overview is as follows:
 The merchant sends an order to EWR for processing with the requested load date and optional
window days.
 EWR will validate the request and forward it to the warehouse by creating a detail file in the
warehouse’s EWR mailbox.
 EWR will create an acknowledgement file in the merchant’s EWR mailbox.
Updating a shipment:
If the warehouse wants to change the schedule date, they will send a batch 23 to EWR that will do the
following:
 Warehouse sends file with updated schedule date
 EWR, Inc. updates the schedule date on the order
 EWR, Inc sends a data file to the shipper ( Shipment Updates(23))
 EWR will create an acknowledgement file in the warehouse’s EWR mailbox
If the merchant wants to change or reschedule the requested load date for a shipping order, they will
send a batch 23 to EWR that will do the following:
 Merchant sends file with updated requested load date
 EWR, Inc. updates the requested load date on the order
 EWR, Inc sends a data file to the warehouse ( Shipment Updates(23))
 EWR will create an acknowledgement file in the merchant’s EWR mailbox
The layout for acknowledgements, errors and deliveries are outlined in the section “Files Received from
Host”.
23-2
Inbound File Layout
BATCH 23 HEADER LAYOUT
Field Field Name
Type
1
Record Type
A
2
Holder ID
AN
3
User ID
AN
4
User
AN
Password
5
Batch Number N
6
7
8
9
Type
Date
Time
Filler
BATCH DETAIL
Field Field Name
1
Record Type
2
Warehouse
Code
3
Action
4
Bales
Size
1
7
6
8
Pos
1
2-8
9-14
15-22
Req
Yes
Yes
Yes
Yes
Description
H=Header record
Sender holder ID
User ID of person creating batch
User ID password
4
23-26
Yes
N
N
N
A
2
8
6
78
27-28
29-36
37-42
43-120
Yes
Yes
Yes
Batch assigned by sender of original
request
23= shipment update
Date batch was created MMDDYYYY
Time batch was created HHMMSS
Reserved for EWR, Inc. use
Type
A
N
Size
1
6
Pos
1
2-7
A
N
1
5
8-8
9-13
Req
Yes
Yes
Description
D=Detail record
Warehouse code for the order
Reserved for EWR use
Number of bales on order. (Supplied
by sender of batch)
5
6
7
Mark
Order Number
Date
A
A
N
8
10
8
14-21
22-31
32-39
Yes
Yes
Yes
8
AN
7
40-46
Yes
9
10
Shipper
Holder ID
EWR ID
Window Days
N
N
8
8
47-54
55-62
Yes
11
Filler
N
58
63-120
Shippers order number
Requested load date or Schedule
date
Merchant Holder Number
EWR shipping order ID (Optional)
Days before or after to reschedule.
(Shipper supplied. The Warehouse
should not send this field
Reserved for EWR use
BATCH TRAILER
See Appendix A – Common Batch Trailer
23-3
- Warehouse Invoice
Batch type 24 is used by warehouses to send electronic invoices to a shipper or merchant. Before a
warehouse can send a batch 24 they must contact EWR, Inc. support staff to “turn on” this feature. This
is also true for the shipper. Both parties must “opt-in” to be able to exchange an electronic invoice.
The inbound and outbound layouts are in XML. This is dramatically different than the normal flat-file
style used in other batches. The following rules apply to the XML documents:
 All files sent to EWR must have an .XML (period XML) extension only.
 Files can be sent via the usual FTP method.
 All files created by EWR will follow the usual filename convention with an .XML (period XML)
extension and will be stored in the usual holders NOTZIP FTP mailbox. There will be a zipped
(compressed) copy of this file with the .zip extension in the ZIP FTP Mailbox. For example
HD24.1234.20080801.101022.83838A.XML
 All files sent to EWR should be strongly-typed XML. Every starting and ending element name
must be identical and are case-sensitive.
 The “WarehouseInvoice” node should adhere to the ACSA recommendations. The schema is
located at http://www.cottonxml.org/XMLSchemas/WarehouseInvoice.xsd. (This is only a
recommendation).
EWR will only validate that the document has the correct nodes. (Communication, Transaction,
WarehouseInvoice). We will not validate the data within the WarehouseInvoice node. It is between the
warehouse and shipper what information is needed or required.
The eCotton warehouse software will send an extended version of the ACSA using the following schema:
http://www.eCotton.com/Schemas/eCottonWarehouseInvoice.xsd
Basic Flow Overview:
 Warehouse creates XML invoice file for each shipper within its software.
 Warehouse sends file to EWR, Inc.
 EWR receives file containing only electronic invoice:
 EWR attempts to validate file. (if it has an XML extension)
 EWR validates XML structure.
 EWR creates a delivery file (HD24) for each transaction node, passing thru the
“WarehouseInvoice” node into a XML file in the shipper’s mailbox.
 EWR creates an acknowledgement file for each transaction node sent for the warehouse.
 Merchant receives electronic invoice:
 Merchant logs into EWR’s FTP site and downloads all or specifically XML files from their
download area (zipped or notzip)
The layout for acknowledgements, errors and deliveries are outlined in the section “Files Received from
Host”.
File Requirements:
24-1
The file must be in valid XML format and must have the following nodes, in the following order:
communication (all lower case)
transaction (all lower case), within communication node
WarehouseInvoice, within transaction node
There can be only 1 communication node per file.
There can be multiple transaction nodes per communication node.
There can be only 1 WarehouseInvoice node per transaction node.
If any portion of the uploaded XML file is not valid XML, the entire file is rejected.
Field / Element Requirements:
The fields required for the communication node are: date and time.
The fields required for the transaction node are:
TransactionType – must be 24
Holder – Warehouse holder number
User – Usual EWR user ID sent within batch files.
Password – Usual EWR password sent within batch files.
Sequence – Batch number (must be a number between 1 and 9999)
Type – must match TransactionType
Date – date of batch (MMDDYYYY)
Time - time of batch (HHMMSS)
IncludeTrailer – Always “N”
ToHolder - should be where the warehouse wants the invoice sent. (Shipper)
The fields within the WarehouseInvoice node are not required by EWR, but must be valid XML.
Example of uploaded file using the ASCA schema:
<communication date="08242007" time="102719" >
<transaction transactionType="24" holder="W767070" user="tomw76" password="m13334"
sequence="2405" type="24" date="04102008" time="102708" includeTrailer="N"
ToHolder="M767070">
<WarehouseInvoice ">
<Originator>
<Address>
<AddressType>Shipping</AddressType>
<Address1>P O Box 1</Address1>
<Address2 />
24-2
<City>Memphis</City>
<State>TN</State>
<CountryCode>US</CountryCode>
<PostalCode>79336</PostalCode>
</Address>
<PhoneNumber>
<PhoneNumberType>Main</PhoneNumberType>
<PhoneNumber>901-396-3243</PhoneNumber>
</PhoneNumber>
<Name>Tom Test warehouse</Name>
<Code>767070</Code>
</Originator>
<RemitTo>
<Address>
<AddressType>Billing</AddressType>
<Address1>P.O. Box 2827</Address1>
<City>Memphis</City>
<State>TN</State>
<CountryCode>US</CountryCode>
<PostalCode>79408-2827</PostalCode>
</Address>
<PhoneNumber>
<PhoneNumberType>Main</PhoneNumberType>
<PhoneNumber>800-111-8011</PhoneNumber>
</PhoneNumber>
<Name>Toms Test warehouse</Name>
<Instructions>Payable upon receipt of invoice. </Instructions>
</RemitTo>
<BillTo>
<Address>
<AddressType>Billing</AddressType>
<Address1>BOX 443</Address1>
<Address2 />
<City>MEMPHIS</City>
<State>TN</State>
<CountryCode>US</CountryCode>
<PostalCode>381010443</PostalCode>
</Address>
<Name>The shipper name</Name>
<AccountNumber>705</AccountNumber>
<Instructions>Payable upon receipt of invoice</Instructions>
</BillTo>
<Number>68193</Number>
<Date>2008-04-09</Date>
24-3
<Gross>1965.34</Gross>
<Tax>0</Tax>
<Total>1965.34</Total>
<Shipment>
<Charge>
<Item>
<Description>Compression</Description>
<Quantity>88</Quantity>
<UnitCost>9.25</UnitCost>
<Total>814</Total>
</Item>
</Charge>
<Charge>
<StorageRecap>
<StopDate>2008-04-08</StopDate>
<TotalDays>5762</TotalDays>
<Quantity>88</Quantity>
<Rate>0.07</Rate>
<Total>403.34</Total>
</StorageRecap>
<Item>
<Description>Storage</Description>
<Quantity>88</Quantity>
<UnitCost>4.583409</UnitCost>
<Total>403.34</Total>
</Item>
</Charge>
<Charge>
<Item>
<Description>Receiving</Description>
<Quantity>88</Quantity>
<UnitCost>3.25</UnitCost>
<Total>286</Total>
</Item>
</Charge>
<Charge>
<Item>
<Description>Loading Other</Description>
<Quantity>88</Quantity>
<UnitCost>5.25</UnitCost>
<Total>462</Total>
</Item>
</Charge>
<Number>247181</Number>
24-4
<Date>2008-04-08</Date>
<Mark>CRNZ</Mark>
</Shipment>
<FilePath>C:\FileImports\WebServices\1.8733.xml</FilePath>
</WarehouseInvoice>
</transaction>
</communication>
24-5
Example of uploaded file using the eCotton schema (Extension of ASCA schema):
<communication date="08242007" time="102719" >
<transaction transactionType="24" holder="W767070" user="tomw76" password="m13334"
sequence="2405" type="24" date="04102008" time="102708" includeTrailer="N"
ToHolder="M767070">
<WarehouseInvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.eCotton.com" xsi:schemaLocation="http://www.eCotton.com
http://www.ecotton.com/Schemas/eCottonWarehouseInvoice.xsd">
<Originator>
<Address>
<Address1>P. O. Box 123</Address1>
<Address2>1 W. Main Street</Address2>
<City>Raleigh</City>
<State>NC</State>
<PostalCode>27612</PostalCode>
</Address>
<PhoneNumber>
<PhoneNumberType>Main</PhoneNumberType>
<PhoneNumber>(123)123-4566</PhoneNumber>
</PhoneNumber>
<PhoneNumber>
<PhoneNumberType>Fax</PhoneNumberType>
<PhoneNumber>(123)456-7895</PhoneNumber>
</PhoneNumber>
<Name>My Warehouse, Inc.</Name>
<Code>112233</Code>
</Originator>
<RemitTo>
<Address>
<Address1>P. O. Box 123</Address1>
<Address2>1 W. Main Street</Address2>
<City>Raleigh</City>
<State>NC</State>
<PostalCode>27612</PostalCode>
</Address>
<PhoneNumber>
<PhoneNumberType>Main</PhoneNumberType>
<PhoneNumber>(123)123-4566</PhoneNumber>
</PhoneNumber>
<PhoneNumber>
24-6
<PhoneNumberType>Fax</PhoneNumberType>
<PhoneNumber>(123)456-7895</PhoneNumber>
</PhoneNumber>
<Name>My Warehouse, Inc.</Name>
<Code>112233</Code>
</RemitTo>
<BillTo>
<Address>
<AddressType>Billing</AddressType>
<Address1>P. O. Box 124</Address1>
<City>Memphis</City>
<State>TN</State>
<PostalCode>79407</PostalCode>
</Address>
<Name>The Shipper</Name>
<Code>M123456</Code>
<Instructions>Payment Due Within 30 Days of Invoice Receipt.</Instructions>
</BillTo>
<Number>31255</Number>
<Date>2008-08-13</Date>
<Gross>1484.70</Gross>
<Credits>
<CreditComment>Credit on account</CreditComment>
<CreditAmount>20.00</CreditAmount>
</Credits>
<Total>1464.70</Total>
<Shipment>
<Number>010459</Number>
<Date>2008-08-13</Date>
<Bales>87</Bales>
<Mark>ABC123</Mark>
<TruckerID>Trucker01</TruckerID>
<TruckerName>Acme Trucking Company</TruckerName>
<ScheduledDate>2008-08-12</ScheduledDate>
<StopStorageDate>2008-08-13</StopStorageDate>
<ReadyDate>2008-08-11</ReadyDate>
<PickupPt>Lubbock1</PickupPt>
<Miscellaneous>
<Description>Truck License#</Description>
<Value>XLM-9191</Value>
</Miscellaneous>
<Destination>Los Angeles Port</Destination>
<Charge>
<Item>
24-7
<Description>Receiving</Description>
<Quantity>7</Quantity>
<UnitCost>3.00</UnitCost>
<Total>21.00</Total>
<TariffID>001</TariffID>
<UnitType>BC</UnitType>
</Item>
</Charge>
<Charge>
<Item>
<Description>Receiving</Description>
<Quantity>80</Quantity>
<UnitCost>3.50</UnitCost>
<Total>283.50</Total>
<TariffID>001</TariffID>
<UnitType>BC</UnitType>
</Item>
</Charge>
<Charge>
<Item>
<Description>Loading</Description>
<Quantity>87</Quantity>
<UnitCost>4.00</UnitCost>
<Total>348.00</Total>
<TariffID>002</TariffID>
<UnitType>BC</UnitType>
</Item>
</Charge>
<Charge>
<StorageRecap>
<StoredUnits>18</StoredUnits>
<Quantity>7</Quantity>
</StorageRecap>
<Item>
<Description>Storage</Description>
<Quantity>84</Quantity>
<UnitCost>1.20</UnitCost>
<Total>100.80</Total>
<TariffID>006</TariffID>
<UnitType>MO</UnitType>
</Item>
<Item>
<Description>Storage</Description>
<Quantity>42</Quantity>
24-8
<UnitCost>1.60</UnitCost>
<Total>67.20</Total>
<TariffID>006</TariffID>
<UnitType>MO</UnitType>
</Item>
</Charge>
<Charge>
<StorageRecap>
<StoredUnits>6</StoredUnits>
<Quantity>80</Quantity>
</StorageRecap>
<Item>
<Description>Storage</Description>
<Quantity>480</Quantity>
<UnitCost>1.60</UnitCost>
<Total>768.00</Total>
<TariffID>006</TariffID>
<UnitType>MO</UnitType>
</Item>
</Charge>
</Shipment>
</WarehouseInvoice>
</transaction>
</communication>
24-9
-Reserved
-Reserved
-Reserved
-Reserved
-Reserved
29-1
- Sample Order Instructions and Receipts
A Batch Type 30 is used to enter both sample order instructions and sample order receipts. The Sample
Order does NOT alter the receipt record in the EWR database in any way. Holdership does NOT change.
Sample Order Instructions cannot be sent without the list of Sample Order Receipts. However, Sample
Instructions are NOT required. That is, text cannot be sent without receipt #'s attached, thus making
receipt detail a requirement in the Batch Type 30.
When a Sample Order (Instruction & Receipt List) is delivered to a statement may be included in the
Instruction record. This simply identifies the information as a Sample Order.
Acknowledgments generated by a Batch Type 30 are:
 The holder receives a Holder acknowledgment for the batch.
 The warehouse receives the sample order (receipts and instructions).
If any errors are found in the batch, the entire batch will reject.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Inbound File Layout
BATCH 30 HEADER LAYOUT
Field Field Name
Type
Record Size = 120
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
H=Header Record
2
Holder ID
AN
7
2-8
Yes
Holder ID of Requestor
3
User ID
AN
6
9-14
Yes
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
User ID password
5
Batch Number
N
4
23-26
Yes
Batch number assigned.
6
Batch Type
N
2
27-28
Yes
30 - Sample Order
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
N
6
43-48
Yes
AN
10
49-58
11
Warehouse
Code
Sample Order
Number
Mark
Date batch was created/updated;
MMDDYYYY
Time batch was created/updated;
HHMMSS
Six digit code which identifies the
warehouse where the bales are stored
Sample order number - optional
AN
8
59-66
Shipper's Mark - optional
12
Filler
A
1
67
Reserved for EWR, Inc. use
10
30-1
13
Holder ID
AN
7
68-74
14
Ask Date
N
8
75-82
ID of holder to whom SO will be sent may be left blank
MMDDYYYY, requested date
15
Filler
A
38
83-120
Reserved for EWR, Inc. use
BATCH DETAIL – RECORD 1 (SO Instructions – Maximum of 99 lines)
Field Field Name
Type Size Pos
Req Description
1
Record Type
A
1
1
D=Detail Record
2
Detail Type
A
1
2
I=Shipping Order Instructions
3
Record Number N
2
3-4
Record number (1-99)
4
Text Line
AN
80
5-84
First two bytes of the 76 byte field are used
for the following codes, leaving 74 bytes for
text:
00
5
Filler
A
36
85120
Requestor name-bales - (such as
Americot –
90 bales)
01
Ship via - (trucker and rail name –
such
as
ICRR)
02
Destination - (such as Allison, AL)
03
Reweigh
04
Please include sample list in sack
05
All sample bags must be marked
06
Resample
07
If samples are not in rack, please cutY or N
08
Load rack samples on truck
09
Cover sample holes bale - grade "A"
10
Please reference buyer invoice/so
number
when billing
11-30 Not Defined
31
Reserved for EWR use
Reserved for EWR, Inc. use
30-2
BATCH DETAIL RECORD 2 - (SO Receipts)
Field Field Name
Type Size
1
2
3
Pos
Req
Description
D=Detail Record
O=Shipping Order Receipts
Electronic Receipt Number which will
be same as warehouse tag number
YYYY; crop year originally assigned to
the receipt when issued
Net weight of each bale is optional
Reserved for EWR, Inc. use
A
A
N
1
1
7
1
2
3-9
Yes
Yes
Yes
4
Record Type
Detail Type
Electronic
Receipt Number
Crop Year
N
4
10-13
Yes
5
6
Net Weight
Filler
N
N
3
104
14-16
17-120
BATCH TRAILER
See Appendix A – Common Batch Trailer
30-3
- Early Shipping Order
A Batch Type 31 is used to enter both shipping order instructions and shipping order receipts. The Early
Shipping Order does NOT in any way alter holdership or the receipt record in the EWR database. The
inbound and outbound file layouts for an early shipping order are the same as Batch Type 21, except the
EARLY SHIPPING order field is set to “Y” in the Batch header.
The purpose of an Early Shipping Order is to notify the warehouse that a shipment order is coming soon.
This allows the warehouse to schedule workloads and allows a collateralized shipper to wait as long as
possible before sending the receipts for the bank to the warehouse.
World receipts are ineligible for this batch type.
Changes in the processing are:
 Shipping Instructions cannot be sent without Early Shipping Order Receipts. However, Shipping
Instructions are NOT required. That is, text cannot be sent without bales attached, which makes
receipt detail a requirement in the Batch Type 31.
 When an Early Shipping Order (Instruction & Receipt List) is delivered to a warehouse, a
statement may be included in the instruction record that simply identifies the information as an
Early Shipping Order.
A Batch Type 31 does NOT initiate any change of holdership of receipts to a warehouse.
Acknowledgments created for a Batch Type 31 are:
 The holder receives a Holder acknowledgment for the batch.
 The warehouse receives the early shipping order (receipts and instructions).
If any errors are found in the batch, the entire batch will reject.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
31-1
Inbound File Layout
BATCH 31 HEADER LAYOUT
Field
Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H=Header Record
Holder ID of Shipper
User ID of person creating batch
User ID password
Batch number assigned. Cannot be
duplicated within the same day
31 - Early Shipping Order Receipts
Date batch was created/updated;
MMDDYYYY
Time batch was created/updated;
HHMMSS
Six digit code which identifies the
warehouse where the bales are stored
Shipping order number - same number
can be used on different batches.
However, shippers must not enter the
same S/O number for multiple batches
to the same warehouse
Shipper's Mark
Reserved for EWR, Inc. use
MMDDYYYY
1
2
3
4
5
Record Type
Holder ID
User ID
User Password
Batch Number
A
AN
AN
AN
N
1
7
6
8
4
1
2-8
9-14
15-22
23-26
Yes
Yes
Yes
Yes
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Shipping Order
Number
AN
10
49-58
Yes
11
12
13
AN
A
N
8
8
8
59-66
67-74
75-82
Yes
14
Mark
Filler
Requested Load
Date
Block Receipts
A
1
83
15
Filler
A
37
84-120
Y = If batch contains Block Receipts
Blank = Regular Receipts
Reserved for EWR, Inc. use
31-2
BATCH DETAIL RECORD 1 – (SO instructions – Maximum of 99 lines)*
Field
Field Name
Type Size Pos
Req
Description
1
2
3
4
Record Type
Detail Type
Record Number
Text Line
A
A
N
AN
1
1
2
80
1
2
3-4
5-84
5
Filler
A
36
85-120
BATCH DETAIL RECORD 2 – (SO Receipts)
Field
Field Name
Type Size
1
2
3
D=Detail Record
I=Shipping Order Instructions
Record number (1-99)
First two bytes of the 76 byte field are
used for the codes listed in Appendix
B, leaving the last 74 bytes for text.
Reserved for EWR, Inc. use
Pos
Req
Description
D=Detail Record
O=Shipping Order Receipts
Electronic Receipt Number, will be the
same as the warehouse tag number
YYYY; crop year originally assigned to
the receipt when issued
Net weight of each bale
Reserved for EWR, Inc. use
A
A
N
1
1
7
1
2
3-9
Yes
Yes
Yes
4
Record Type
Detail Type
Electronic Receipt
Number
Crop Year
N
4
10-13
Yes
5
6
Net Weight
Filler
N
A
3
104
14-16
17-120
BATCH TRAILER
See Appendix A – Common Batch Trailer
31-3
–Issue World Container IEWR
Batch Type 32 is used by a warehouse to create an IEWR for a bale of cotton that may become part of a
world container lot. The records being issued cannot be on file, that is, electronic receipt numbers
cannot be duplicated. A Batch Type 32 differs from a 42 in that it involves IEWRs that may become part
of a world container group as required by ICE. The warehouse must be approved by ICE to issue
container IEWRs.
To successfully complete a Batch Type 32, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
World Gin Tag is required and cannot be on another open record.
Bale weights are not entered when issuing a world container record.
The warehouse must have an approved warehouse profile on file with the provider system before they
will be allowed to issue an IEWR.
USA warehouses are permitted to use this batch type.
A USA origination code is not allowed on this record type.
If the Disposition Holder ID is collateralized, the bank will not be made the holder of the IEWR. IEWRs
are not eligible for collateralization on the provider system.
Locator ID
The field LOCATOR ID is used to indicate the exact location of a bale within a warehouse. National
Cotton Council recommends that the 8-character field be subdivided in the following manner:
 The 1st group of 3 characters represents whatever is most important to the warehouse in
locating the bale – probably shed or building.
 The 2nd group of 3 characters represents the next most important thing to the warehouse in
locating the bale – probably the row.
 The final 2 characters represent the least important thing to the warehouse in locating the bale
– probably the section/level.
If any errors are found in the batch, an error message is given and the batch will continue to process.
32-1
Acknowledgments generated by a Batch Type 32, when the warehouse remains the holder, are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was
successfully received. Within the acknowledgment will be details listing: Total number of bales
processed, issued and individual bales in error.
Warehouses may, at the time of issue, designate a new holder for the electronic record. This entity is
referred to as the “Disposition Holder”. If this designation is made, then immediately upon storing the
record in the host computer, the Current Holder field is changed from the issuing warehouse to the
Holder ID of the disposition Holder (e.g. M987654).
Acknowledgments generated by a Batch Type 32, when a Disposition Holder is used, are:
 The Disposition Holder will receive a “delivery” or download of all detail data for the records
delivered to them.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the records to
them.
 The warehouse will receive both a Holder acknowledgment for issuing the IEWRs and a Holder
acknowledgment for changing holdership to the Disposition Holder.
32-2
Inbound File Layout
BATCH 32 HEADER LAYOUT
Record Size = 120
Field
1
2
Field Name
Record Type
Holder ID
Type Size
A
1
AN
7
Pos
1
2-8
Req
Yes
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
1
49
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
change by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
32=Issue New world container
receipts
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
11
Filler
A
71
50-120
Reserved for EWR, Inc. use
32-3
BATCH 32 DETAIL - RECORD 1
Field
Field Name
1
Record Type
2
Electronic Receipt
Number
Type Size
A
1
N
7
Pos
1
2-8
Req
Yes
Yes
N
1
9
Yes
4
5
Detail Record
Number
Receipt Type
Issue Date
A
N
1
8
10
11-18
Yes
Yes
T= Container
Date entered into the data field
by the warehouse, not assigned
by EWR. Storage date of the
bale- MMDDYYYY
6
7
8
Filler
Filler
World Gin Tag
N
N
AN
2
3
12
19-20
21-23
24-35
Yes
9
Bagging Type
A
1
36
Yes
10
Ties
A
1
37
Yes
Warehouse assigned code which
identifies the site where the
cotton was ginned and gin tag.
For USA origination cotton this
can be the USDA Gin Code and
Gin Bale Tag.
See Appendix I -Bagging and Ties
Codes for recommendations
See Appendix I-Bagging and Ties
Codes for recommendations
11
12
A
N
1
1
38
39
Yes
Yes
13
Bagging Condition
Compression
Code
Receiving Fee
N
4
40-43
Yes
14
Storage Fee
N
4
44-47
Yes
3
Description
D=Detail Record
Electronic receipt number for the
individual bale. This can be the
same as the warehouse tag
number, but must be a unique
number and not duplicated
within the same crop year.
1=first record of receipt
See Appendix H - Country and
compression codes
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99. If Storage Charge
Frequency is Daily, the entry will
display as cents/day, e.g. 0950 =
9.50 cents per day
32-4
15
Storage Charge
Frequency
A
1
48
Yes
Frequency at which storage
charges are assessed: W=Weekly,
M=Monthly, D=Daily
16
Receiving Fee
Paid
Loading Fee Paid
Classing Fee Paid
Filler
Reconcentrated
A
1
49
Yes
Y=Paid, N=Not paid
A
A
A
A
1
1
1
1
50
51
52
53
Yes
Yes
Yes
Y=Paid, N=Not paid
Y=Paid, N=Not paid
21
Previous
Warehouse Code
N
6
54-59
22
Previous Receipt
Number
N
7
60-66
23
Storage Paid
Through
N
8
67-74
24
Crop Year
N
4
75-78
25
Is Stored Outside
A
1
79
26
Locator ID
AN
8
80-87
27
User Defined
AN
12
88-99
28
Filler
AN
2
100-101
17
18
19
20
Y=Reconcentrated bale. Previous
code and receipt are required
and cannot be zero.
N=Not reconcentrated. Previous
warehouse code and receipt
must be empty.
See Note 1
Code of previous warehouse.
Required if the “Reconcentrated”
field is “Y”.
Warehouse receipt number from
previous warehouse. Required if
the “Reconcentrated” field is “Y”.
This receipt number must not be
an open receipt in the previous
warehouse.
Storage paid through date;
MMDDYYYY: Last date that
storage charges against the bale
were paid to the warehouse
Yes
Crop year in which the cotton
was grown; YYYY
See Note 1
Y=Yes and Issue Date is date
moved outside;N=No, bale is
inside; Blank=unknown
Exact location of bale within a
warehouse
Optional information that can
updated by the current holder.
32-5
29
Origin Country
Code
30
31
32
A
3
102-104
Disposition Holder AN
ID
7
105-111
EWR Container ID
Filler
8
1
112-119
120
A
A
Yes
No
Must be valid country code. See
Appendix H. But cannot be USA.
See Note 1
Holder ID to which receipts will
be transferred upon issuance. If
a disposition Holder ID is
entered. If left empty then the
warehouse remains the holder of
the EWR. This cannot be a bank
holder for any type of world
receipt or IEWR.
See Note 1
Note 1: The EWR Container ID is used for transferring a EWR Container ID between two warehouses. If
filled the following apply:
a. Container ID must exist on the provider system
b. IsReconcentrated must be Y
c. Require correct previous info (warehouse ID and number) in Field # 21 and 22
i. Must exist and not open on another receipt
ii. Must have the same EWR Container ID
d. World gin tag must match world gin tag on previous receipt and not be on another open
receipt
e. Crop year must match origin crop year on previous receipt
f. Requires correct disposition holder (Must match shipper/merchant that sent the
shipping order)
g. Origin country code must match origin country code on previous receipt
BATCH TRAILER
See Appendix A – Common Batch Trailer
32-6
–Reserved
33-1
–World Container Request
Batch Type 34 is used by the holder of a world container IEWR to request the warehouse “move” the
bales into a container lot or group.
To successfully complete a Batch Type 34, the holder must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
This batch type will have the following conditions:





Only records issued as container receipts (Type “T”) will be allowed to be “grouped” into a
container. (Single World Certificated, #2 Certificated and Decertificated receipts are not allowed).
When requesting a new container group, all records in request must have their collateral status as
“Open”. They cannot be “Pending Container” or “In Container”.
All records within the container request must have the same origination country.
If a single record fails validation, then all records are rejected for that container and a new container
is not created or assigned.
Process will do the following on a successful batch (non-dissolve action flag and non-transfer flag):
o Create a container group with a EWR container ID on the provider system with the container
status being “Pending”.
o Clear existing classing data on all container records within the container group
o Set world tenderable to “NT” for all container records within the container group
o Update collateral flag on container records to “Pending Container”
o If a non-warehouse holder is sending the batch then:
 Make the warehouse the holder of the container IEWRs
 Make the sender the subholder of the container IEWRs
 Send a container delivery file to the warehouse.
o EWR Container ID will be available in the Holder Acknowledgement file created by the
provider.
34-1

This batch type will also allow for requesting that the warehouse clear or remove all bales on a
container (Dissolve Container) by setting the “Action Flag” to “D”.
o This will send a file to the warehouse requesting the container group be “Dissolved”
o This container will NOT be dissolved until the warehouse responds with a batch 35 to this
request.
o Once a container is “Pending Dissolve”, it can only be dissolved. It cannot be delivered to
another holder or placed on a shipping order.
o A container with a status of “Pending Container” cannot be dissolved. The container must
be validated by the warehouse using a Batch Type 38.

This batch type will also allow for requesting that the provider system transfer an existing EWR
Container ID to a new warehouse by setting the “Action Flag” to “T” and entering the original EWR
Container ID in the header.
o Provider validates
 The EWR Container ID exists and has not already been reassigned
 All receipts match (Same world gin tags) the EWR Container ID in the previous
warehouse
 Total number of bales match from EWR Container ID in the previous warehouse
 NEW warehouse ID matches destination warehouse id on original shipping order
o Provider updates container header record on file with:
 New warehouse id
 Status = Pending Container Request
 Remove previous warehouse bales from container
 Remove original shipping order and date shipped from container
 Add new receipts as part of the container group
o If any receipt fails validation, the container is dissolved.
If any errors are found in the batch, an error message is given and the batch will fail to process and
request will not be made.

The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Acknowledgments generated by a Batch Type 34 are:


The warehouse will receive a “delivery” (HD34) or download of all detail data for the records
delivered to them.
The current Holder will receive a Holder acknowledgment showing the results of the batch.
34-2
Inbound File Layout
BATCH 34 HEADER LAYOUT
Field
Field Name
1
Record Type
Record Size = 120
Type
A
Size
1
Pos
1
Req
Yes
Description
H = Header Record
Current holder ID of the
container receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
changed by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
34=Request a container
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
N
6
49-54
11
Total Bales
N
3
55-57
12
Action Flag
A
1
58
13
EWR Container ID
A
8
59-66
No
14
AN
12
67-78
No
AN
10
79-88
No
16
Warehouse
Container Mark
Purchase Order
Number
Invoice Number
AN
10
89-98
No
17
Filler
A
22
99-120
15
Yes
Number of bales in container.
This number must match the
number of bales in batch detail.
C=Request for container
D=Dissolve container
T = Transfer Certificated
Container
Required if Action=D or T
Used if merchant assigns
container mark
Purchase Order number of the
Buyer
Invoice # of the Seller; Contract #
for cert. receipts
Reserved for future EWR use
34-3
BATCH DETAIL
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Receipt Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
Electronic receipt number for the
World Receipt
1
4
5
Detail Type
Crop Year
A
N
1
4
10
11-14
Yes
Yes
6
User Defined
AN
12
15-26
7
World Gin Tag
A
12
27-38
8
Filler
A
82
39-120
T = Container
Crop year in which the cotton
was grown; YYYY
Optional information that can
updated by the current holder
Optional, if entered must match
EWR Record
Reserved for EWR, Inc. use
BATCH 34 TRAILER
See Appendix A – Common Batch Trailer
34-4
–Deliver a World Container
Batch Type 35 is used by the holder of a world container group to change the holdership of a container
group to another holder.
This batch type should not be used to ship a container from a warehouse or to deliver a single IEWR
from a container group. Once a IEWR is part of a container group it can only be “delivered” by using this
batch type.
To successfully complete a Batch Type 35, the holder must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
This batch type will have the following conditions:







The sender must be the current holder of all the IEWRs within the container group.
The number of container bales in the batch detail field must match the number of IEWRs the
provider system has on file for that EWR container ID to successfully process.
All receipts for the EWR container ID must have their collateral status as “In Container” or “Dissolve
Container Pending”.
On a successful delivery all IEWRs within that container will be updated with the new holder.
Allow for an Action Flag in the batch header for the warehouse to dissolve an existing container and
deliver the IEWRs back to the subholder.
o This will allow for clearing the EWR container ID on all IEWR.
o This will update the world tenderable flag on each receipt based on the classing data
currently on the receipt.
o A container group cannot be dissolved unless it has been first validated on a Batch type 38.
It cannot be “pending Container”.
If any errors are found in the batch, an error message is given and the batch will continue to process
and attempt to deliver all container IDs within the batch that are not in error.
If the Disposition Holder ID collateralized, the bank will not be made the holder of the IEWR. IEWRs
are not eligible for collateralization on the provider system.
35-1
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Outbound files generated by a Batch Type 35 are:
 The Disposition Holder will receive a “delivery” or download of all detail data for the records
delivered to them.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the records to
them.
 The sender will receive a Holder acknowledgment.
Inbound File Layout
BATCH 35 HEADER LAYOUT
Field
Field Name
Record Size = 120
Type
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
H=Header Record
2
Holder ID
AN
7
2-8
Yes
Holder ID of seller
3
User ID
AN
6
9-14
Yes
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
User ID password
5
Batch Number
N
4
23-26
Yes
Batch number assigned.
6
Batch Type
N
2
27-28
Yes
35=Delivery of Receipts
7
Batch Date
N
8
29-36
Yes
Date batch - MMDDYYYY
8
Batch Time
N
6
37-42
Yes
Time batch - HHMMSS
9
Buyer ID
AN
7
43-49
Yes
Holder ID of the buyer.
10
Action Flag
A
1
50
11
Filler
N
1
51
“D” if the warehouse is dissolving the
containers and delivering the
individual container receipts.(Only
available to warehouse that issued the
receipts)
Reserved for EWR, Inc. use
12
Filler
A
1
52
Reserved for EWR, Inc. use
13
Filler
A
1
53
Reserved for EWR, Inc. use
14
Filler
A
1
54
Reserved for EWR, Inc. use
15
Filler
A
66
55-120
Reserved for EWR, Inc. use
35-2
BATCH 35 DETAIL
Field Field Name
Type
Size
Pos
Req
Description
1
2
3
Record Type
Warehouse Code
EWR Container ID
A
N
N
1
6
8
1
2-7
8-15
Yes
Yes
Yes
D-Detail Record
Warehouse code of the receipt
EWR Container ID
4
Bales in Container
N
4
16-19
Yes
Number of bales in container
5
AN
10
20-29
Purchase Order number of the Buyer
6
Purchase Order
Number
Invoice Number
AN
10
30-39
7
Filler
AN
12
40-51
Invoice # of the Seller; Contract # for
cert. receipts
Reserved for EWR, Inc. use
8
9
Filler
Filler
A
A
1
68
52
53-120
Reserved for EWR, Inc. use
Reserved for EWR, Inc. use
BATCH 35 TRAILER
See Appendix A – Common Batch Trailer
35-3
– Cancel a World Container
Batch Type 36 is used by a warehouse that created the IEWR to cancel all open container IEWRs
associated for a specific EWR Container ID. This batch type gives warehouses the ability to cancel
several IEWRs with only one detail data entry
When canceling any record, the warehouse must be the Current Holder of the record and the original
issuer of the IEWR. The Current Holder (warehouse) is required to send a valid batch file as in the
Layout section of this document. Upon a successful cancellation, all IEWRs for a specific EWR Container
ID will be canceled.
To successfully complete a Batch Type 36, the warehouse must send a batch that contains all required
information as defined in the Layout section in this document
Upon processing, the following acknowledgments are generated:
 The warehouse will receive a Holder acknowledgment
If any errors are found in the batch or container, then an error message is given and the batch will
continue to process, but the container and its IEWRs in error will not be cancelled.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
36-1
Inbound File Layout
BATCH 36 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
User ID
AN
6
9-14
Yes
H=Header
Holder ID of warehouse creating
the batch, must also be the
holder of the electronic receipt.
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
Password for the User
5
Batch Number
N
4
23-26
Yes
Batch number assigned
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Filler
A
1
43
36=Cancel Receipts by EWR
Container ID
Date batch is created/updated
MMDDYYYY
Time batch is created/updated
HHMMSS
Reserved for EWR, Inc. use
10
Filler
A
77
44-120
Reserved for EWR, Inc. use
BATCH DETAIL
Field
Field Name
Type
Size
Pos
Req
Description
1
2
Record Type
EWR Container ID
A
N
1
8
1
2-9
Yes
Yes
D=Detail Record
3
Bales in Container
N
4
10-13
Yes
Number of bales in container
4
Filler
AN
107
14-120
Reserved for EWR, Inc. use
BATCH 36 TRAILER
See Appendix A – Common Batch Trailer
36-2
- Ship a world Container
Batch Type 37 is used by shippers to enter both shipping order instructions and shipping order EWR
Container ID to notify a warehouse to ship all the records in the container group. This is to facilitate the
ability to cross reference shipping orders with the instructions.
To successfully complete a Batch Type 37, the holder must send a batch that contains all required
information as defined in the Layout section in this document. The RECORD COUNT in the trailer must
be correct. Also, all records must be error free, otherwise no receipts are delivered to the warehouse.
The system does not allow delivery of partial shipping orders.
Shipping Instructions cannot be sent without Shipping Order Receipts. However, Shipping Instructions
are not required. That is, text cannot be sent without receipts attached, thus making container ID’s a
requirement in the Batch Type 37. Instructions can be free-form or can adhere to a specific format
shown in the EWR file layout under the field name TEXT LINE. Many users rely on the specific format.
Batch Type 37 initiates the change of holdership of the IEWRs in the shipment to a warehouse. This
batch should not be used to change holdership to any other entity for any reason.
If the requesting holder is the Current Holder, the warehouse will become the Current Holder and the
requesting holder will become the subholder.
The batch has the following conditions:
 Allow for several EWR Container IDs to be shipped on a single order
 Require the number of container bales in the batch detail record to match the number of records
the provider system has on file for that EWR container ID to successfully process
 All receipts for the EWR container ID must have their collateral status as “In Container”
 IEWRs part of the container group cannot be on an existing shipping order
 IEWRs part of the container group must have record status of “Open”
37-1
Decert Action Flag
This header field can be used to decertify IEWRs or transfer certificated IEWRs. The options are as
follows:


Y =All records part of the container group are made non world tenderable prior to delivery
T = The order is delivered to the warehouse with the records remaining world tenderable. This is
used for a Certificated Transfer of EWR Container ID from one warehouse to a new warehouse.
Acknowledgments and Deliveries
Acknowledgments generated by a Batch Type 37 are:


The holder receives a Holder acknowledgment for the batch.
The warehouse receives the Container Shipping Order Records and Instructions (Batch Type 37.)
If any errors are found in the batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
37-2
Inbound File Layout
BATCH 37 HEADER LAYOUT
Field Field Name
1
Record Type
2
Holder ID
3
User ID
4
User Password
5
Batch Number
6
Batch Type
7
Batch Date
8
Batch Time
9
Warehouse Code
Type
A
AN
AN
AN
N
N
N
N
N
Size
1
7
6
8
4
2
8
6
6
Pos
1
2-8
9-14
15-22
23-26
27-28
29-36
37-42
43-48
Req
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Record Size = 120
Description
H=Header Record
Holder ID of Merchant creating the batch.
User ID of person creating batch
Password for the User
Batch number
37
Date of batch; MMDDYYYY
Time of batch;HHMMSS
Warehouse code which issued the
receipts
S/O number, same number can be used
on different batches. However, shippers
must not enter the same S/O number for
multiple batches to the same warehouse
Shipper's Mark
Reserved for EWR, Inc. use.
10
Shipping Order
Number
AN
10
49-58
Yes
11
12
Mark
Filler
AN
A
8
8
59-66
67-74
Yes
13
Requested Load
Date
Filler
N
8
75-82
MMDDYYYY, requested shipping date
A
2
83-84
Reserved for EWR, Inc. use.
Window Days
Filler
Destination
Warehouse
Filler
Decert Action
N
A
N
2
1
6
85-86
87
88-93
A
A
8
1
94-101
102
Days before or after to reschedule
Reserved for EWR, Inc. use.
Destination Warehouse ID of Loan
transfer. Required if decert action = T
Reserved for EWR, Inc. use.
Y = Update all world container receipts as
non-world tenderable before delivering
to warehouse
14
15
16
17
18
17
18
Filler
A
18
103120
Yes
T=All receipts are certificated and are
being transferred to a new warehouse.
Reserved for EWR, Inc. use
37-3
BATCH DETAIL RECORD 1 – (SO Instructions – Maximum of 99 Lines)
Field
Field Name
Type Size Pos
Req
Description
1
Record Type
A
1
1
D=Detail Record
2
Detail Type
A
1
2
I=Shipping Order Instructions
3
Record Number
N
2
3-4
Record number (1-99)
4
Text Line
AN
80
5-84
First two bytes of the 76 byte field are
used for the codes listed in Appendix B,
leaving the last 74 bytes for text.
5
Filler
A
36
85-120
Reserved for EWR, Inc. use
BATCH DETAIL RECORD 2 - (Container Receipts)
Field Field Name
Type Size Pos
1
2
3
4
5
6
Record Type
Detail Type
EWR Container
ID
Bales in
Container
Warehouse
Container Mark
Filler
Req
Description
A
A
N
1
1
8
1
2
3-10
Yes
Yes
Yes
D=Detail Record
T=World Container Receipts
N
4
11-14
Yes
Number of bales in container
AN
12
15-26
End user supplied container mark
A
94
27-120
Reserved for EWR, Inc. use
BATCH 37 TRAILER
See Appendix A – Common Batch Trailer
37-4
– Validate a World Container
Batch Type 38 is used by a warehouse validate and finalize the request to move bales into a container
lot or group.
To successfully complete a Batch Type 38, the holder must send a batch that contains all required
information as defined in the Layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
This batch type will have the following conditions:









Each container IEWR must have a collateral status of “Pending container”
Each container IEWR must belong to the EWR Container ID contained in the batch header.
EWR must have the classing on file for at least 20% of the records that are in the container group
before the warehouse sends this batch, otherwise the batch will fail.
Batch requires classing data on at least 20% of the records to be validated. NOTE: Any record with
the ICA classing data will be validated, thus there could be more than the minimum 20%.
Batch requires Lot # (greater than 99999) and warehouse container mark.
If EWR validation passes, then the following occurs:
o Update all records within container group as World Tenderable = T
o Update all records within container group collateral flag to “In Container”
o Update container ID status as “Open”
o If a disposition holder ID is filled in the batch header then the holder is transferred from the
warehouse to the disposition holder and a delivery file is sent to the new holder.
If a single receipt fails validation , then the following occurs:
o All records are rejected for that container group
o Update container ID status as “Rejected”
o The collateral status field on each receipt is changed to “Open”
o The World Tenderable field on each record is re-validated based on individual classing
values
o Remove EWR Container ID from all records within that container group
o All receipts for that container group remain under the warehouse holder ID unless the
disposition holder is filled. In that case the individual records are sent to the new holder
without a container ID.
Only the warehouse that issued the IEWR will be allowed to move it into a container group.
If the Disposition Holder ID collateralized, the bank will not be made the holder of the IEWRs. IEWRs
are not eligible for collateralization on the provider system.
38-1
Acknowledgments generated by a Batch Type 38, when the warehouse remains the holder, are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was
successfully received and processed. Within the acknowledgment will be details listing: Total
number of bales processed, issued and individual bales in error.
Warehouses may, at the time of validatation return the holdership back to the requestor (Sub Holder)
by entering the “Disposition Holder”. If this designation is made, then immediately upon successfully
validation the container group, all container recordss will have their Current Holder field changed from
the warehouse to the Holder ID of the disposition Holder (e.g. M987654).
Acknowledgments generated by a Batch Type 38, when a Disposition Holder is used, are:
 The Disposition Holder will receive a “receipt delivery” or download of all detail data for the
records delivered to them.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the records to
them.
 The warehouse will receive both a Holder acknowledgment for validating the container group
and a Holder acknowledgment for changing holdership to the Disposition Holder.
38-2
Inbound File Layout
BATCH 38 HEADER LAYOUT
Field
Field Name
1
Record Type
Record Size = 120
Type
A
Size
1
Pos
1
Req
Yes
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
changed by the user
Sequential number assigned for
each batch.
38=Validate container
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
A lot number greater than 99999.
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
ICE Lot Number
N
6
49-54
Yes
11
Bales in Container
N
3
55-57
Yes
12
Filler
A
6
58-63
No
13
Disposition Holder
ID
AN
7
64-70
No
14
Filler
AN
1
71
14
AN
12
72-83
AN
10
84-93
16
Warehouse
Container Mark
Purchase Order
Number
Invoice Number
AN
10
94-103
17
Filler
A
1
104
15
Number of bales in container.
This number must match the
number of bales in batch detail.
Transfer container and receipts
to new holder. Assuming the
container validation passes and
these field is filled, the container
receipts holdership will be
transferred to this ID. This cannot
be a bank holder for any type of
world receipt or IEWR.
Reserved for EWR, Inc. use
Yes
Purchase order number of the
Buyer
Invoice # of the Seller; Contract #
for cert. receipts
38-3
18
EWR Container ID
N
8
19
Filler
A
8
105112
113120
Yes
Reserved for future EWR use
BATCH DETAIL
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Receipt Number
N
7
2-8
Yes
3
N
1
9
Yes
4
Detail Record
Number
Receipt Type
Electronic receipt number for the
World Receipt
1
A
1
10
Yes
T = Container
5
Crop Year
N
4
11-14
Yes
6
User Defined
AN
12
15-26
7
Receiving Fee
N
4
27-30
8
Storage Fee
N
4
31-34
9
Storage Charge
Frequency
A
1
35
Yes
10
11
Receiving Fee Paid
Loading Fee Paid
A
A
1
1
36
37
Yes
Yes
Crop year in which the cotton
was grown; YYYY
Optional information that can
updated by the current holder.
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99 - Charge is per
bale (US Currency)
9999 (2 decimal); Warehouse
defined charge, for example
0250=$2.50 - 99V99 (US
Currency)
Frequency at which storage
charges are assessed; W=Weekly,
M=Monthly, D=Daily
Y=Paid N=Not Paid
Y=Paid N=Not Paid
12
Classing Fee Paid
A
1
38
Yes
Y=Paid N=Not Paid
13
Storage Paid
Through
N
8
39-46
Storage paid through date;
MMDDYYYY
Last date that storage charges
against the bale were paid
38-4
14
Bale Tare Weight
N
2
47-48
Yes
15
Bale Net Weight
N
3
49-51
Yes
16
Delivery Point
N
2
52-53
17
Weigh Date
N
8
54-61
18
Filler
A
59
62-120
Yes
Represents the number of
pounds subtracted from the
gross weight to compensate for
bagging and ties on the bale.
Only USA warehouses are
allowed to send the weight in this
batch. All other non-USA
warehouses will have this field
ignored.
Gross weight of bale minus tare
weight. This weight must be
within specific range in Appendix
H or container will be dissolved.
Only USA warehouses are
allowed to send the weight in this
batch. All other non-USA
warehouses will have this field
ignored.
Optional – See Appendix E –
Delivery Points
Warehouse assigned.
MMDDYYYY
Reserved for EWR, Inc. use
BATCH 38 TRAILER
See Appendix A – Common Batch Trailer
38-5
– Uncancel a World Container
A Batch Type 39 is used to uncancel a group of world container IEWRs by EWR Container ID. To
uncancel the IEWR, the warehouse which issued the container IEWR and who is the holder, must
identify the records to uncancel by sending a valid batch file as defined in the Layout section of this
document. If successful this process will uncancel (mark as “Open”) all the records within the container
group.
The warehouse cannot uncancel a single container IEWR that was part of a container lot.
Upon uncancellation, the warehouse can elect to have holdership of the container IEWR immediately
changed to another holder, but it can only be the subholder. To effect the change, the warehouse must
enter a Disposition Holder ID into that field.
If the Disposition Holder ID collateralized, the bank will not be made the holder of the container IEWRs.
Container IEWRs are not eligible for collateralization on the provider system.
Acknowledgments for the Batch Type 39 are:
 Warehouse receives a Holder acknowledgment
 If a disposition holder was entered on the initial upload, the following will occur:
o The new holder will receive a holder acknowledgment
o The new holder will receive a download of the container receipt detail for all records in
the batch
o The warehouse will receive a holder acknowledgement for each disposition holder
entered in the batch.
If any errors are found in the batch, an error message will be given and the batch will continue to
process.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
39-1
Inbound File Layout
BATCH 39 HEADER LAYOUT
Field
Field Name
1
Record Type
Record Size = 120
Type
A
Size
1
Pos
1
Req
Yes
Description
H=Header Record
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
Holder ID of warehouse creating
the batch, must also be the
holder of the electronic receipt
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
Password for the User
5
Batch Number
N
4
23-26
Yes
Holder assigned number
6
7
8
9
Batch Type
Batch Date
Batch Time
Warehouse Code
N
N
N
N
2
8
6
6
27-28
29-36
37-42
43-48
Yes
Yes
Yes
Yes
10
Filler
A
72
-120
39=Uncancel a Container Lot
Date of batch; MMDDYYYY
Time of batch; HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
BATCH DETAIL
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
EWR Container ID
N
8
2-9
Yes
EWR Container ID
3
Bales in Container
N
4
10-13
Yes
Number of bales in container
4
Disposition Holder
ID
AN
7
14-20
5
Action Flag
A
1
21
6
Filler
A
99
22-120
Holder ID who is to become
holder after the container
receipts are uncanceled. This
cannot be a bank holder for any
type of world receipt or IEWR.
Blank = Leave in container
D = Delivery and remove from
container (warehouse holder
only)
Reserved for EWR, Inc. use
BATCH 39 TRAILER
See Appendix A – Common Batch Trailer
39-2
- Reserved
- Reserved
41-1
– Issue World Certificated IEWR
Batch Type 42 is used by a warehouse to create a certificated IEWR (Type “W”) for a bale of cotton that
is one of the following:
A. Grown outside the USA and stored outside the USA
B. Grown in the USA and stored outside the USA
C. Grown outside the USA and stored in a USA warehouse
A Batch Type “42” differs from a “32” in that it involves issuance of IEWRs which are deliverable against
a futures contract on the ICE Exchange (ICE) and IEWRs will not be part of a container lot.
To successfully complete a Batch Type 42 the following items are required:
 The warehouse must send a batch that contains all required information as defined in the
Layout section in this document.
 The warehouse ID, warehouse receipt number and crop year combination cannot exist on the
provider system
 EWR must receive classing from an ICE specified classing office (Non-USA origination only) prior
to the warehouse sending the batch file to EWR.
 World Gin Tag is required on non-USA origination and cannot be on another open record.
 The warehouses must have an approved warehouse profile on file with the provider system.
 Receipts must have valid weight range for country of origin.
 A six digit lot number greater than 99999.
 USA warehouses will only allowed to use this batch type for records that do not have a USA
country origin.
 Gin Code, Gin Bale Number and classing data are required in the batch for USA origination.
 The bale weight is required to be on file with the provider before attempting to issue the
receipt. (Non-USA warehouses only)
EWR will determine if the IEWR is “World Tenderable” based on the contract terms defined by ICE and
the classing data directly from the classing office. It is possible for an IEWR to be issued and “Non World
Tenderable (NT)”.
If any errors are found in the batch, an error message is given and the batch will continue to process.
Acknowledgments generated by a Batch Type 42, when the warehouse remains the holder, are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was
successfully received. Within the acknowledgment will be details listing: Total number of bales
processed, issued and individual bales in error.
42-1
Warehouses may, at the time of issue, designate a new holder for the IEWR. This entity is referred to as
the “Disposition Holder”. If this designation is made, then immediately upon storing the record in the
host computer, the Current Holder field is changed from the issuing warehouse to the Holder ID of the
disposition Holder (e.g. M987654).
If the Disposition Holder ID is collateralized, the bank will not be made the holder of the container
receipts. Container receipts are not eligible for collateralization on the provider system.
42-2
Acknowledgments generated by a Batch Type 42, when a Disposition Holder is used, are:
 The Disposition Holder will receive a “delivery” or download of all detail data for the receipts
delivered to them.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the receipts to
them.
 The warehouse will receive both a Holder acknowledgment for issuing the receipts and a Holder
acknowledgment for changing holdership to the Disposition Holder.
Inbound File Layout
BATCH 42 HEADER LAYOUT
Record Size = 120
Field
1
2
Field Name
Record Type
Holder ID
Type Size
A
1
AN
7
Pos
1
2-8
Req
Yes
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
1
49
Description
H = Header Record
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
change by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
42=Issue world certificated
receipts
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code which issues
the receipts
Reserved for EWR, Inc. use
11
Filler
A
71
50-120
Reserved for EWR, Inc. use
42-3
BATCH 42 DETAIL - RECORD 1
Field
Field Name
1
Record Type
2
Electronic Receipt
Number
Type Size
A
1
N
7
Pos
1
2-8
Req
Yes
Yes
3
4
Record Number
Receipt Type
N
A
1
1
9
10
Yes
Yes
5
Issue Date
N
8
11-18
Yes
6
Bale Tare Weight
N
2
19-20
Yes
7
Bale Net Weight
N
3
21-23
Yes
8
USDA Gin Code
N
5
24-28
Yes
Description
D=Detail Record
Electronic receipt number for the
individual bale. This can be the
same as the warehouse tag
number, but must be a unique
number and not duplicated
within the same crop year.
1=first record of receipt
W=World Certificated
Date entered into the data field
by the warehouse, not assigned
by EWR. Storage date of the
bale- MMDDYYYY
Represents pounds subtracted
from gross weight to compensate
for bagging and ties on the bale
Gross weight of bale minus tare
weight. If this weight is outside
the range specified for the
country of origin (See Appendix
H), then the receipt is rejected.
Only USA warehouses are
allowed to send the weight in this
batch. All other non-USA
warehouses will have this field
ignored.
Required on USA origination
Can be blank on non-USA
origination
9
USDA Gin Bale
Tag
N
7
29-35
Yes
10
Bagging Type
A
1
36
Yes
11
Ties
A
1
37
Yes
12
Bagging Condition
A
1
38
Yes
13
Compression
Code
N
1
39
Yes
Required on USA origination
Can be blank on non-USA
origination
See Appendix I -Bagging and Ties
Codes for recommendations
See Appendix I-Bagging and Ties
Codes for recommendations
See Appendix H - Country and
compression codes
42-4
14
Receiving Fee
N
4
40-43
Yes
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99
15
Storage Fee
N
4
44-47
Yes
16
Storage Charge
Frequency
A
1
48
Yes
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99. If Storage Charge
Frequency is Daily, the entry will
display as cents/day, e.g. 0950 =
9.50 cents per day
Frequency at which storage
charges are assessed: W=Weekly,
M=Monthly, D=Daily
17
Receiving Fee
Paid
Loading Fee Paid
Classing Fee Paid
Filler
Reconcentrated
A
1
49
Yes
Y=Paid, N=Not paid
A
A
A
A
1
1
1
1
50
51
52
53
Yes
Yes
Y=Paid, N=Not paid
Y=Paid, N=Not paid
22
Previous
Warehouse Code
N
6
54-59
23
Previous Receipt
Number
N
7
60-66
24
Storage Paid
Through
N
8
67-74
25
Crop Year
N
4
75
26
Is Stored Outside
A
1
79
18
19
20
21
Y=Reconcentrated bale. Previous
code and receipt are required
and cannot be zero.
N=Not reconcentrated. Previous
warehouse code and receipt
must be empty.
Code of previous warehouse.
Required if the “Reconcentrated”
field is “Y”.
Warehouse receipt number from
previous warehouse. Required if
the “Reconcentrated” field is “Y”.
This receipt number must not be
an open receipt in the previous
warehouse.
Storage paid through date;
MMDDYYYY: Last date that
storage charges against the bale
were paid to the warehouse
Yes
Crop year in which the cotton
was grown; YYYY
Y=Yes and Issue Date is date
moved outside;N=No, bale is
inside; Blank=unknown
42-5
27
Locator ID
AN
8
80
Exact location of bale within a
warehouse
28
User Defined
AN
12
88
Optional information that can
updated by the current holder.
29
30
Filler
AN
Disposition Holder AN
ID
5
7
100
105-111
31
Grower ID
9
112-120
A
Holder ID to which receipts will
be transferred upon issuance. If
a disposition Holder ID is
entered. If left empty then the
warehouse remains the holder of
the EWR. This cannot be a bank
holder for any type of world
receipt or IEWR.
Optional
BATCH 42 DETAIL – RECORD 2
Field
1
2
Field Name
Record Type
Electronic Receipt
Number
Type
A
N
Size
1
7
Pos
1
2-8
Req
Yes
Yes
3
Record Number
N
1
9
Yes
4
Lot Number
N
6
10-15
5
6
7
8
Delivery Point
Weigh Date
Filler
Rain Grown
N
N
A
A
2
8
2
1
16-17
18-25
26-27
28
Yes
Yes
9
Origin Country Code
A
3
29-31
Yes
10
World Gin Tag
AN
12
32-43
Yes
11
Color Grade
N
2
44-45
Yes
Yes
Description
D=Detail Record
Electronic receipt number of the
bale, this entry must be the same
as in detail record 1
2=Second record of electronic
receipt
Lot number assigned by ICE
World Cotton has lot number
greater than 9999.
See Appendix E
Warehouse assigned MDDYYYY.
R=rain grown
N=non rain
U=Unknown
Must be valid country code. See
Appendix H.
Warehouse assigned code which
identifies the site where the
cotton was ginned and gin tag
See Note 1. Used by EWR for
determining world tenderable
42-6
12
Staple
N
2
46-47
Yes
13
Micronaire
N
2
48-49
Yes
14
15
16
Extraneous Matter
Remarks
Strength
N
N
N
2
2
4
50-51
52-53
54-57
Yes
17
18
19
20
21
HVI Color
Color Quadrant
Filler
HVI +B
Leaf Grade
N
N
N
N
N
2
1
2
3
1
58-59
60
61-62
63-65
66
22
23
24
25
26
27
28
Trash %
Length
USDA Tenderable
HVI RD
Uniformity
Received From
Class Date
N
N
A
N
N
A
N
2
3
2
3
3
30
8
29
Filler
A
3
67-68
69-71
72-73
74-76
77-79
80-109
110117
118120
Yes
Yes
See Note 1. Used by EWR for
determining world tenderable
See Note 1. Used by EWR for
determining world tenderable
See Note 1.
See Note 1.
See Note 1. Used by EWR for
determining world tenderable
See Note 1.
See Note 1.
See Note 1.
See Note 1. Used by EWR for
determining world tenderable
AMS assigned.
See Note 1.
See Note 2.
See Note 1.
See Note 1.
See Note 1. MMDDYYYY
Reserved for EWR, Inc. Use
Note 1: If the Origin Country Code is USA, then classing is required in this field and is supplied by the
warehouse when uploading the file. If the Origin County Code is not USA, this field is not saved.
Note 2: If the Origin Country Code is USA, then this field is required and can be one of the following:



NT = Non-tenderable
T = Tenderable
SD = Smith-Doxey Tenderable
BATCH TRAILER
See Appendix A – Common Batch Trailer
42-7
– Reserved
43-1
- Maintain World IEWR
Batch Type 44 is used by a warehouse to maintain IEWR records.
To successfully complete a Batch Type 44 the following items are required:
 The warehouse must send a batch that contains all required information as defined in the
Layout section in this document
 The warehouse must be the holder of the IEWR and have issued the IEWR to update most fields.
The warehouse will be able to update certain fields (storage paid thru date, etc.) without being
the holder.
 Only valid for world record types (Type “T”,“W” and “X”)
 World Gin Tag cannot be changed on record that has been classed
 Receipts must have valid weight range for country of origin
 The warehouse will not be able to update selected fields of a container IEWR if the IEWR is part
of a container group (See Note 1)
To create a Batch Type 44 and change an IEWR, the warehouse must identify three (3) key fields:
 RECEIPT NUMBER
 WAREHOUSE CODE
 CROP YEAR
These key fields cannot be changed under any circumstance, and they are used only to identify which
records in the host computer to change. After a record is identified, only the fields to be changed
should be edited. For example, if the net weight was correctly entered when the IEWR was issued, no
entry in this field of the Batch Type 44 is required.
If any of the key fields identified above are incorrect and require change, then the IEWR must be
canceled and a new IEWR issued.
This batch type can be used to “Decertificate” an open IEWR (Type “W” only) by setting the “Receipt
Type” field to “X” in the detail record. Once a record has been decertificated, it cannot be “recertificated”.
EWR will determine if the IEWR is “World Tenderable” based on the contract terms defined by ICE and
the classing data received directly from the classing office. It is possible for a IEWR to be issued and
“Non World Tenderable (NT)”.
44-1
If the Disposition Holder ID collateralized, the bank will not be made the holder of the IEWRs. IEWRs are
not eligible for collateralization on the provider system.
If any errors are found in the batch, an error message is given and the batch will continue to process.
Acknowledgments generated by a Batch Type 44, when the warehouse remains the holder, are:
 The warehouse will receive a Holder acknowledgment. This confirms that the batch was
successfully received. Within the acknowledgment will be details listing: Total number of bales
processed, issued and individual bales in error.
Warehouses may also designate a new holder for the IEWR. This entity is referred to as the “Disposition
Holder”. If this designation is made, then immediately upon updating the record in the host computer,
the Current Holder field is changed from the issuing warehouse to the Holder ID of the disposition
Holder (e.g. M987654).
Acknowledgments generated by a Batch Type 44, when a Disposition Holder is used, are:
 The Disposition Holder will receive a “delivery” or download of all detail data for the records
delivered to them.
 The Disposition Holder will receive a Holder acknowledgment showing who sent the records to
them.
 The warehouse will receive both a Holder acknowledgment for issuing the records and a Holder
acknowledgment for changing holdership to the Disposition Holder.
44-2
Inbound File Layout
BATCH 44 HEADER LAYOUT
Record Size = 120
Field
1
Field Name
Record Type
Type Size
A
1
Pos
1
Req
Yes
Description
H = Header Record
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
4
User Password
AN
8
15-22
Yes
5
Batch Number
N
4
23-26
Yes
6
Batch Type
N
2
27-28
Yes
Holder ID of warehouse issuing
receipts
User ID of person creating batch,
unique for each user of the EWR
system
Password for the User, can be
change by the user
Sequential number assigned for
each batch. Cannot be
duplicated within the same day
44=Maintain World Receipts
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Warehouse Code
N
6
43-48
Yes
10
Filler
A
1
49
11
Filler
AN
10
50-59
12
Filler
A
61
60-120
Date batch created or updated;
MMDDYYYY
Time batch created or updated;
HHMMSS
Warehouse code or ID which
issues the receipts
Reserved for EWR, Inc. use
BATCH 44 DETAIL - RECORD 1
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
Electronic receipt number for the
individual bale. Will be the same
as the warehouse tag number
1=First record of receipt
4
Receipt Type
A
1
10
Yes
5
Issue Date
N
8
11-18
See Appendix D – Receipt Types.
(T, W, X) allowed. Cannot change
a receipt type from T to W or
vice-versa. See Note 1.
Date entered into the data field
by the warehouse, not assigned
by EWR. Storage date of the
bale- MMDDYYYY
44-3
6
Bale Tare Weight
N
2
19-20
7
Bale Net Weight
N
3
21-23
8
World Gin Tag
A
12
24-35
9
Bagging Type
A
1
36
10
Ties
A
1
37
11
Bagging Condition
A
1
38
12
Compression Code
N
1
39
13
Receiving Fee
N
4
40-43
14
Storage Fee
N
4
44-47
15
Storage Charge
Frequency
A
1
48
16
Receiving Fee Paid
A
1
49
Represents the number of
pounds subtracted from the
gross weight to compensate for
bagging and ties on the bale. See
Note 1.
Gross weight of bale minus tare
weight. See Note 1.
Warehouse assigned code which
identifies a tag that was on the
bale when received. This field
cannot be changed.
See Appendix I-Bagging and Ties
Codes for recommendations
See Appendix I - Bagging and Ties
Codes for recommendations
Bag condition - User Defined
Examples are:
A = Bale is completely covered.
B = Bale may have minor tears
and an exposed
sample opening
C = Exposed cotton in addition to
sample opening
See Appendix H - Country and
compression codes. See Note 1.
9999 (2 decimal); Warehouse
defined charge,
example 0250 = $2.50 - 99V99
9999 (2 decimal); Warehouse
defined charge, example 0250 =
$2.50 - 99V99. If Storage Charge
Frequency is Daily, the entry will
display as cents/day, e.g. 0950 =
9.50 cents per day
Frequency at which storage
charges are assessed: W=Weekly,
M=Monthly, D=Daily
Y=Paid, N=Not paid. See Note 2.
17
Loading Fee Paid
A
1
50
Y=Paid, N=Not paid. See Note 2.
18
Classing Fee Paid
A
1
51
Y=Paid, N=Not paid. See Note 2.
19
Filler
A
1
52
44-4
20
Reconcentrated
A
1
53
21
Previous
Warehouse Code
N
6
54-59
22
Previous Receipt
Number
N
7
60-66
23
Storage Paid
Through
N
8
67-74
24
Crop Year
N
4
75
25
Is Stored Outside
A
1
79
Y=Reconcentrated bale
N=Not reconcentrated, and
previous Warehouse Code and
previous Receipt Number are
cleared. See Note 1.
Code of previous warehouse.
Entered only if the bale is
reconcentrated. See Note 1.
Warehouse receipt number from
previous warehouse, entered for
reconcentrated cotton only. See
Note 1.
Storage paid through date;
MMDDYYYY. Last date that
storage charges against the bale
were paid to the warehouse. .
See Note 2.
Crop year in which the cotton
was grown; YYYY. This field is
required and cannot be changed.
Y, N or Blank. See Note 2.
26
Locator ID
AN
8
80
See Note 2.
27
User Defined
AN
12
88
28
Filler
AN
5
100
Optional information that can
updated by the current holder
Reserved for EWR, Inc. use
29
Disposition Holder
ID
AN
7
105111
30
Filler
N
7
31
Filler
A
2
112118
119120
Yes
Holder ID to which receipts will
be transferred to after the
maintain batch processes. If left
empty then the warehouse
remains the holder of the EWR.
This cannot be a bank holder for
any type of world receipt or
IEWR.
Reserved for EWR, Inc. use
Reserved for EWR, Inc. use
44-5
BATCH 44 DETAIL - RECORD 2
Field
1
Field Name
Record Type
Type
A
Size
1
Pos
1
Req
Yes
Description
D=Detail Record
2
Electronic Receipt
Number
N
7
2-8
Yes
3
Record Number
N
1
9
Yes
Electronic receipt number of the
bale, this entry must be the same
as in detail records in 1
02= record of electronic receipt
4
Filler
N
6
10-15
Reserved for EWR, Inc. use.
5
Delivery Point
N
2
16-17
6
Weigh Date
N
8
18-25
7
Filler
A
2
26-27
Optional – See Appendix E –
Delivery Points. See Note 1.
Warehouse assigned.
MMDDYYYY. See Note 1.
Reserved for EWR, Inc. use
8
Rain Grown
A
1
28
9
Origin Country
A
3
29-31
10
Filler
A
89
32120
R=rain grown
N=non rain
U=Unknown
Blank = no change
See Note 1.
Must be valid country code. See
Appendix H See Note 1. Cannot
be USA on a container receipt
type. This field cannot be
changed if receipt is part of a
container or is type “W”.
Reserved for EWR, Inc. use
Note 1: Field cannot be updated when receipt is part of a container group. Also only USA
warehouses will be allowed to send this field and have it update the receipt. All other nonUSA warehouses will not update the receipt and this field will be ignored.
Note 2: Field can be updated by the issuing warehouse without the warehouse being the
current holder of the IEWR.
BATCH 44 TRAILER
See Appendix A – Common Batch Trailer
44-6
- Reserved
- Reserved
– Reserved
47-1
– Inbound Certificated Weigher
Batch Type 48 is used by a weigher certified by ICE to upload a file with weights for IEWRs.
This batch file layout does not require the normal transmission and batch headers and trailers.
To successfully complete a Batch Type 48 the following items are required:
 The weigher must have a EWR assigned holder number that is active on the provider system.
 The warehouse must give “permission” for the weigher to update their weights. This is done by
the warehouse contacting EWR support.
 The weigher must send a batch that contains all required information as defined in the Layout
section in this document
 Only valid for world record types (Type “T”,“W” and “X”)
 Bales must have valid weight range for country of origin
 The weigher will not be able to update bale weights of a container IEWR if the container group is
open or pending transfer.
 On “W” receipts, the weight is required to be on file with the provider before attempting to
issue the receipt (Batch Type 42)
NOTE: USA warehouses are not required to send this file. They should include the bale weight in the
appropriate batch type.
If any errors are found in the batch, an error message is given and the batch will continue to process.
Acknowledgments generated by a Batch Type 48:
 The weigher will receive an acknowledgment file. This will confirm that the batch was
successfully received and processed. Within the acknowledgment will be details listing: Total
number of bales processed, issued and individual bales in error.
48-1
Inbound File Layout
Field Name
World Gin Tag
Start
Length
Note
Example
1
12
Alphanumeric – Optional
AB-30303031
Left justified
Warehouse Code
13
6
Required - This the Warehouse ID
assigned by ICE.
001234
Right justified and zero filled
Warehouse Receipt
Number
19
7
Required - Right justified and zero
filled
0100201
Tare Weight
26
1
Required (in Pounds).
5
Filler
27
6
Filler
33
7
Gross Weight
40
3
Required - Gross weight of bale in
pounds
Date Weighed
43
8
MMDDYYYY. Required and must be
a valid date.
Filler
51
1
Filler
52
1
03312016
Note 1: Flat file layout with ASCII text and terminated with a carriage return and linefeed.
Fixed column widths and positions with no headers or trailer records. There are no header or
trailer records in this file.
Note 2: The weigher will be responsible for sending this file to EWR provider system with the filename
of weights.xxxxxx.ewr where “xxxxxx” is the Warehouse ID.
48-2
- Reserved
49-1
– Deliver Receipts
The purpose of Batch Type 50 is to “deliver” receipts or IEWRs to another holder. This involves changing
the Current Holder to a New Holder. This batch type will also allow for updating the Invoice, PO, Grower
Reference number, and Mark fields and can indicate whether the new holder is to receive a detail data
download.
To successfully complete a Batch Type 50, the holder must send a batch that contains all required
information as defined in the Layout section in this document. If the batch is for certificated bales, then
all the bales must be error-free or none will be delivered. Also, holders cannot use this batch type to
send USA receipts to CCC unless the warehouse is returning receipts to CCC for a cancelled loan transfer.
They cannot deliver bales that their bank is holding as collateral; this should be done in a Batch Type 51.
Using this batch, a warehouse can only deliver receipts back to the original merchant that are under
shipping order and have the merchant as the subholder. If they are delivering back to the original
merchant, the shipping number and subholder fields are cleared.
When delivering non-negotiable block receipts, the following rules apply:
 The issuing warehouse can send the receipt to a single holder.
 The holder receiving the receipt can be collateralized, thus allowing the bank to hold and the
merchant to subhold the receipt.
 Once the warehouse has delivered the receipt, the new holder can only deliver or release the
receipt back to the issuing warehouse.
On Regular non-negotiable receipts (Receipt type “E”), it can only be delivered to one holder, once the
issuing warehouse delivers it. That holder can only deliver the receipt back to the warehouse.
On world IEWRs (Type “T” and “W”), the following conditions apply:
 A world container IEWR (T) cannot be part of a container group.
 If disposition holder is collateralized then the inter-mixing of world and USA record types will not be
allowed.
 On IEWRs, a bank holder number is not allowed in the header field – Buyer ID.

If the Disposition Holder ID collateralized, the bank will not be made the holder of the IEWR. IEWRs
are not eligible for collateralization on the provider system.
50-1
Certificated Type (position 52 in header) will include the following options:
Blank or Space = (Regular Batch)
For delivering any type of receipts to non-collateralized holders, and sending USA receipts to
collateralized holders. Any world receipts (W, T, X) sent with this option will fail individually if
the disposition holder is collateralized. Only the bales that fail processing will not be delivered.
C = (#2 Certificated Batch)
For delivering #2 (USA) certificated, tenderable receipts only. Disposition holder can be
collateralized or not. Entire batch will fail if there is a single error. World receipts are not
allowed and the world tenderable field is not checked.
X = (#2/World Certificated Mixed Batch)
For delivering #2 certificated, tenderable and world certificated, world tenderable receipts.
Entire batch will fail if the disposition holder is collateralized. Entire batch will fail if there is a
single receipt error.
W = (World Certificated Batch)
For delivering world certificated, world tenderable bales only (receipt types W, T). Disposition
holder can be collateralized or not. Entire batch will fail if there is a single error. If the
disposition holder is collateralized the receipt will be delivered directly to the merchant, not the
collateral holder.
N = (World Non Tenderable Batch)
This type is for delivering any type of world receipt (tenderable and non-tenderable). Disposition
holder can be collateralized or not. Any receipts that are not a world receipt type (W, T, X) will
fail individually and not be delivered. If the disposition holder is collateralized the receipt will be
delivered directly to the merchant, not the collateral holder. Only the bales that fail processing
will not be delivered.
50-2
When a Batch Type 50 is processed, the following acknowledgments are generated:
 The holder who created the batch receives a Holder acknowledgment.
 The recipient or new holder receives a Holder acknowledgment.
 When indicated by the sender (Receive Detail is the default.), the new holder receives a
“Delivery” of all receipt data associated with the bales in the batch. NOTE: If the Disposition
Holder is collateralized, then the bank will be the new holder, but only the subholder will receive
the detail data.
 If the Disposition Holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81.)
If any errors are found in the batch, an error message is given and the batch will continue to process,
unless the batch header has the “Certificated Batch” set to “C”, in that case, a single error will cause the
batch to fail and none of the receipts will be delivered.
50-3
Inbound File Layout
BATCH 50 HEADER LAYOUT
Field
Field Name
Record Size = 120
Type
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
H=Header Record
2
Holder ID
AN
7
2-8
Yes
Holder ID of seller
3
User ID
AN
6
9-14
Yes
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
User ID password
5
Batch Number
N
4
23-26
Yes
Batch number assigned.
6
Batch Type
N
2
27-28
Yes
50=Delivery of Receipts
7
Batch Date
N
8
29-36
Yes
Date batch - MMDDYYYY
8
Batch Time
N
6
37-42
Yes
Time batch - HHMMSS
9
Buyer ID
AN
7
43-49
Yes
10
Send Detail
A
1
50
Yes
11
Filler
N
1
51
Holder ID of the buyer. Must be
C000001 if Loan Transfer = “Y”. This
cannot be a bank holder for any type
of world receipt or IEWR.
Blank or Y=Send detail to buyer;
N=Do NOT send detail to buyer
Reserved for EWR, Inc. use
12
Certificated Type
A
1
52
13
Only Block
Receipts
A
1
53
14
Loan Transfer
A
1
54
15
Filler
A
66
55-120
Blank=Regular Batch
C=Certificated, USA Tenderable only
N = World (Tenderable/NonTenderable)
W = World Tenderable certificated
only
X = Mixed USA and World tenderable
certificated receipts
Y=If batch only contains Block Receipts
Blank= Non-Block receipts.
Must be blank if Certificated Type is
N,W or X.
Y=If receipts are being returned to CCC
for cancellation of a loan transfer.
Must be blank or N if Certificated Type
is N,W or X.
Reserved for EWR, Inc. use
50-4
BATCH DETAIL
Field Field Name
Type
Size
Pos
Req
Description
Record Type
Warehouse Code
Electronic Receipt
Number
Crop Year
A
N
N
1
6
7
1
2-7
8-14
Yes
Yes
Yes
D-Detail Record
Warehouse code of the receipt
Warehouse tag number
N
4
15-18
Yes
AN
10
19-28
6
Purchase Order
Number
Invoice Number
Crop year assigned to the bale when
the receipt was issued
Purchase Order number of the Buyer
AN
10
29-38
7
Mark
AN
8
39-46
8
Grower Reference
Number
Filler
N
11
47-57
Invoice # of the Seller; Contract # for
cert. receipts
Shippers Mark.
Note: This field will not update the
mark if the receipt is on an existing
EWR shipping order.
Growers Reference Number
A
63
58-120
Reserved for EWR, Inc. use
1
2
3
4
5
9
BATCH TRAILER
See Appendix A – Common Batch Trailer
50-5
- Deliver Receipts via Bank Draft
A Batch Type 51 is available to all users on the system to deliver receipt data and simultaneously change
holdership to another user. However, the actual change of holdership must be approved by a third
party, ie, a Bank, who acts as a temporary holder of receipts. The temporary holdership of receipts
meets the customer’s needs by providing a delay, or neutral period, during which all transfers of funds
and paperwork involving the purchase can take place. When both buyer and seller agree on the terms
of the transaction and are satisfied with the details, the bank is notified by the parties involved to
release their holdership to the actual buyer of the receipts. Users CAN NOT use this Batch Type to
deliver receipts to CCC.
A regular non-negotiable receipt cannot be used in this batch type.
Batch Type 51 processes in two (2) different ways:
 When the seller is the holder;
 When the bank holds the receipts as collateral for the seller.
If any errors are found in this batch, the entire batch will be rejected.
World receipts are ineligible for this batch type.
Also, the Buyer Holder cannot be the government (Holder ID starting with a “C”.)
There are three (3) types of processing that a Batch 51 can do:



Inbound – The program takes a Batch 51 and changes the holder to draft bank. The original
holder who initiated the process becomes the subholder. It does no further processing.
(Process 71 will change the Holder ID of the receipts once the bank “releases” the receipts.)
Outbound – This is the first step in a seller collateral bank to draft bank transfer. This batch will
make the buyer the receipt subholder and the merchant sending the file will become the
previous subholder. It is eventually passed to process 71 for release.
Automatic – This is the second step on seller collateral bank transfer to draft bank transfer.
Unlike the Inbound and Outbound types (which were created by the seller), this Batch 51 was
created by the EWR Host system 71 process (Bank Release) and put back in the system to
reprocess. It will have the batch to-header and from-header as the same ID.
51-1
The current system will use a Bank Draft file to store individual receipts to a unique system assigned a
bank control number (Draft ID). This file is used to expedite processing of the receipts. The control
number is stored in the system control file.
CASE 1: (Non-Collateral Seller)
When a Batch Type 51 transmitted by the Current Holder of the receipts processes, the following
acknowledgments are generated:




The holder (or seller) who initiated the batch receives a Holder acknowledgment (Deliver via
Draft.)
The draft bank receives a Batch Type 87, Bank Draft release for Inbound drafts (Outbound File
Layouts.)
The buyer receives a “Delivery” of all receipt detail data associated with the bales in the batch.
This occurs before the bank releases the draft.
The buyer receives a Holder acknowledgment for the delivery of the receipts (Deliver via Draft.)
CASE 2: (Collateral Seller)
When a Batch Type 51 (sent by the subholder of receipts – the bank is the holder) processes, the
following acknowledgments only are generated:






The seller receives a Holder acknowledgment (Deliver Via Bank Draft)
The seller bank receives a Batch Type 91, Bank Draft release for outbound drafts.
The draft bank receives a Batch Type 87, Bank Draft release for inbound drafts (Outbound File
Layouts.) This occurs after the release for outbound drafts processes properly. Once the bank
has released the receipts via Batch Type 71, a copy of the original 51 will be re-processed as
“Automatic” type. This will change the holdership of the receipts to the Buyer Holder ID.
The buyer receives a “Delivery” of all receipt detail data associated with the bales in the batch.
This occurs before the bank releases the draft.
The buyer receives a Holder acknowledgment for the delivery of the receipts (Deliver via Draft.)
This occurs after the bank releases the draft.
If the buyer holder is collateralized, then both the merchant and bank will receive an
acknowledgment (Type 81.)
51-2
Inbound File Layout
BATCH 51 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H=Header Record
Holder ID of SELLER
User ID of person creating batch
User ID password
Batch number assigned. Cannot be
duplicated within the same day
51=Delivery of receipts via bank draft
Date batch was created/updated
MMDDYYYY
Time batch was updated HHMMSS
Holder ID of the Purchaser
1
2
3
4
5
Record Type
Holder ID
User ID
User Password
Batch Number
A
AN
AN
AN
N
1
7
6
8
4
1
2-8
9-14
15-22
23-26
Yes
Yes
Yes
Yes
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
9
Batch Time
Purchaser Holder ID
N
AN
6
7
37-42
43-49
Yes
Yes
10
11
12
13
Bank Holder ID
Filler
Draft Number
Draft Amount
AN
A
AN
N
7
1
10
10
50-56
57
58-67
68-77
Yes
14
Presenting Bank
AN
25
78-102
15
Certificated Batch
A
1
103
16
Block Receipts
A
1
104
17
Filler
A
16
105-120
Yes
Yes
Holder ID of Bank on which draft is
Reserved for EWR, Inc. use
Bank draft number
Draft amount 99999999V99; this
entry must be at least $1.00.
Name of the Bank on which the draft
is drawn
C=Certificated receipt delivery
(If C, long record is sent)
Blank=Regular receipt delivery
Y=If batch contains Block Receipts
Blank or N= Non-Block Receipts
Reserved for EWR, Inc. use
51-3
BATCH DETAIL
Field Field Name
Type
Size
Pos
Req
Description
Record Type
Warehouse Code
Electronic Receipt
Number
Crop Year
A
N
N
1
6
7
1
2-7
8-14
Yes
Yes
Yes
N
4
15-18
Yes
AN
10
19-28
6
Purchase Order
Number
Invoice Number
D=Detail Record
Warehouse code of the receipt
Electronic Receipt Number, will be the
same as the warehouse tag number
Crop year of the receipt assigned
when issued
Buyer's P.O. Number
AN
10
29-38
7
Filler
A
82
39-120
1
2
3
4
5
Seller's Invoice Number
This is contract number for certificated
receipt batch
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
51-4
- Deliver Receipts via Loan Options
Receipts cannot be delivered via loan option until such receipts are processed in a Batch Type 53 “Put
Receipts in the CCC Loan”. Upon processing, CCC becomes the holder and the company who put the
receipts in the loan, becomes the subholder.
A Batch Type 52 is used by the subholder of bales currently in the CCC loan to send the purchaser of loan
options a delivery of the detail data for the receipts and make the purchaser the new subholder. Batch
Type 52 can process at the Host only if the bales/receipts are currently held by CCC and the Batch Type
52 was initiated by the subholder. Batch 52 does not change holdership of the bales, only the
subholdership. This batch is important because it allows the purchaser of loan options to receive from
EWR all data for the receipts prior to actually redeeming the cotton from the loan.
To successfully complete a Batch Type 52, the holder must send a batch that contains all required
information as defined in the layout section in this document. If trailer records are used, then RECORD
COUNT must be correct.
Non-negotiable and block receipts are ineligible for this batch.
World receipts are ineligible for this batch type.
Upon becoming subholder, the purchaser has the ability to perform a limited number of transactions
with the receipts, e.g., request receipt data or deliver via loan option to another holder.
If any errors are found in the batch, an error message is given and the batch will continue to process
The acknowledgments received for a Batch Type 52 are:
Delivery via loan option with no EAD in header record:
 Receipts are transferred to buyer. Buyer receives both acknowledgment and detail. Seller also
receives an acknowledgment.
 If a receipt was previously marked as an EAD holder, the receipt will be automatically sent to
CCC. If the receipt is rejected, then the “EAD subholder” is marked as “N”, not EAD holder.
Delivery via loan option with EAD in header record:
 Receipts are not transferred to buyer immediately. Receipts are sent to CCC.
 When CCC acknowledges the receipts, at that point the receipts with no errors are transferred
to the buyer and detail records are sent.
 Any receipts rejected will not be transferred. An error will be given on the acknowledgment
stating what receipts were not transferred and for what reason.
 Both buyer and seller will always receive acknowledgments.
52-1
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Inbound File Layout
BATCH 52 HEADER LAYOUT
Field Field Name
1
Record Type
2
Holder ID
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
Record Size = 120
Description
H=Header Record
Holder ID of seller; this entry is actually
the subholder ID of the receipts in the
CCC loan which are held by CCC
User ID of person creating batch
User ID password
Batch number assigned.
3
4
5
User ID
User Password
Batch Number
AN
AN
N
6
8
4
9-14
15-22
23-26
Yes
Yes
Yes
6
7
8
9
Batch Type
Batch Date
Batch Time
Buyer ID
N
N
N
AN
2
8
6
7
27-28
29-36
37-42
43-49
Yes
Yes
Yes
Yes
10
EAD Subholder
A
1
50
11
Filler
A
70
51120
52=Delivery of Loan Options
Date batch was created/updated.
Time batch was created/updated.
Holder ID of the buyer. This holder will
become the new subholder only, CCC
remains the holder
Y=Send file to CCC to make buyer EAD
Holder
Reserved for EWR, Inc. use
Type
A
N
N
Size
1
6
7
Pos
1
2-7
8-14
Req
Yes
Yes
Yes
N
4
15-18
Yes
AN
10
19-28
Description
D = Detail
Warehouse Code of the receipt
Electronic receipt number, will be the
same as the warehouse tag number
Crop year assigned to the bale when the
receipt was issued
Purchase order number of the Buyer
AN
A
10
82
29-38
39120
BATCH DETAIL
Field Field Name
1
Record Type
2
Warehouse Code
3
Electronic Receipt
Number
4
Crop Year
5
6
7
Purchase Order
Number
Invoice Number
Filler
Invoice number of the Seller
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
52-2
- Put Receipts in CCC Loan
A Batch Type 53 is used to change holdership of receipts to the C000001 (e.g. CCC). When a user creates
a Batch Type 53, CCC’s Holder ID is automatically assigned by the host and entered into the Current
Holder field in the database. The previous holder, or the entity who put the receipts into the loan,
becomes the subholder. The holder sending a Batch Type 53 to the EWR host must be the holder of the
receipts and must be the producer (or the producer’s agent).
It is very important for the users to enter the CCC assigned farm number in the batch. The host
computer will not process the batch without the information, nor will CCC accept receipts which do not
contain the farm number. In addition, the BATCH 00 HEADER LAYOUT must contain the producer’s
name and the type of loan (county office - form A; or Co-op - form G).
If the “Class Included” is marked with ‘Y’, the classing will update the EWR classing record.
A regular non-negotiable receipt cannot be used in this batch type.
World receipts are ineligible for this batch type.
Users who put receipts into the loan can now expect to receive verification through EWR from CCC
confirming that the bales have been received by CCC and are eligible for loan. Likewise, receipts which
are not eligible will also be acknowledged and returned to the users. The changes in processing are
summarized as follows:
 Upon Batch Type 53 processing, the holder transmitting the batch to EWR will receive the
Holder acknowledgments.
 Receipts in Error (on the EWR host system - not CCC ineligible) will be sent back to the user in an
ED record (Batch Type 85). The total number of bales which processed successfully will be
acknowledged in a Batch Type 85 = AC.
 The processed receipts in the user’s batch will be assigned a collateral release code by the EWR
host. This code will display in the Activity ID field of the Holder Ack (Batch Type 85) and a “S”
will be placed in the Action Flag Field of the Holder Ack. The S in the Action Flag Field will signify
that the Activity ID field entry represents bales associated with CCC, and the bales are pending
CCC Loan approval.
 The records in the user’s batch will be sent to CCC during the next scheduled transmission. After
EWR transmits the batch to CCC, the EWR user will receive an acknowledgment for the number
of records processed and number of errors (if any) that CCC determined.
 Positive (eligible bale) and Negative (ineligible bales) acknowledgments will be sent to the EWR
computer from CCC.
 EWR will then send the user who put the receipts into the loan an AC= Acknowledgment for the
bales accepted into the loan by CCC. The acknowledgment will contain the collateral release
indicator code assigned to the original batch. This will be the second acknowledgment which
53-1

contained this code. In addition, the Action Flag Field will contain an “A”, identifying the
receipts as associated with CCC, and have been approved for loan.
The bales identified by CCC as being ineligible for the loan will be returned to the user’sHolder
ID number. Each bale number will be sent to the user in a Batch Type 85 as ED records.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Inbound File Layout
BATCH 53 HEADER LAYOUT
Field
Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H=Header Record
Holder ID of the producer or his agent;
or ID of the Co-op
User ID of person creating batch
User ID password
Batch Number assigned.
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
4
5
User ID
User Password
Batch Number
AN
AN
N
6
8
4
9-14
15-22
23-26
Yes
Yes
Yes
6
7
8
9
Batch Type
Batch Date
Batch Time
Loan Number
N
N
N
N
2
8
6
5
27-28
29-36
37-42
43-47
Yes
Yes
Yes
10
Loan Date
N
8
48-55
11
12
13
Producer Name
Type Loan
Co-op Name
AN
A
A
35
1
12
56-90
91
92-103
14
Filler
A
7
104-110
15
Redemption Flag
A
1
111
16
Loan State
N
2
112-113
17
Loan County
N
3
114-116
18
Filler
A
4
117-120
Yes
Yes
May
53=Place Receipts in the CCC Loan
Date Batch MMDDYYYY
Time Batch. HHMMSS
CCC assigned Loan Number-Required
if Redemption Flag =Y
Loan Date MMDDYYYY-Required if
Redemption Flag =Y
Producer Name
A=County; G=Co-op
If 12=G, Co-op name is Yes, Required,
blank if loan type A
Reserved for EWR, Inc. use
Redemption Flag for CMA’S
Y=Yes N or blank=No
CCC Loan State-Required if
Redemption Flag=Y
CCC Loan County-Required if
Redemption Flag=Y
Reserved for EWR, Inc. use
53-2
BATCH DETAIL
Field
Field Name
1
Record Type
2
Warehouse Code
3
Electronic Receipt
Number
Type
A
N
N
Size
1
6
7
Pos
1
2-7
8-14
Req
Yes
Yes
Yes
Description
D = Detail
Warehouse code of the receipt
Electronic Receipt Number assigned
by the warehouse when the receipt
was originally issued
Crop year of receipt
Farm Serial Number assigned by FSA
to identify a specific area of
production; Required for the batch to
process
Y=Class data included in this record; N
or
Blank = Class data not included. If not
Y, rest
Of record should be space field.
AMS defined 5 digit gin code.
Gin assigned bale tag number; if less
than 7 digits then add leading zeroes.
MMDDYYYY
Module = 1, Trailer = 2, Single = 0
4
5
Crop Year
Farm Number
N
N
4
5
15-18 Yes
19-23 Yes
6
Class Included
A
1
24
7
8
Gin Code
Gin Tag
N
N
5
7
25-29
30-36
9
10
Date Classed
Module/Trailer/
N
N
8
1
37-44
45
11
N
5
46-50
12
Module/Trailer
Number
Bales in Module
N
2
51-52
AMS/gin assigned Module or Trailer
number
Number of bales in module
13
Filler
A
3
53-55
Reserved for EWR, Inc. use
14
Color Grade
N
2
56-57
AMS assigned color grade
15
Staple
N
2
58
16
Micronaire
N
2
60-61
AMS assigned. Length of cotton fibers
measured in 32nds of an inch; e.g. 34
= 1 1/16 of an inch
AMS assigned.
17
Strength
AN
4
62-65
18
Leaf Grade
N
1
66
19
Extraneous Matter
AN
2
67-68
Yes
AMS assigned. The strength of the
fiber measures in grams/tex.
Entered as 99.9 or 999
AMS assigned. Amount of leaf
content found in the sample. Entered
as 1, 2, 3, 4, 5, 6, 7, or 8
AMS assigned. Any substances found
in cotton which is not considered
normal for grading purposes
53-3
20
Remarks
AN
2
69-70
AMS assigned. Codes used to identify
special conditions found in the cotton.
E.g. 84 = old crop cotton. Spaces are
valid
AMS assigned
21
HVI Color
N
2
71-72
22
Color Quadrant
N
1
73
23
Filler
N
2
74-75
AMS assigned. Quadrant of HVI color
measurement. Enter as 1, 2, 3 or 4
Reserved for EWR, Inc. use
24
HVI+B
N
3
76-78
AMS assigned
25
Trash %
N
2
79-80
AMS assigned
26
Length
N
3
81-83
AMS assigned.
27
Filler
N
2
84-85
Reserved for EWR, Inc. use
28
Upland/Pima
N
1
86
AMS assigned. 1 = Upland; 2 = Pima
29
Loan Value Sign
AN
1
87
30
Loan Value
N
4
88-91 May
AMS assigned. Must be a “+” or “-” if
Loan Value is not blank. Blank if not
used
Data required if field 29 not blank
31
Record Type
N
1
92
32
HVI RD
N
3
93-95
AMS assigned.
O = original
1 = review
2 = rework
3 = duplicate
4 = correction
AMS assigned
33
Uniformity
N
3
96-98
AMS assigned
34
Record Status
N
1
99
AMS assigned
35
Filler
A
21
100120
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
53-4
- Reserved
54-1
- Request Loan Deficiency Payment
A Batch Type 55 is used to transmit to CCC a list of receipts which are eligible for LDPs. To be eligible for
an LDP, the receipt should not have been previously placed into the CCC loan program. That is, CCC
cannot be the holder nor can they have any record of ever issuing a price support loan on the receipt.
The holder sending the Batch Type 55 to the host must be the holder of the receipts and must be the
producer (or the producer’s agent). The BATCH 00 HEADER LAYOUT must contain the producer’s name
and the type of LDP (County Office - Form A; or Co-op - Form G). The Host has been modified to allow
users to enter a farm number in the batch. CCC requires this information in the LDP transmission.
A Batch Type 55 does not change holder or subholder fields in the EWR Database. This batch merely
delivers receipt information to CCC so that they can update their database to prevent the possibility of
processing another request for an LDP or price support loan on the same receipts.
Acknowledgments created and placed in holder and location mailboxes at the host by a successful Batch
Type 55 are:
 Current Holder receives a holder acknowledgment
 CCC receives a customized download identifying the receipts in the batch
If any errors are found in this batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
A regular non-negotiable receipt cannot be used in this batch type.
World receipts are ineligible for this batch type.
Inbound File Layout
BATCH 55 HEADER LAYOUT
Field Field Name
Record Size = 120
Type
Size
Pos
Req
Description
H=Header Record
Holder ID of Producer
User ID of person creating Batch
User ID Password
Batch number assigned. Cannot be
duplicated within the same day
55=Request Loan Deficiency Payment
Date batch was created/updated;
MMDDYYYY
1
2
3
4
5
Record Type
Holder ID
User ID
User Password
Batch Number
A
AN
AN
AN
N
1
7
6
8
4
1
2-8
9-14
15-22
23-26
Yes
Yes
Yes
Yes
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
55-1
8
Batch Time
N
6
37-42
Yes
9
Producer Name
AN
35
43-77
Yes
10
11
Type Loan
Activity
A
AN
1
10
78
79-88
Yes
12
Filler
A
32
89-120
Type
A
N
N
Size
1
6
7
Pos
1
2-7
8-14
Req
Yes
Yes
Yes
Yes
BATCH DETAIL
Field Field Name
1
Record Type
2
Warehouse Code
3
Electronic Receipt
Number
Time batch was created/updated;
HHMMSS
If Form A - enter the producer’s name
If Form G - enter the Cooperative’s
name
A=County Office ; G=Co-op
This information will appear on the
acknowledgment
Reserved for EWR, Inc. use
4
Crop Year
N
4
15-18
5
Farm Number
N
5
19-23
6
Class Included
A
1
24
7
8
Gin Code
Gin Tag
N
N
5
7
25-29
30-36
9
10
Date Classed
Module /
Trailer/Single
Module/Trailer
Number
Bales in Module
Filler
Color Grade
Staple
Micronaire
Strength
N
N
8
1
37-44
45
Description
D=Detail Record
Warehouse code of the receipt
Electronic Receipt Number assigned
by the warehouse when the receipt
was originally issued
Crop year assigned by the warehouse
when the receipt was issued. YYYY
Farm Serial Number assigned by FSA
to identify a specific area of
production; Required to be on the
receipt for the batch to process
Y=Class data included in this record;
N or Blank = Class data not included
AMS defined 5 digit gin code
Gin assigned bale tag number; if less
than 7 digits then add leading zeroes
Date Classed AMS. MMDDYYYY
Module=1, Trailer=2, Single=0
N
5
46-50
Module or Trailer number
N
N
N
N
N
AN
2
3
2
2
2
4
51-52
53-55
56-57
58-59
60-61
62-65
Number of bales in module
Reserved for EWR, Inc. use
AMS assigned color grade
AMS assigned.
AMS assigned.
AMS assigned.
11
12
13
14
15
16
17
Yes
55-2
18
Leaf Grade
N
1
66
19
AN
2
67-68
20
21
22
23
24
25
26
27
28
29
Extraneous
Matter
Remarks
HVI Color
Color Quadrant
Filler
HVI +B
Trash %
Length
Filler
Upland/Pima
Loan Value Sign
AN
N
N
N
N
N
N
N
N
AN
2
2
1
2
3
2
3
2
1
1
69-70
71-72
73
74-75
76-78
79-80
81-83
84-85
86
87
30
31
Loan Value
Record Type
N
N
4
1
88-91
92
32
33
34
35
HVI RD
Uniformity
Record Status
Filler
N
N
N
A
3
3
1
21
93-95
96-98
99
100-120
AMS assigned. Amount of leaf
content found in the sample. Entered
as 1, 2, 3, 4, 5, 6, 7, or 8
AMS assigned
AMS assigned.
AMS assigned
AMS assigned.
Reserved for EWR, Inc. use
AMS assigned
AMS assigned
AMS assigned.
Reserved for EWR, Inc. use
AMS assigned. 1=Upland 2=Pima
AMS assigned. Must be a “+” or “-“if
field 30 not blank.
Data required if field 29 not blank
AMS assigned.
0=original
1=review
2=rework,
3=duplicate
4=correction
AMS assigned
AMS assigned
AMS assigned
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
55-3
-Reserved
56-1
- Deliver Receipts by CMA Loan Redemption
A Batch Type 57 is used by the subholder of the bales. The bales are sent to the CMA to be redeemed.
Batch Type 57 can process at the Host only if following are true:
 The bales/receipts are currently held by CCC
 The batch was initiated by the subholder
 The receipts were set for redemption when the receipts were initially sent by Batch Type 53 for
CCC loan.
Batch Type 57 does not change holdership of the bales.
Receipts cannot be delivered via CMA Loan Redemption until such receipts are processed in a Batch
Type 53 - “Put receipts in the CCC Loan” and the receipts are marked as a redeemable bale. Upon
processing of Batch Type 53, CCC becomes the holder and the company who put the receipts in the loan
becomes the subholder.
The acknowledgments received for a Batch Type 57 are:
 The subholder who created the batch receives a holder and location acknowledgment
 The CMA receives a holder acknowledgment
 The CMA receives a detail data download of receipts
If any errors are found in this batch, an error message is given and the batch will continue processing.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
57-1
Inbound File Layout
BATCH 57 HEADER LAYOUT
Field Field Name
Type
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
H=Header Record
2
Holder ID
AN
7
2-8
Yes
3
User ID
AN
6
9-14
Yes
Holder ID of redeemer; this entry is
actually the holder ID of the subholder.
All receipts in the CCC loan are held by
CCC
User ID of person creating batch
4
User Password
AN
8
15-22
Yes
User ID password
5
Batch Number
N
4
23-26
Yes
Batch number assigned.
6
Batch Type
N
2
27-28
Yes
57=Delivery of Loan Redemption
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Redemption Date
N
8
43-50
Yes
Date batch was created/updated
MMDDYYYY
Time Batch was created/updated
HHMMSS
Date of Redemption MMDDYYYY
10
Redeemer’s E-Mail AN
45
51-95
Yes
E-mail address of Redeemer
11
Filler
25
96-120
A
Record Size = 120
Reserved for EWR, Inc. use
BATCH DETAIL
Field Field Name
Type
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
D=Detail Record
2
Warehouse Code
N
6
2-7
Yes
Warehouse Code of the receipt
3
Electronic
Receipt Number
Crop Year
N
7
8-14
Yes
N
4
15-18
Yes
Redemption
Amount
Filler
N
5
19-23
A
97
24-120
Electronic receipt number, will be the
same as the warehouse tag number
Crop year assigned to the bale when the
receipt was issued
Redeemer’s calculated redemption
amount 9999 (2 decimal) 32550=E325.50
Reserved for EWR, Inc. use
4
5
6
BATCH TRAILER
See Appendix A – Common Batch Trailer
57-2
-Reserved
58-1
– Reserved
59-1
- Request Receipt Data by Receipt Number
A Batch Type 60 provides users with the ability to request and receive detail data downloads for specific
electronic receipt numbers. This information is available only to the holder or sub-holder of the
electronic receipt. The Batch Type 65 (discussed in a subsequent section) provides detailed receipt data
also. Batch Type 65 allows users to enter greater selection criteria, but processes considerably slower
than the Batch Type 60.
A Batch Type 60 can also be used to request holder information on receipts. That is, Batch Type 60 will
allow a holder who is either the Current Holder or Current Subholder to request Holder ID’s for all
entities which occupy these three fields in the Host computer. This batch type will give users the ability
to verify the processing of batches and confirm holdership of receipts.
A warehouse will only see holder information if the warehouse is the current holder, subholder or
previous holder.
If the batch header “Holder Selection” field is “A”, then the provider system will validate the requestor is
either the holder, subholder or previous holder of the receipt(s). The data downloaded will contain only
holder information.
If any errors are found in the batch, an error message is given and the batch will continue to process.
Mail files generated by a successful Batch Type 60 are:
 The user who created the batch receives a holder acknowledgment
 The user requesting the data will receive a download of the detailed data for the receipt
numbers entered in the batch
If the batch header “Holder Selection” field is “A” the detail file outputted will be in “HD68 – Holder
Information Requested” format.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
60-1
Inbound File Layout
BATCH 60 HEADER LAYOUT
Field
Field Name
1
Record Type
2
Holder ID
3
User ID
Type
A
AN
AN
Size
1
7
6
Pos
1
2-8
9-14
Req
Yes
Yes
Yes
Record Size = 120
Description
H=Header Record
Holder ID of requestor
User ID of person creating batch
4
5
User Password
Batch Number
AN
N
8
4
15-22
23-26
Yes
Yes
User ID Password
Batch number assigned.
6
7
8
9
Batch Type
Batch Date
Batch Time
Holder Selection
N
N
N
A
2
8
6
1
27-28
29-36
37-42
43
Yes
Yes
Yes
10
11
Block Receipts
Filler
A
A
1
76
44
45-120
60=Request Receipt Data
Date of batch; MMDDYYYY
Time of batch; HHMMSS
Blank=data for receipts requestor is the
HOLDER of only;
S=data for receipts which the requestor
is the SUBHOLDER of only;
B=data for receipts which the requestor
is BOTH holder or subholder
A=Holder Information for receipts
which, in the EWR host, the requestor is
either the holder, subholder or previous
holder of the receipt(s). The data
downloaded will contain only holder
information. .
Y=Batch consists of Block Receipts
Reserved for EWR, Inc. use
Type
A
N
Size
1
6
Pos
1
2-7
Req
Yes
Yes
Description
D=Detail Record
Warehouse code of the receipt
N
7
8-14
Yes
N
4
15-18
Yes
Electronic receipt number assigned by
the warehouse when the receipt was
issued.
Crop year of the bale assigned when
the receipt was issued
Reserved for EWR, Inc. use
BATCH DETAIL
Field
Field Name
1
Record Type
2
Warehouse
Code
3
Electronic
Receipt Number
4
Crop Year
5
Filler
A
102
BATCH TRAILER
See Appendix A – Common Batch Trailer
19-120
60-2
-Reserved
61-1
- Change Receipt Data
A Batch Type 62 is used by the Current Holder of a receipt to change non-required, or optional, data
associated with the receipt record or decertificate a receipt. Again, only the Current Holder of the
receipt may change this information. The three (3) key fields that identify the receipts stored in the host
computer that need to be changed are:
 RECEIPT NUMBER
 WAREHOUSE CODE
 CROP YEAR
Once the receipt is identified by receipt number, warehouse code and crop year, data should only be
entered into fields which are to be updated. That is, all fields in the batch do not need to be completed.
The host computer will not update the fields in the batch which do not contain data.
If the current holder wishes to clear the data stored in the Host for a specific field, i.e., Farm Number,
the person creating the Batch Type 62 would enter an asterisk (*) in the field to be changed. When the
batch is processed by the Host, the data stored in that field will be cleared.
"Gin Charges" will be available for the Gins or Warehouses only to update.
There are four fields (Receiving Paid, Loading Paid, Compress Paid, Storage Paid through Date) that can
be updated by a specific user. The warehouse may designate any user to update these fields by calling
customer service to change their holder profile. These fields cannot be updated if CCC is holding the
receipts.
When changes to these fields are made the warehouse will receive a download of the receipt data. In
field 6 of the header record will be the Holder ID of the person making the change.
Users will be able to use Batch Type 62 to update information in the Host computer and immediately
transfer holdership to a new Holder ID. A Disposition Holder ID should be entered to effect this change.
The host will process the batch and deliver detail data information to the new holder.
If a “D” is entered in the Receipt Type field and the receipt is USA #2 certificated (Type “C”), then the
receipt is decertificated and the tenderable fields are changed to “N”.
If a “X” is entered in the Receipt Type field and the receipt is world certificated (Type “W”), then the
receipt is decertificated and the tenderable fields are changed to “N”.
Note: Once a receipt has been decertificated, it cannot be “re-certificated”.
62-1
On World Receipt Types (T and W), the following conditions apply:
 A world container receipt (T) cannot be part of a container group.
 If disposition holder is collateralized then the inter-mixing of world and USA receipts will not be
allowed.
 On world receipts a bank holder number is not allowed in the header field – Buyer ID.
 If the Disposition Holder ID is collateralized, the bank will not be made the holder of the container
receipts. Container receipts are not eligible for collateralization on the provider system.
Acknowledgments generated by a successful Batch Type 62 are:
 A holder and location acknowledgment for the creator of the batch
 If a Disposition Holder ID is entered, a Holder Acknowledgment will be sent to that party.
 The Disposition Holder will receive a detail data download for receipts changed to their
holdership.
If any errors are found in the batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated will be outlined in Section “Files Received from
Host.”
Inbound File Layout
BATCH 62 HEADER LAYOUT
Field
Field Name
Typ
Record Size = 120
Size
Pos
Req
Description
H=Header Record
Holder ID of the user creating the
batch, i.e., current holder
User ID of person creating batch
User ID Password
Batch number assigned. Cannot be
duplicated within the same day
62=Change Receipt Data (Optional
Information Only)
Date batch was created/updated;
MMDDYYYY
Time batch was created/updated;
HHMMSS
Reserved for EWR, Inc. use
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
4
5
User ID
User Password
Batch Number
AN
AN
N
6
8
4
9-14
15-22
23-26
Yes
Yes
Yes
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Filler
A
78
43120
62-2
BATCH DETAIL – RECORD 1 (In optional fields an asterisk (*) in the first character clears the data at the
host. Blanks leave the field unchanged otherwise the field is updated to whatever data is in the field.)
Field
Field Name
Typ Size Pos
Req
Description
1
2
A
N
1
1
1
2
Yes
Yes
D=Detail Record
1=First of 2 detail records
N
6
3-8
Yes
Warehouse code of the receipt
N
7
9-15
Yes
Electronic receipt number, will be the
same as the warehouse tag number
5
Record Type
Record
Number
Warehouse
Code
Electronic
Receipt
Number
Crop Year
N
4
16-19
Yes
6
7
8
9
10
State Code
County Code
Filler
Filler
Farm Number
N
N
N
A
N
2
3
5
1
5
20-21
22-24
25-29
30
31-35
11
Filler
N
8
36-43
Crop year of the bale as assigned by the
warehouse when issued
USDA defined 2 digit state code
USDA defined 3 digit county code
Reserved for EWR, Inc. use
Reserved for EWR, Inc. use
Farm serial number assigned by FSA to
identify a specific area of production
Reserved for EWR, Inc. use
12
Mark
AN
8
44-51
Mark assigned by shipper
13
Purchase
Order Number
Invoice
Number
Filler
AN
10
52-61
Purchase order number of Buyer
AN
10
62-71
Invoice number defined by the Buyer
AN
10
72-81
Reserved for EWR, Inc. use
N
11
82-92
17
Grower
Reference
Number
Grower ID
AN
9
93-101
18
Filler
AN
10
102-111
3
4
14
15
16
Note: This field will not be reflected in the
delivery file for world receipts
Reserved for EWR, Inc. use
62-3
19
Receipt Type
A
1
112
D= Decertificate a type “C” receipt
X = Decertificate a type “W” receipt
OR leave blank for no change
If a “D” is entered in the Receipt Type field
and the receipt is USA #2 certificated, then
the receipt is decertificated and the
system will automatically change all
tenderable fields to “N”.
20
Disposition
Holder ID
AN
7
113-119
21
Filler
A
1
120
BATCH DETAIL – RECORD 2
Field
Field Name
Type
1
2
3
4
5
6
7
8
9
10
11
12
13
Holder ID to which receipts will be
transferred to immediately after the data
is changed. This cannot be a bank holder
for any type of world receipt or IEWR.
Reserved for EWR, Inc. use
Size
Pos
Req
Description
Record Type
Record
Number
Warehouse
Code
Electronic
Receipt
Number
Crop Year
A
N
1
1
1
2
Yes
Yes
D=Detail Record
2=2nd detail record
N
6
3-8
Yes
Warehouse code of the receipt
N
7
9-15
Yes
Electronic receipt number, will be the
same as the warehouse tag number
N
4
16-19
Yes
Producer
Name
Filler
Gin Charges
AN
34
20-53
Crop year of the bale as assigned by the
warehouse when originally issued
Producer's name
A
N
1
4
54
55-58
User Defined
Field
Receiving Paid
AN
12
59-70
A
1
71
Loading Paid
Compress Paid
Storage Paid
Through
A
A
N
1
1
8
72
73
74-81
Reserved for EWR, Inc. use
4 byte field used to enter or update
ginning charges
12 bytes used to enter optional
information
Y = Paid; N = Not Paid
Y = Paid; N = Not Paid
Y = Paid; N = Not Paid
Storage paid through date; MMDDYYYY
Last date that storage charges against the
bale were paid
62-4
14
Locator ID
AN
8
82-89
15
Filler
A
31
90-120
Must be blank or match current location.
Location update should be done via batch
type 13.
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
62-5
- Change Classing Data
A Batch Type 63 is used to change or add classing information to a receipt stored in the host computer.
As in a type 62, only the information that is to be changed or added to the receipt record should be
entered into the batch detail. The three (3) key fields that identify the receipt stored in the host
computer which are to be changed or updated are:
 RECEIPT NUMBER
 WAREHOUSE CODE
 CROP YEAR
There is also the option in the batch to enter a ‘clear class’ indicator. This entry will prompt the host
computer to clear or delete all classing information associated with the classing record from the host
computer. If the current holder wishes to clear the data stored in the Host for a specific field, i.e.,
Remarks, the person creating the Batch Type 63 would enter an asterisk (*) in the field to be changed.
When the batch is processed by the Host, the data stored in that field will be cleared.
There is an option in the Batch Header Layout for “Loan Option Delivery,” that will deliver the loan
receipt to the disposition holder. If this option is “Y”, then the receiving holder will have the letter “L” in
the action code field of the acknowledgement, and the disposition holder is required on each bale.
There are four fields (Receiving Paid, Loading Paid, Compress Paid, Storage Paid Through Date) that can
be updated by a specific user. The warehouse may designate any user to update these fields by calling
customer service to change their holder profile. These fields cannot be updated if CCC is holding the
receipts.
On regular non-negotiable receipts (Receipt type “E”), it can only be delivered to one holder, once the
issuing warehouse delivers it. That holder can only deliver the receipt back to the warehouse.
The regular non-negotiable receipt will not be delivered to a collateral holder of a holder. There will
never be a subholder on the receipt except for when it is shipped unless the holder has informed EWR
to allow for this situation.
World receipts are ineligible for this batch type.
A successful Batch Type 63 generates the following acknowledgments:
 The creator of the batch receives a holder and location acknowledgment
If any errors are found in the batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
63-1
Inbound File Layout
BATCH 63 HEADER LAYOUT
Field Field Name
Type
Record Size = 120
Size
Pos
Req
Description
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
4
5
User ID
User Password
Batch Number
AN
AN
N
6
8
4
9-14
15-22
23-26
Yes
Yes
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Loan Option
Delivery
Filler
A
1
43
H=Header Record
Holder ID of batch creator, i.e., current
holder
User ID of person creating batch
User ID password
Batch number assigned. Cannot be
duplicated within the same day
63=Change Classing Data
Date batch was created/updated;
MMDDYYYY
Time batch was created/updated;
HHMMSS
Y or N
A
77
44-120
Reserved for EWR, Inc. use
10
63-2
BATCH DETAIL – RECORD 1 (In optional fields an asterisks (*) in the first character clears the data at
the host. Blanks leave the field unchanged otherwise the field is updated to whatever data is in the
field.)
Field Field Name
Type Size Pos
Req Description
1
Record Type
A
1
1
Yes
D=Detail Record
2
Warehouse
N
6
2-7
Yes
Warehouse code of the receipt
Code
3
Electronic
N
7
8-14
Yes
Electronic Receipt number issued by the
Receipt
warehouse
Number
4
Crop Year
N
4
15-18
Yes
Crop Year of the receipt assigned by the
warehouse
5
Clear Class
A
1
19
C=clear all classing data (fields 8-30) for this
receipt, else leave this field blank
6
Gin Code
N
5
20-24
AMS defined 5 digit gin code
7
Gin Tag
N
7
25-31
Gin assigned bale tag number; if less than 7
digits then add leading zeroes
8
Date Classed
N
8
32-39
Date Classed by AMS - MMDDCCYY
9
Module/Trailer N
1
40
Module=1, Trailer=2, Single =0
10
Filler
N
5
41-45
Reserved for EWR, Inc. use
11
12
13
14
Filler
Filler
Color Grade
Staple
N
A
N
N
2
3
2
2
46-47
48-50
51-52
53-54
Reserved for EWR, Inc. use
Reserved for EWR, Inc. use
AMS assigned color grade
AMS assigned.
15
Micronaire
N
2
55-56
AMS assigned.
16
17
18
Strength
Leaf Grade
Extraneous
Matter
Remarks
HVI Color
Color
Quadrant
Filler
HVI + B
Trash %
Length
Filler
Upland/Pima
AN
N
AN
4
1
2
57-60
61
62-63
AMS assigned.
AMS assigned
AMS assigned.
AN
N
N
2
2
1
64-65
66-67
68
AMS assigned
AMS assigned.
AMS assigned.
A
N
N
N
A
N
2
3
2
3
2
1
69-70
71-73
74-75
76-78
79-80
81
Reserved for EWR, Inc. use
AMS assigned
AMS assigned.
AMS assigned
Reserved for EWR, Inc. use
AMS assigned. 1=Upland 2=Pima
19
20
21
22
23
24
25
26
27
63-3
28
Loan Value
Sign
Loan Value
Record Type
AN
1
82
N
N
4
1
83-86
87
31
Disposition
Holder
A
7
88-94
32
33
34
35
HVI RD
Uniformity
Record Status
Filler
N
N
N
A
3
3
1
18
36
Record
Number
N
1
95-97
98-100
101
102119
120
29
30
AMS assigned. Must be a "+" or "-" if field
29 not blank. Blank if field not used
Data required if field 28 not blank
AMS assigned. 0=orig, 1=review, 2=rework,
3=duplicate, 4=correction
Holder ID to which receipts will be
transferred; Required if Header, Loan
Option Delivery is “Y”.
AMS assigned
AMS assigned
AMS assigned
Reserved for EWR, Inc. use
1 -Required if 2 detail records
BATCH DETAIL – RECORD 2 (OPTIONAL) – The batch cannot be mixed (All 1 record or 2 records.)
(In optional fields, an asterisks (*) in the first character clears the data at the host. Blanks leave
the field unchanged, otherwise the field is updated to whatever data is in the field.)
Field Field Name
Type Size Pos
Req Description
1
Record Type
A
1
1
Yes
D=Detail Record
2
N
6
2-7
Yes
Warehouse code of the receipt
N
7
8-14
Yes
4
Warehouse
Code
Electronic
Receipt Number
Receiving Paid
A
1
15
Electronic Receipt number issued by the
warehouse
Y = Paid, N= Not Paid
5
Loading Paid
A
1
16
Y = Paid, N = Not Paid
6
Classing Paid
A
1
17
Y = Paid, N = Not Paid
7
Compress Paid
A
1
18
Y = Paid, N = Not Paid
8
Storage Paid
Through
N
8
19
9
Farm Number
N
5
27-31
10
Invoice Number
AN
10
32-41
Storage paid through date: MMDDYYYY
Last date that storage charges against the
bale were paid
Farm serial number assigned by FSA to
identify a specific area of production
Invoice number defined by the Buyer
11
PO Number
AN
10
42-51
Purchase order number by Buyer
12
Growers
Reference
Number
N
11
52-62
Optional information
3
63-4
13
Growers ID
N
9
63-71
Optional information
14
User Defined
NA
12
72-83
Optional information
15
Producers Name AN
32
84-115
Producer’s Name
16
Gin Charges
N
4
17
Record
Numbers
N
1
116119
120
Yes
2 = 2nd detail record
BATCH TRAILER
See Appendix A – Common Batch Trailer
63-5
- Request Warehouse Profile
The request warehouse profile (64) has been changed to no longer return the term fields. Also, some
fields have been renamed. If a holder wants to see the terms of a warehouse profile, they should go to
www.ewrinc.com\cotton and search for that warehouse.
64-1
- Request Record Data by Selection Criteria
A Batch Type 65 is used to request detailed record data based upon certain criteria. This allows the
requestor to narrow the focus of the download file without entering specific receipt numbers. To
request record data by selection criteria, the user can choose one to three of the criteria available for
which they want detailed information for all records in that particular group. The host system processes
the Batch Type 65 and creates a download for all records in the group, based on the criteria.
If a warehouse wants to reconcile their inventory they should use batch type 66.
Request Flag
 “A” is for all open records, matching the holder selection field.
 “C” is for all open records that match the crop year entered in the request field.
 “D” is for all open records that match the draft number entered in the request field.
 “G” is for all open records that match the gin code entered in the request field.
 “H” is for all open records that match the current holder entered in the request field. (This
assumes that the requestor is the subholder of the record)
 “I” is for all open records that match the invoice number entered in the request field.
 “L” is for all open records that match the CCC loan number entered in the request field.
 “O” is for all open records that match the purchase order number entered in the request field.
 “P” is for all open records that match the previous holder number entered in the request field.
(This assumes that the requestor is the subholder of the record)
 “R” is for all open records that match the grower reference number entered in the request field.
 “S” is for all open records that match the subholder number entered in the request field. (This
assumes that the requestor is the subholder of the record)
 “T” is for all IEWRs that match the EWR Container ID in the request field
 “W” is for all open records that match the warehouse code entered in the request field.
 “Z” is for all open records that match the shipping order number entered in the request field.
Request Field:
 If the request flag is not “A”, then this field must be filled.
Holder Selection Field:
 “Blank”, then all open records held by the requestor that match the request flag and field will be
returned.
 “S”- then all open records subheld by the requestor that match the request flag and field will be
returned. If request flag is “W”, then only records subheld and not under shipping order will be
returned.
 If W, then all open records issued for the holder (warehouse) will be returned.
 If W and Request Field is “L”, then all open records held by CCC (under loan) for the holder
(warehouse) will be returned.
65-1
Record Type Field:
 All Electronic Records is “A” or Blank.
 Non-Negotiable Block Records is “O.”
 Negotiable Block Records is “G.”
 Non-Negotiable Record is “E.”
 World single certificated record is “W”
 World container record is “T”
Acknowledgment produced by a successful Batch Type 65 are:
 The holder/subholder requesting the information receives a holder and location
acknowledgment
 The holder/subholder receives a download of all detailed data processed by the batch
All acknowledgments and errors generated are outlined in Section “Files Received from Host.”
65-2
Inbound File Layout
BATCH 65 HEADER RECORD ONLY
Field
Field Name
Type Size
1
Record Type
A
1
Pos
1
Req
Yes
Record Size = 120
Description
H=Header Record
2
3
Holder ID
User ID
AN
AN
7
6
2-8
9-14
Yes
Yes
Holder ID of Requestor
User ID of person creating batch
4
AN
8
15-22
Yes
User ID password
5
User
Password
Batch Number
N
4
23-26
Yes
Batch number assigned
6
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
65=Request Receipt Data by Selection
Criteria
Date of batch; MMDDYYYY
8
Batch Time
N
6
37-42
Yes
Time of batch; HHMMSS
9
Request Flag
A
1
43
Yes
See above description
10
Request Field
AN
11
44-54
Yes
11
A
1
55
12
Holder
Selection
Reserved
See above description. Data(must be
right-justified)
See above description.
A
2
56-57
Blank
13
Receipt
A
1
58
14
Filler
A
62
59-120
A or Blank = All electronic receipt
O = Non-Negotiable block receipt
G=Negotiable block receipt
T = World container receipt
W = Single world certificated receipt
Reserved for EWR, Inc. use
*NO DETAIL OR TRAILER RECORD IS NEEDED
65-3
– Request Reconciliation File
A Batch Type 66 is used to request all open or deactivated record data for a specific warehouse. The
holder sending the file must be a warehouse and the issuer of the record.
The warehouse does not have to be the holder or subholder of the record.
Cancelled records are not included.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
from EWR”.
Inbound File Layout
BATCH 66 HEADER LAYOUT
Field
Field Name
Type
Record Size = 120
Size
Pos
Req
Description
1
Record Type
A
1
1
Yes
H=Header Record
2
Holder ID
AN
7
2-8
Yes
Holder ID who sent the batch.
3
AN
6
9-14
Yes
EWR ID
AN
8
15-22
Yes
EWR User Password
N
4
23-26
Yes
Batch Number assigned
6
User ID
User
Password
Batch
Number
Batch Type
N
2
27-28
Yes
7
Batch Date
N
8
29-36
Yes
8
Batch Time
N
6
37-42
Yes
9
Filler
AN
78
43-120
66
Date batch was created/updated;
MMDDYYYY
Time batch was created/updated;
HHMMSS
Reserved for EWR, Inc. use.
4
5
*NO DETAIL OR TRAILER RECORD IS NEEDED.
66-1
-Reserved
-Reserved
-Reserved
69-1
- Bank Release of Shipping Orders (Banks Only)
If a Bank holds receipts as collateral, the subholder cannot effect a change in holdership of the receipts
without the consent of the bank. When receipts must be sent to a warehouse via a shipping order
(Batch Type 21), the batch 21 processes at the host level and sends a Batch Type 86 acknowledgment to
the bank (described in Section “Files Received From Host”.) Batch Type 86 serves a twofold purpose:
 To send to a bank a shipping order receipt list
 Create a special acknowledgment in the PC software which allows the bank to easily take action
on the shipping order, also described in greater detail in Section “Files Received from Host.”
The EWR, Inc. website gives banks the ability to easily take action on the shipping order, ie, release it or
return it to shipper. Both actions are called a release. When the Bank releases the shipping order, a
Batch Type 70 is created. The purpose of the Batch Type 70 is to release the receipts from the banks
holdership, to the warehouse or to reject the shipping order entirely. When a S/O is rejected, the
merchant remains as the subholder of the receipt. The bank action does not require any keying of data
by the bank, such as receipt numbers or shipping order number.
World receipts are ineligible for this batch type.
CASE 1:
The acknowledgments generated by a successful Batch Type 70 when the shipping order is released (R)
to the warehouse are:
 The bank gets a holder and location acknowledgment
 The subholder gets a Holder acknowledgment
 The warehouse receives the download of the shipping order receipts
CASE 2:
The acknowledgments generated when the bank returns (T) the receipts to the seller (rejection), are:
 The bank gets a holder and location acknowledgment
 The subholder/shipper gets a holder acknowledgment
The layouts for acknowledgments and errors generated are outlined in Section “Files Received From
Host”
70-1
Inbound File Layout
BATCH 70 HEADER LAYOUT
Field
Field Name
Type
1
Record Type
A
2
Holder ID
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
3
4
5
6
7
8
9
User ID
User Password
Batch Number
Batch Type
Batch Date
Batch Time
Block Receipts
AN
AN
N
N
N
N
A
6
8
4
2
8
6
1
9-14
15-22
23-26
27-28
29-36
37-42
43
10
Filler
A
77
44-120
BATCH DETAIL
Field Field Name
1
Record Type
2
Shipper Holder
ID
3
Shipping Order
Number
4
Warehouse Code
Record Size = 120
Description
H = Header Record
Holder ID of Bank that holds the cotton
as collateral
User ID of person creating batch
User ID Password
Batch Number assigned.
70 = Bank Release of Shipping Orders
Date of Batch; MMDDYYYY
Time of Batch; HHMMSS
Y = If Batch contains Block Receipts
Blank = Regular Receipts
Reserved for EWR, Inc. use
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
Description
D = Detail Record
Merchant (shipper) Holder ID
AN
10
9-18
Yes
N
6
19-24
Yes
From Batch Type 86, Shipping Order
Number assigned by shipper
Warehouse Code of facility where the
cotton is stored
Date the Batch Type 70 was created
MMDDYYYY
Time the Batch Type 70 was created
HHMMSS
R = Release; T = Return to seller, bank
refused to release S/O
From batch type 86, shipper assigned
mark
Reserved for EWR, Inc. use
5
Date Of Release
N
8
25-32
Yes
6
Time Of Release
N
6
33-38
Yes
7
Type Of Release
A
1
39
Yes
8
Shipper’s Mark
AN
8
40-47
Yes
9
Filler
A
73
48-120
BATCH TRAILER
See Appendix A – Common Batch Trailer
70-2
- Bank Release of Drafts (Banks Only)
A Batch Type 71 is used by banks to release both inbound and outbound drafts.
If any errors are found in the batch, the entire batch will be rejected.
World receipts are ineligible for this batch type.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
Inbound Drafts
When a holder creates and transmits a Batch Type 51 (Delivery via Bank Draft), the host processes the
51 and creates a Batch Type 87 (bank draft -described in Section “Files Received From Host.”) The Batch
Type 87 is downloaded to the bank.
When the bank receives the Batch Type 87 or bank draft, the action taken on the draft creates a Batch
Type 71. Batch Type 71 can initiate one of the following three processes:
 Release the receipts to the purchaser
 Hold the receipts as collateral
 Return the Receipts to the Seller.
CASE 1:
If the action from the Batch Type 71 releases the receipts to the purchaser (R), the host changes
holdership of the receipts from the bank’s holder ID to that of the subholder or buyer.
The acknowledgments generated by a regular release of Batch Type 71 are:
 The bank receives a location and holder acknowledgment (Release of Draft)
 The buyer receives a holder acknowledgment (Release of Draft)
CASE 2:
If the action from the Batch Type 71 returns the receipts to seller (T), the previous holder becomes the
holder and the bank becomes the previous holder.
The acknowledgments generated by a Batch Type 71, returned to seller, are:
 The Bank receives Holder acknowledgment (Release of Draft)
 The Buyer receives a Holder acknowledgment (Release of Draft)
 The Seller receives a Holder acknowledgment (Release of Draft)
71-1
Outbound Drafts
Outbound drafts are used for bank-to-bank transactions involving drafts. The outbound draft is unique
in that:
 The receipts in the draft must currently be held by a bank as collateral.
 The user/subholder does not need to identify bank which holds the receipts as collateral, the
host automatically sends the draft to that bank.
 Holdership of the receipts in the outbound draft will move from the seller’s bank’s holder ID to
buyer’s bank’s ID. (The host system will allow the same bank ID to be both current and previous
holder. This is necessary if both buyer and seller use the same bank.)
 The subholder of receipts initiates the Batch Type 51 which creates the draft.
Outbound drafts are created by a batch type 51 (Delivery Via Bank Draft). When a holder creates and
transmits a Batch Type 51, the host processes the 51 and creates a Batch Type 91 (bank draft Outbound - described in Section “Files Received From Host.”) The Batch Type 91 is downloaded to the
bank.
When the bank receives the Batch Type 91 or outbound bank draft, the action taken by the bank on the
draft creates a Batch Type 71. Batch Type 71 for an outbound draft can initiate one of the following two
(2) processes:
 Release the receipts
 Return the Receipts to the Seller.
The bank does not have the option to hold the receipts as collateral, as is found with an inbound draft.
If the action from the Batch Type 71 is to release the receipts, the host changes holdership of the
receipts from the Seller’s bank’s Holder ID to the Buyer’s bank’s ID. e.g., B444444 to B888888.
Acknowledgments created from a successful Batch Type 71, release of an outbound draft are:
 The bank which released the draft (initiator of Batch Type 71) will receive a location
acknowledgment
 The bank which released the draft will receive a holder acknowledgment (Release of Draft).
 Seller receives this acknowledgement.
 The Buyer/Purchaser will receive a total of 3 holder acknowledgments:
 Two (2) Holder acknowledgments for Deliver Via Bank Draft
 One (1) Holder acknowledgment for Release of Bank Draft
 The Buyer/Purchaser receives a delivery of the detail data
 The buyer’s bank will receive a Batch Type 87 acknowledgment (Bank Draft)
When the outbound draft processes, it automatically creates the download and acknowledgments files
associated with an Inbound draft. (See section above)
71-2
Inbound File Layout
BATCH 71 HEADER LAYOUT
Field
Field Name
1
Record Type
2
Holder ID
3
User ID
4
User Password
5
Batch Number
6
Batch Type
7
Batch Date
8
Batch Time
9
Block Receipts
10
Filler
BATCH DETAIL
Field
Field Name
1
Record Type
2
Buyer’s Holder
ID
3
Draft Number
4
Draft Amount
Type
A
AN
AN
AN
N
N
N
N
A
Size
1
7
6
8
4
2
8
6
1
Pos
1
2-8
9-14
15-22
23-26
27-28
29-36
37-42
43
A
77
44-120
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
AN
N
10
10
9-18
19-28
Yes
Yes
Yes
Yes
Yes
5
6
7
Date Of Release
Time Of Release
Type Of Release
N
N
A
8
6
1
29-36
37-42
43
8
Outbound Bank
ID
Seller’s Holder
ID
Draft Control
Number
AN
7
44-50
AN
7
51-57
N
10
58-67
Filler
A
53
68-120
9
10
11
Req
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Record Size = 120
Description
H=Header Record
Holder ID of Bank releasing the draft
User ID of person creating batch
User ID Password
Batch Number assigned
71=Bank Release of Draft
Date of batch; MMDDYYYY
Time of batch; HHMMSS
Y=If batch contains Block Receipts
Blank=Regular Receipts
Reserved for EWR, Inc. use
Description
D=Detail Record
From batch type 87 or 91, Merchant
(Buyer) Holder ID
From batch type 87 or 91
Draft Amount 99999999V99, must be
at least $1.00
Date batch type 71 was created
Time batch type 71 was created
R=Regular (buyer becomes holder)
T=Returned to Seller (all parties get
acknowledgments)
Holder ID of buyer’s (subholder) Bank.
That bank will receive a batch type 87
Holder ID of Seller (Previous Subholder)
Host assigned control number. Created
when a batch type 51 processed (Stops
movement of receipts held by the draft
until the bank releases the draft)
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
71-3
- Bank Release of Collateral (Banks Only)
If a Bank holds receipts as collateral, the subholder cannot effect a change in holdership of the receipts
without the consent of the bank. When a subholder wishes to transfer holdership of receipts to another
party via a Collateral Release Request (Batch Type 22), the Batch Type 22 processes at the host level and
sends a Batch Type 92 acknowledgment to the bank (described in - Files Received From Host).
The EWR, Inc. website gives banks the ability to easily take action on the collateral release request, ie,
release or reject. Both actions are called a release.
When the Bank releases the collateral release request (R), a Batch Type 72 is created. The purpose of
the Batch Type 72 is to release the receipts from the banks holdership, to the new holder or to reject the
request entirely. When a collateral release request is rejected (T), the merchant (or current subholder)
remains as the subholder of the receipt. When the bank uses the EWR PC Software, no keying of receipt
numbers is required.
World receipts are ineligible for this batch type.
CASE 1:
The acknowledgments generated by a successful Batch Type 72 when the collateral release request is
released (R) to the new holder are:
 The bank gets a holder a acknowledgment
 The subholder gets a holder acknowledgment
 The new holder gets a holder acknowledgment
 The new holder receives the download of the receipts
 If the new holder is collateralized, then:
o The new holder and it’s bank receive a collateral Holder Acknowledgment (Batch Type
81)
CASE 2:
The acknowledgments generated when the bank returns (T) the receipts to the merchant/subholder
(rejection), are:
 The bank gets a holder acknowledgment
 The subholder gets a holder acknowledgment
If any errors are found in the batch, the entire batch will be rejected.
The layouts for acknowledgments and errors generated are outlined in the document “Files Received
From EWR”.
72-1
Inbound File Layout
BATCH 72 HEADER LAYOUT
Field
Field Name
Type
Record Size = 120
Size
Pos
Req
Description
H=Header Record
Holder ID of Bank that holds the cotton
as collateral
User ID of person creating batch
User ID Password, password of user
creating the batch
Batch Number assigned. Cannot be
duplicated within the same day.
72=Bank Release of Collateral
Date batch was created/updated;
MMDDYYYY
Time Batch was created/updated;
HHMMSS
Y=If batch contains Block Receipts
Blank=Regular Receipts
Reserved for EWR, Inc. use
1
2
Record Type
Holder ID
A
AN
1
7
1
2-8
Yes
Yes
3
4
User ID
User Password
AN
AN
6
8
9-14
15-22
Yes
Yes
5
Batch Number
N
4
23-26
Yes
6
7
Batch Type
Batch Date
N
N
2
8
27-28
29-36
Yes
Yes
8
Batch Time
N
6
37-42
Yes
9
Block Receipts
A
1
43
10
Filler
A
77
44-120
72-2
BATCH DETAIL
Field
Field Name
1
Record Type
2
To Holder ID
Type
A
AN
Size
1
7
Pos
1
2-8
Req
Yes
Yes
3
Release Number
AN
10
9-18
Yes
4
From Subholder
ID
AN
7
19-25
Yes
5
Date Of Release
N
8
26-33
Yes
6
Time Of Release
N
6
34-39
Yes
7
Type Of Release
A
1
40
Yes
8
9
10
Filler
Reserved
Filler
A
N
A
17
10
53
41-56
57-66
67-120
Description
D=Detail Record
Holder ID of Purchaser or whomever is
to receive holdership of the receipts
[To Holder can equal the From
Subholder - see field 4]
A control number generated by the
host computer to be used for
identifying the collateral release batch
and acknowledging the processing of
the release to users
The Holder ID of the collateralized
merchant who wishes to transfer
holdership of receipts to a new holder
or release receipts from the Banks
holdership to themselves [From
Subholder=To Holder]
Date the Batch Type 72 was released;
MMDDYYYY
Time the Batch Type 72 was received
by the host; HHMMSS
R-Release; T=Return to seller, bank
refused to release collateral
Reserved for EWR, Inc. use
Reserved for EWR Use
Reserved for EWR, Inc. use
BATCH TRAILER
See Appendix A – Common Batch Trailer
72-3
Appendix A Common Batch Trailer Layout
BATCH TRAILER
Field
Field Name
1
Record Type
2
Holder ID
3
Batch Number
4
Record Count
Type
A
AN
N
N
Size
1
7
4
9
Pos
1
2-8
9-12
13-21
Req
Yes
Yes
Yes
Yes
5
Total Weight
N
9
22-30
No
6
Hash Total
N
15
31-45
No
7
Filler
75
46-120
Description
T=Trailer Record
Must be same as in the batch header
Must be same as in the batch header
Total number of detail records in the
batch
Total net weight of receipts in the
batch
Hash total of electronic receipt (i.e.,
tag) numbers. This field can be zeros
and the hash total will not be checked.
If a number other than zero is
entered, it must be correct for the
batch to successfully process.
Reserved for EWR, Inc. use
A-1
Appendix B Shipping Instruction Codes
Code
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17-19
20
21
22
23
24
25
26-99
Description
Shipper name-bales - (such as Americot – 90 bales)
Ship via - (trucker and rail name - such as ICRR)
Destination - (such as Allison, AL)
Reweigh
Cover sample holes bale - grade "A"
Export
All bales must be marked
Brand bale
Resample
Do not mark bale or tag
Load rack samples on truck
Load only gin UD grade A bales 55 inches in height
Notify shipper before loading if not gin UD bale
Please reference buyer invoice/so number when billing
No broken bands - will reject
Reserved for EWR, Inc use.
Paper Tag List With Order
Reserved for EWR, Inc use.
Fumigation
Phytosanitary Inspection Required
Inbound Load Number
Outgoing Load Number
Truck/Rail (Enter “T” for truck and “R” for rail)
Load With (Enter the Marks to“Load With” separated by a comma such as
“25/BM,26/BM,27/BM”)
Not Defined
B-1
Appendix C Transmission File Header and Trailer Layout
Each transmission to the EWR host must contain a transmission header and a transmission trailer.
The user may send as many batches as desired within a single transmission file. It is strongly
recommended that individual batch sizes be limited to 10,000 records. Batches which exceed this
record limit will process slower.
The transmission trailer is optional, but if supplied, then it will be verified, and if there are any errors,
then holder will be notified with a warning acknowledgment.
Please note that the record count in the transmission trailer is equal to the count of all records in the
transmission file, including transmission header and transmission trailer.
TRANSMISSION HEADER LAYOUT
Field Field Name
Type
1
Record Type
A
2
Location ID
N
3
Transmission
N
Number
4
Location Password
AN
Size
1
6
6
Pos
1
2-7
8-13
Req
Yes
No
No
8
14-21
No
Yes
Yes
No
No
Description
B=Beginning File Record
Location ID assigned by EWR,
Transmission control number - Userdefined
Password of Location ID, 8 characters
case sensitive
MMDDYYYY data file was created
HHMMSS time file was created
Vendor Software version
Vendor of Software sending
transmission file
Reserved for EWR, Inc. use
5
6
7
8
Date
Time
Version
Vendor
N
N
8
6
5
20
22-29
30-35
37-40
41-60
9
Filler
A
60
61-120
Size
1
6
6
Pos
1
2-7
8-13
Req
Yes
No
Yes
Description
E=Ending File Record
Must match file header location
Must match file header transmission
Yes
Count of all records in the transmission
file, not including transmission header
and transmission trailer.
Reserved for EWR, Inc. use
TRANSMISSION TRAILER LAYOUT
Field Field Name
Type
1
Record Type
A
2
Location ID
N
3
Transmission
N
Number
4
Record Count
N
6
14-19
5
Filler
A
101
20-120
C-1
Appendix D EWR Receipt Types or Codes
Code
Description
R
Regular (Negotiable)
E
Regular (Non-Negotiable)
C
Certificated #2 (USA only)
D
Decertificated #2
G
Block (Negotiable)
O
Block (Non-Negotiable)
T
World Container
W
World Certificated Single Receipt
X
World Decertificated Single Receipt
D-1
Appendix E Certificated Delivery Points
Code City and Country
1
Galveston, United States
2
Houston, United States
3
Dallas, United States
5
New Orleans, United States
7
Memphis, United States
8
Greenville (SC) , United States
9
<reserved>
10
Sydney, Australia
11
Melbourne, Australia
12
Brisbane, Australia
13
Port Kelang, Malaysia Free Zone
14
Port Tanjung, Pelepas, Malaysia Free Zone
15
Port Koahsiung, Taiwan Free Zone
16
Port Keelung, Taiwan Free Zone
Country Code
USA
USA
USA
USA
USA
USA
AUS
AUS
AUS
MYS
MYS
TWN
TWN
E-1
Appendix F Certificated Classing Offices
ID
Description
01 U.S.D.A.
02 ICA Bremen
Appendix G EWR Definition ID
ID
Description
1
Legal Title per USA
2
Non-Title
G-1
Appendix H Country Origination Code and Compression Codes
Compression Codes
EWR ID
1
2
3
4
5
6
7
Description
Flat Uncompressed
Flat Modified
Standard Density
Gin Standard Density
Gin Universal Density
Universal Density
High Density
Code
F
M
GS
GU
GU
UD
HD
Country Origination Code
Country
United States
Australia
Brazil
India
Benin
Burkina Faso
Cameroon
Ivory Coast
Mali
Code
USA
AUS
BRA
IND
BEN
BFA
CMR
CIV
MLI
EWR Compression ID
5
7
6
6
6
6
6
6
6
Tenderable Weight Range
400-650 lbs
408-573 lbs
390-550 lbs
340-400 lbs
419-573 lbs
419-573 lbs
419-573 lbs
419-573 lbs
419-573 lbs
Note 1: The provider system will allow for more than one EWR Compression ID per Country Code.
Note 2: Only one weight range will be allowed per Country.
Note 3: The above compression and weight ranges will be stored in a table.
H-1
Appendix I Bagging and Ties Codes
Type Of Bagging
Cotton
Polyethylene (Film)
(Woven) Polypropylene
Light weight cotton
Unknown/Other/Experimental
Code
C
P
W
L
X
Type of Strap\Tie
Polyester (6-Strap)
Steel (6-Wire)
Controlled Slip Steel (6-Strap)
Steel (8-Wire)
Controlled Slip Steel (8-Strap)
Fixed Seal Steel (8-Strap)
Various/Other/Experimental
Code
1
2
3
4
5
6
0 (zero)
Note: These are EWR recommendations and are not enforced or required.
I-1