Code Tables

State Codes

State Name2-Digit CodeNumeric Code
AlabamaAL1
AlaskaAK2
ArizonaAZ4
ArkansasAR5
CaliforniaCA6
ColoradoCO8
ConnecticutCT9
DelawareDE10
District Of Columbia (DC)DC11
FloridaFL12
GeorgiaGA13
HawaiiHI15
IdahoID16
IllinoisIL17
IndianaIN18
IowaIA19
KansasKS20
KentuckyKY21
LouisianaLA22
MaineME23
MarylandMD24
MassachusettsMA25
MichiganMI26
MinnesotaMN27
MississippiMS28
MissouriMO29
MontanaMT30
NebraskaNE31
NevadaNV32
New HampshireNH33
New JerseyNJ34
New MexicoNM35
New YorkNY36
North CarolinaNC37
North DakotaND38
OhioOH39
OklahomaOK40
OregonOR41
PennsylvaniaPA42
Rhode IslandRI44
South CarolinaSC45
South DakotaSD46
TennesseeTN47
TexasTX48
UtahUT49
VermontVT50
VirginiaVA51
WashingtonWA53
West VirginiaWV54
WisconsinWI55
WyomingWY56

Currency Codes

Currency DescriptionCurrency Code
Angolan KwanzaAOA
Argentine PesoARS
Australian DollarAUD
Bahamian DollarBSD
Bahraini DinarBHD
Barbados DollarBBD
Belarusian RubleBYR
Bermuda DollarBMD
Brazilian RealBRL
Bruneian DollarBND
Bulgarian LevBGN
Canadian DollarCAD
Chilean PesoCLP
Chinese YuanCNY
Colombian PesoCOP
Costa Rican ColonCRC
Croatian KunaHRK
Czech Republic KorunaCZK
Danish KroneDKK
Dominican PesoDOP
Egyptian PoundEGP
EuroEUR
Ghanaian CediGHS
Guatemalan QuetzalGTQ
Honduran LempiraHNL
Hong Kong DollarHKD
Hungarian ForintHUF
Icelandic KronaISK
Indian RupeeINR
Indonesian RupiahIDR
Israeli New ShekelILS
Japanese YenJPY
Jordanian DinarJOD
Kenyan ShillingKES
Kuwaiti DinarKWD
Malaysian RinggitMYR
Mauritian RupeeMUR
Mexican PesoMXN
Moroccan DirhamMAD
New Taiwan DollarTWD
New Zealand DollarNZD
Nigerian NairaNGN
Norwegian KroneNOK
Omani RialOMR
Pakistani RupeePKR
Peruvian Nuevo SolPEN
Philippine PesoPHP
Polish ZlotyPLN
Pound SterlingGBP
Qatari RialQAR
Romanian LeuRON
Russian RubleRUB
Saudi RiyalSAR
Singapore DollarSGD
South African RandZAR
South Korean WonKRW
Sri Lankan RupeeLKR
Swedish KronaSEK
Swiss FrancCHF
Thailand BahtTHB
Trinidad and Tobago DollarTTD
Turkish LiraTRY
Ukrainian HryvniaUAH
United Arab Emirates DirhamAED
US DollarUSD
Vietnamese DongVND
West African FrancXOF

Format Data 000 - ECS Data – Format A

PositionField NameDescription
1-2Retailer IDThis value is used to identify the subdivisions of the organization, such as region, chain, etc.
3-10Sales DateThe date in CCYYMMDD format
11-14Transaction NumberThe POS-generated transaction number
15-17Event Sequence NumberThe POS generated event sequence number
18-19POS Transaction Type01 = Sale
02 = Check Cashing Transaction
03 = Recurring
04 = Transaction Fee
05 = Manager Override
06 = Corporate Gift Card Sale
07 = Pre-Authorized Transaction (NRV =01 Only)
08 = Restaurant Sale
09 = Cash Check with Fee
21 = Payment on Account
23 = NSF Payment (Bad Check)
28 = General Ledger Pay In
31 = Payroll check (Employee)
50 = WIC Sale
20-21POS Tender Type01 = Savings Entry
02 = Paper Check
03 = Business DDA
04 = Cashier’s Check
14 = Traveler’s Check
17 = Money Order
57 = WIC Check
58 = Manufacturer’s Rebate
73 = Payroll Check
74 = Government Check
22-31Cashier NumberThe employee ID number for the cashier
32-41Consumer 2nd IDEmployee ID for discount or payroll check
42-43Consumer ID TypeState / Province Code
44-73Consumer ID NumberCustomer ID Number (spaces are allowed – leading/ trailing spaces will be truncated)
74-74MICR RatingThis value (0-9) is assigned by the merchant at the time of authorization.
75-99Merchant Reference NumberA unique merchant transaction level ID
100-152ReservedReserved for future use.

Format Data 001 - ECS Data – Format B

PositionField NameDescription
1-8Sales DateThe accounting date in CCYYMMDD format
9-10POS Transaction Type01 = Sale (DDA)
02 = Check Cashing Transaction
03 = Recurring
04 = Transaction Fee
05 = Manager Override
06 = Corporate Gift Card Sale
07 = Pre-Authorized Transaction
08 = Restaurant Sale
09 = Cash Check with Fee
21 = Payment on Account
23 = NSF Payment (Bad Check)
28 = General Ledger Pay In
31 = Payroll check (Employee)
50 = WIC Sale
11-12POS Tender Type01 = Savings Entry
02 = Personal DDA (Paper Check)
03 = Business DDA
04 = Cashier’s Check
05 = Fleet Check
14 = Traveler’s Check
17 = Money Order
57 = WIC Check
58 = Manufacturer’s Rebate
73 = Payroll Check
74 = Government Check
13-22Cashier NumberThe employee ID number for the cashier
23-32Consumer 2nd IDEmployee ID or Other ID, for example
33-57Merchant Reference NumberA unique merchant transaction level ID
58-59Fleet Check Type01 = ComData
02 = EFS
03 = FleetOne
04 = TransFund$
05 = TCH
06 = Other
60-74Check NumberThe check number as hand keyed by the cashier
75-84Authorization NumberIf “pre-Authorized transaction in positions 12-13, then this is the number provided by the authorizer
85-104Transaction NumberThe merchant or authorizer transaction number
105-124Payee NameThe hand keyed payee name: First Name {space} Last Name
125-144Issuer NumberThe merchant or authorizer issuer ID
145-147ECS Product CodeWEB = Web Initiated-Entry
TEL = Telephone Initiated-Entry
CCD = Corporate Cash Disbursement PPD = Pre-Arranged Payment and Deposit
148-152ReservedReserved for future use

Format Data 002 - Enhanced Transaction Data

PositionField NameDescription
1-11Reference Number CenterNumeric – Right Justified – Zero Filled
12-152Custom Defined DataAlpha Numeric – Left Justified

Format Data 003 - POS Logistics - Equipment Data

Field NameDescriptionFormatTypeLength
Terminal IDTerminal ID NumberNumericFixed22
Merchant IDMerchant ID NumberNumericFixed12
Operation IDOperation IDAlphaVariable30
DelimiterThis field is delimited by the “/” character.AlphaFixed1
Param IDParameter IDNumericFixed8
Application NameApplication NameAlphaFixed20
Application VersionApplication VersionAlphaFixed8
Manufacturer IDManufacturer IDAlphaFixed8
Device Serial NumberDevice Serial NumberAlphaFixed30
POS ModelPOS ModelAlphaFixed15
Operating System VersionOperating System VersionAlphaFixed10
Free RAM Memory (kb)Free RAM Memory (kb)AlphaFixed10
Free Flash Memory (kb)Free Flash Memory (kb)AlphaFixed10
EMV Kernel VersionEMV Kernel VersionAlphaFixed10
Application Manager VersionApplication Manager VersionAlphaFixed6
Module Application NameModule Application NameAlphaVariable50
DelimiterThis field is delimited by the “/” character.AlphaFixed1
Module Application VersionModule Application VersionAlphaVariable50
DelimiterThis field is delimited by the “/” character.AlphaFixed1
Client logo (Display)File nameAlphaFixed15
Client Logo (Printer)File nameAlphaFixed15
Credit Enabled0=off 1=onNumericFixed1
Debit Enabled0=off 1=onNumericFixed1
Manual Card Entry Enabled0=off 1=onNumericFixed1
Installment Store Enabled0=off 1=onNumericFixed1
Max Installment StoreMax Installment StoreNumericFixed2
Min Amount StoreMin Amount StoreNumericFixed5
Issuer Installment Enabled0=off 1=onNumericFixed1
Invoice Number Enabled0=off 1=onNumericFixed1
Invoice LabelInvoice LabelAlphaFixed12
Shipping Enabled0=off 1=onNumericFixed1
Language Enabled0=off 1=onNumericFixed1
Image Loader Enabled0=off 1=onNumericFixed1
Auto SettleIn HHMM format (2400=midnight, 0000=off)NumericFixed4
DW IntervalIn days (000 = disabled)NumericFixed3
DW TimeIn HHMM format (2400=midnight, 0000=off)NumericFixed4
Auto Info IntervalIn days (000 = disabled)NumericFixed3
Auto Info TimeIn HHMM format (2400=midnight, 0000=off)NumericFixed4
Auto Statistic IntervalIn days (000 = disabled)NumericFixed3
Auto Statistic TimeIn HHMM format (2400=midnight, 0000=off)NumericFixed4
EMV Key Data DateIn MMDDYYYY formatNumericFixed8
Reg KeyReg KeyAlphaVariable20
DelimiterThis field is delimited by the “/” character.AlphaFixed1
General InfoAlphaVariable80
DelimiterThis field is delimited by the “/” character.AlphaFixed1
Primary Connection Type0 = Dial
1 = Ethernet
2 = GPRS
AlphaFixed1
Secondary Connection Type0 = Dial
1 = Ethernet
2 = GPRS
AlphaFixed1
Dial prefixDial prefixNumericFixed5
Pre-Dial Enabled0=off 1=onNumericFixed1
IMSIIMSIAlphaFixed20
ICCIDICCIDAlphaFixed20
APNAPNAlphaFixed50
GPRS DisconnectGPRS DisconnectNumericFixed3

Format Data 004 - POS Logistics - Statistics Data

Field NameDescriptionFormatTypeLength
Terminal IDTerminal ID NumberNumericFixed22
Merchant IDMerchant ID NumberNumericFixed12
Operation IDOperation IDAlphaVariable30
DelimiterThis field is delimited by the “/” character.AlphaFixed1
Param IDParameter IDNumericFixed8
Last Download DateIn MMDDYYYYHHMMSS formatNumericFixed14
Last Settlement DateIn MMDDYYYYHHMMSS formatNumericFixed14
Last Authorization DateIn MMDDYYYYHHMMSS formatNumericFixed14
Number of Rows PrintedThe number of rows printed by the printerNumericFixed5
Number of Receipts PrintedThe number of receipts printed by the printerNumericFixed4
Approved TransactionsThe number of approved transactionsNumericFixed4
Declined TransactionsThe number of declined transactionsNumericFixed4
MSR read failuresThe number of Mag Stripe Read failuresNumericFixed4
Chip read failuresThe number of Chip Read failuresNumericFixed4
Fallback TransactionsThe number of EMV fallback transactionsNumericFixed4
Failures to connect primaryNumber of connection failures to the primary nbrNumericFixed3
Failures to connect secondaryNumber of connection failures to the secondary nbrNumericFixed3
Line busy toneNumber of line busy transactionsNumericFixed3
Timeouts primaryNumber of timeouts to the primary numberNumericFixed3
Timeouts secondaryNumber of timeouts to the secondary numberNumericFixed3
Average transaction time ATime in MMSS formatNumericFixed4
Average transaction time BTime in MMSS formatNumericFixed4
Average transaction time CTime in MMSS formatNumericFixed4
Average transaction time DTime in MMSS formatNumericFixed4
Retransmits CountNumber of re-transmittalsNumericFixed4
Modem Connection Speed 1Number of connections at 1200 baudNumericFixed4
Modem Connection Speed 2Number of connections at 2400 baudNumericFixed4
Modem Connection Speed 3Number of connections at 9.6kNumericFixed4
Modem Connection Speed 4Number of connections at 14.4kNumericFixed4
Modem Connection Speed 5Number of connections at 19.2kNumericFixed4
Modem Connection Speed 6Number of connections at 28.8kNumericFixed4
Modem Connection Speed 7Number of connections at 33.6kNumericFixed4
Modem Connection Speed 8Number of connections at 56kNumericFixed4