Extract Flat File Formats
This section outlines the format of output flat files created by master data, billing data, and consumption data extracts.
Data Areas:
• D2-IntervalDataExtRepoSnapshot (used for interval consumption extract)
• D2-IntervalDataExtRepoTOUSnap (used for interval consumption extract mapped to TOU periods)
Specifics for how the flat files are created are defined on batch controls and algorithms used by the extract process.
• File Name and Path: Parameters on batch controls define the file name, path, and other details about the output file.
• File Size and Contents: Batch controls for initial load/ongoing consumption requests include a parameter to specify the number of service points to be included in each file.
C1-AcctMailingAddrDataSnapshot
C1-AcctMailingAddrDataSnapshot is used for mailing address data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Account ID
accountId
ACCOUNT_​ID
Person Id
personId
PERSON_​ID
I s Season Address
isSeasonalAddress
Seasonal Address Start Date/Time
seasonStart
IS_​SEASONAL_​ADDRESS
Seasonal Address End Date/Time
seasonEnd
SEASONAL_​ADDRESS_​END_​DTTM
Mailing Address 1
address1
MAIL_​ADDRESS_​1
Mailing Address 2
address2
MAIL_​ADDRESS_​2
Mailing Address 3
address3
MAIL_​ADDRESS_​3
Mailing Address 4
address4
MAIL_​ADDRESS_​4
Locality
city
LOCALITY
Postal Code
postal
MAIL_​POSTAL_​CODE
Admin Area 1
state
ADMIN_​AREA_​1
Admin Area 2
adminArea2
ADMIN_​AREA_​2
Admin Area 3
adminArea3
ADMIN_​AREA_​3
Country
country
COUNTRY
Updated at
personAddressUpdatedAt
PERSON_​ADDRESS_​UPDATED_​AT
Top of Page
C1-BillDataSnapshot
C1-BillDataSnapshot is used for the bill-based data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Bill ID
billId
BILL_​ID
Account ID
accountId
ACCOUNT_​ID
Bill Date
billDate
BILL_​DATE
Due Date
dueDate
DUE_​DATE
Currency Code
currencyCode
CURRENCY_​CD
Current Balance
currentBalance
CURRENT_​BALANCE
Payoff Balance
payoffBalance
PAYOFF_​BALANCE
Previous Period Balance
previousPeriodBalance
PREVIOUS_​PERIOD_​BALANCE
Total Payments
totalPayments
TOTAL_​PAYMENTS
Total Adjustments
totalAdjustments
TOTAL_​ADJUSTMENTS
Total Bill Corrections
totalBillCorrections
TOTAL_​BILL_​CORRECTIONS
Total Current Billing Charges
totalCurrentBillingCharges
TOTAL_​CURRENT_​BILLING_​CHARGES
Total Balance Current Period
totalBalanceCurrentPeriod
TOTAL_​BALANCE_​CURRENT_​PERIOD
Last Update Date/Time
lastUpdateDateTime
BILL_​UPDATED_​AT
Top of Page
C1-BillSegmentDataSnapshot
C1-BillSegmentDataSnapshot is used for the bill segment-based data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Bill ID
billId
BILL_​ID
Bill Segment ID
billSegmentId
BILL_​SEGMENT_​ID
Service Agreement
serviceAgreement
SERVICE_​AGREEMENT_​ID
Start Date
startDate
BILL_​SEGMENT_​START_​DATE
End Date
endDate
BILL_​SEGMENT_​END_​DATE
Usage Start Date/Time
usageStartDateTime
USAGE_​PERIOD_​START_​DATE
Usage End Date/Time
usageEndDateTime
USAGE_​PERIOD_​END_​DATE
Estimated
isEstimate
ESTIMATED
Closing Billing Statement
isClosingBillSegment
CLOSING
Bill Segment Status
billSegmentStatus
STATUS
Bill Cycle
billCycle
BILL_​CYCLE_​CODE
Bill Cycle Description
billCycleDescr
BILL_​CYCLE_​DESCRIPTION
Premide ID
premiseId
PREMISE_​ID
Current Amount
currentAmount
CURRENT_​AMOUNT
Outstanding Amount
outstandingAmount
OUTSTANDING_​AMOUNT
Master Bill Segment ID
masterBillSegmentId
MASTER_​BILL_​SEGMENT_​ID
Last Update Date/Time
lastUpdateDateTime
BILL_​SEGMENT_​UPDATED_​AT
Top of Page
C1-ExternalRepoSABasedSnapshot
C1-ExternalRepoSABasedSnapshot is used for the service agreement-based master data extracts, and includes the following information:
For DataConnect v1+ please refer to data area C1-CustomerDataSnapshot in the application for the layout/schema.
Field Name
Schema Element
Metadata Field
Service Agreement Id
saId
SA_​ID
Account Id
accountId
ACCT_​ID
Person Id
personId
PER_​ID
Bill Cycle
billCycle
BILL_​CYC_​CD
Bill Cycle Description
billCycleDescription
DESCR
Collection Class
collectionClass
COLL_​CL_​CD
Collection Class Description
collectionClassDescription
DESCR
Account Information
accountInformation
ACCT_​INFO
Customer Class
customerClass
CUST_​CL_​CD
Customer Class Description
customerClassDescription
DESCR
Landlord Indicator
landlordIndicator
C1_​LANDLORD_​IND
Mailing Address
mailingAddress1
ADDRESS1
Mailing Address 2
mailingAddress2
ADDRESS2
Mailing Address 3
mailingAddress3
ADDRESS3
Mailing City
mailingCity
CITY
Mailing State
mailingState
STATE
Mailing Postal
mailingPostal
POSTAL
First Name
firstName
ENTITY_​NAME
Last Name
lastName
ENTITY_​NAME
Phone Number 1
phone1
PHONE
Phone Number 2
phone2
PHONE
Email Address
email
EMAILID
Special Role
specialRole
SPECIAL_​ROLE_​FLG
Special Role Description
specialRoleDescription
DESCR
Service Type
serviceType
SVC_​TYPE_​CD
Service Type Description
serviceTypeDescription
DESCR
CIS Division
cisDivision
CIS_​DIVISION
CIS Division Description
cisDivisionDescription
DESCR
SA Type
saType
SA_​TYPE_​CD
SA Type Description
saTypeDescription
DESCR
Revenue Class
revenueClass
REV_​CL_​CD
Revenue Class Description
revenueClassDescription
DESCR
SIC
sic
SIC_​CD
SIC Code Description
sicDescription
DESCR
Deposit Class
depositClass
DEP_​CL_​CD
Deposit Class Description
depositClassDescription
DESCR
Campaign
campaign
CAMPAIGN_​CD
Campaign Description
campaignDescription
DESCR
Debt Class
debtClass
DEBT_​CL_​CD
Debt Class Description
debtClassDescription
DESCR
SA Start Date
startDate
START_​DT
SA End Date
endDate
END_​DT
SA Status
saStatus
SA_​STATUS_​FLG
SA Status Description
saStatusDescription
DESCR
Rate Schedule
rateSchedule
RS_​CD
Rate Schedule Description
rateScheduleDescription
DESCR
SA's Service Point(s) Id
spId
SP_​ID
SA's Service Point(s) Start Date/Time
startDateTime
START_​DTTM
SA's Service Point(s) End Date/Time
stopDateTime
STOP_​DTTM
Top of Page
D1-ExternalRepositorySPSnapsht
D1-ExternalRepositorySPSnapsht is used for service point-based master data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Service Point ID
spId
D1_​SP_​ID
CIS Service Point ID
cisSpId
CIS_​EXT_​SP_​ID
Address
address1
DESCR254
City
city
CITY
State
state
STATE
Postal
postal
POSTAL
Service Point Type Code
spType
D1_​SP_​TYPE_​CD
Service Point Type Description
spTypeDescription
DESCR100
Service Type Code
serviceType
D1_​SVC_​TYPE_​CD
Service Type Description
serviceTypeDescription
DESCR100
Market Code
market
MKT_​CD
Market Description
marketDescription
DESCR100
Service Point Status Code
boStatus
BO_​STATUS_​CD
Service Point Status Description
boStatusDescription
DESCR100
Disconnect Location Flag
disconnectLocation
DISCONN_​LOC_​FLG
Disconnect Location Description
disconnectLocationDescription
DESCR100
Measurement Cycle Code
measurementCycle
MSRMT_​CYC_​CD
Measurement Cycle Description
measurementCycleDescription
DESCR100
Measurement Cycle Route Code
measurementCycleRoute
MSRMT_​CYC_​RTE_​CD
Measurement Cycle Route Description
measurementCycleRouteDescription
DESCR100
Geocode Latitude
geocodeLatitude
D1_​GEO_​LAT
Geocode Longitude
geocodeLongitude
D1_​GEO_​LONG
Facility Level 1
facilityLevel1
FACILITY_​LEVEL1
Facility Level 2
facilityLevel2
FACILITY_​LEVEL2
Facility Level 13
facilityLevel3
FACILITY_​LEVEL3
Top of Page
D1–ExternalRepositorySPMtrSnap
D1-ExternalRepositorySPMtrSnap is used for service points, device configurations, and devices master data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Premise ID
premiseId
D1_​PREMISE_​ID
Premise Name
premiseName
PREMISE_​NAME_​LBL
External Premise ID
externalPremiseId
D1_​SP_​EXT_​PREMISE_​ID
Parent Premise ID
parentPremiseId
D1_​PREMISE_​ID
Premise Type
premiseType
D1_​PREMISE_​TYPE
Premise Type Description
premiseTypeDescription
PREMISE_​TYPE_​DESCR_​LBL
Address 1
address1
SP_​ADDRESS1_​LBL
Address 2
address2
SP_​ADDRESS2_​LBL
Address 3
address3
SP_​ADDRESS3_​LBL
Address 4
address4
SP_​ADDRESS4_​LBL
City
city
CITY
County
county
DESCR50
Postal
postal
POSTAL
State
state
STATE
Country
country
COUNTRY
Admin Area 3
adminArea3
D1_​ADMIN_​AREA_​3
Division
division
DIVISION_​CD
Premise Time Zone
premiseTimeZone
PREMISE_​TIME_​ZONE_​CD
Geocode Latitude
geocodeLatitude
D1_​GEO_​LAT
Geocode Longitude
geocodeLongitude
D1_​GEO_​LONG
Landlord Agreement
landlordAgreementId
D1_​LL_​ID
Premise Updated At
premiseUpdatedAt
D1_​PREMISE_​UPDATED_​AT
Service Point ID
spId
D1_​SP_​ID
Service Point Name
spName
SP_​NAME_​LBL
SP Type Description
spTypeDescription
SP_​TYPE_​DESCR_​LBL
Service Point Type Category
spTypeCategory
SP_​CATEGORY_​FLG
SP Type
spType
D1_​SP_​TYPE_​CD
Most Recent SA ID
mostRecentSAId
US_​ID
Service Agreement Start Date/Time
SAStartDateTime
START_​DTTM
Service Agreement Stop Date/Time
SAStopDateTime
D2_​STOP_​DTTM
Measurement Cycle
measurementCycle
MSRMT_​CYC_​CD
Measurement Cycle Description
measurementCycleDescription
MSRMT_​CYCLE_​DESCR_​LBL
Measurement Cycle Route
measurementCycleRoute
MSRMT_​CYC_​RTE_​CD
Measurement Cycle Route Description
measurementCycleRouteDescription
MSRMT_​CYCLE_​RT_​DESCR_​LBL
Facility Level 1
facilityLevel1
FACILITY_​LEVEL1
Facility Level 2
facilityLevel2
FACILITY_​LEVEL2
Facility Level 3
facilityLevel3
FACILITY_​LEVEL3
Life Support / Senstive Load
lifeSupportSensitiveLoad
D1_​LS_​SL_​FLG
UTC Offset
utcOffset
UTC_​OFFSET
Business Object Status
boStatus
SP_​BO_​STATUS_​LBL
Business Object Status Description
boStatusDescription
SP_​BO_​STATUS_​DESCR_​LBL
Service Source Status
spSourceStatus
SP_​SRC_​STAT_​FLG
Service Source Status Description
spSourceStatusDescription
SP_​SOURCE_​STATUS_​DESCR_​LBL
Disconnect Location
disconnectLocation
DISCONN_​LOC_​FLG
Disconnect Location Description
disconnectLocationDescription
DISCON_​LOC_​DESCR_​LBL
Service Point Time Zone
spTimeZone
SP_​TIME_​ZONE_​CD
Service Type
erviceType
D1_​SVC_​TYPE_​CD
Service Type Description
serviceTypeDescription
SERVICE_​TYPE_​DESCR_​LBL
Disconnect for NonPay
disconnectForNonPay
D1_​DISCONNECT_​NON_​PAY
Service Point Type Category Description
spTypeCategoryDescription
SP_​TYPE_​CAT_​DESCR_​LBL
Remote Disconnect
remoteDisconnect
D1_​SGG_​DISC_​CFG
Install Event ID
installEventId
INSTALL_​EVT_​ID
Install Event External ID
deviceInstallationExternalId
D1_​DVC_​INSTALL_​EXT_​ID
Meter ID
meterId
D1_​DEVICE_​ID
Meter Name
meterName
D1_​DEVICE_​NAME
Install Date/Time
installDateTime
D1_​INSTALL_​DTTM
Removal Date/Time
removalDateTime
D1_​REMOVAL_​DTTM
Installation Event BO Status
installationBoStatus
IE_​BO_​STATUS_​LBL
Installation Event BO Status Description
installationBoStatusDescription
IE_​BO_​STATUS_​DESCR_​LBL
Arming Status
armingStatus
ARMING_​REQ_​FLG
Device On/Off Status
deviceOnOffStatus
ONOFF_​HIST_​FLG
Installation Constant
installationConstant
INSTALLATION_​CONST
Meter External ID
meterExternalId
D1_​DVC_​EXTERNAL_​ID
Device Type
deviceType
DEVICE_​TYPE_​CD
Device Type Description
deviceTypeDescription
DEVICE_​TYPE_​DESCR_​LBL
Manufacturer
manufacturer
MANUFACTURER_​CD
Manufacturer Description
manufacturerDescription
MANUFACTURER_​DESCR_​LBL
Model
model
D1_​MODEL_​CD
Model Description
modelDescription
MODEL_​DESCR_​LBL
Device Manufacture Date
deviceManufactureDate
D1_​DEVICE_​MANUFACTURE_​DATE
Dial Count
dialCount
D1_​DIAL_​COUNT
Sub Meter
subMeter
SUB_​METER_​SW
Net Meter
netMeter
NET_​METER_​SW
Device Business Object Status
deviceBoStatus
DEVICE_​BO_​STATUS_​LBL
Device BO Status Description
deviceBoStatusDescription
DVC_​BO_​STATUS_​DESCR_​LBL
Device Service Type
deviceServiceType
DEVICE_​SERVICE_​TYPE_​LBL
Device Service Type Description
deviceServiceTypeDescription
DEVICE_​SERVICE_​TYPE_​DESCR_​LBL
Head End System
headEndSystem
D1_​SPR_​CD
Head End System Description
eadEndSystemDescription
HEAD_​END_​SYSTEM_​DESCR_​LBL
Head End Registration Status
headEndRegistrationStatus
HEAD_​END_​REGISTR_​STATUS_​FLG
Device Classification
deviceClassification
DVC_​CLASS_​FLG
Measuring Component ID
measuringComponentId
MEASR_​COMP_​ID
External ID
externalId
D1_​MC_​EXTERNAL_​ID
Channel ID
channelId
CHANNEL_​ID
Number of Digits Left
numberOfDigitsLeft
D1_​NBR_​OF_​DGTS_​LFT
Number of Digits Right
numberOfDigitsRight
D1_​NBR_​OF_​DGTS_​RGT
Channel Multiplier
channelMultiplier
CHANNEL_​MULTIPLIER
Measuring Component Type
measuringComponentType
MEASR_​COMP_​TYPE_​CD
Measuring Component Type Description
measuringComponentTypeDescription
MC_​TYPE_​DESCR_​LBL
Measuring Component Class
measuringComponentClass
MC_​CLASS_​FLG
Seconds per Interval (SPI)
secondsPerInterval
SEC_​PER_​INTRVL
Interval/Scalar
intervalScalar
INTERVAL_​SCALAR_​FLG
UOM
uom
UNIT_​OF_​MEASR_​CD
TOU
tou
TIME_​OF_​USE_​CD
SQI
sqi
SVC_​QTY_​IDNTFR_​CD
Allow Negative Consumption
allowNegativeConsumption
ALLOW_​NEG_​CONSUMPTION_​FLG
Top of Page
D1-ExternalRepositoryIESnapsht
D1-ExternalRepositoryIESnapsht used for install event-based master data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Service Point ID
spId
D1_​SP_​ID
CIS Service Point ID
cisSpId
CIS_​EXT_​SP_​ID
Meter ID
meterId
D1_​DEVICE_​ID
Device Type Code
deviceType
DEVICE_​TYPE_​CD
Device Type Description
deviceTypeDescription
DESCR100
Device Status Code
deviceBoStatus
BO_​STATUS_​CD
Device Status Description
deviceBoStatusDescription
DESCR100
Manufacturer Code
manufacturer
MANUFACTURER_​CD
Manufacturer Description
manufacturerDescription
DESCR100
Model Code
model
D1_​MODEL_​CD
Model Description
modelDescription
DESCR100
Head-End System Code
headEndSystem
D1_​SPR_​CD
Head-End System Description
headEndSystemDescription
DESCR100
Badge Number
badgeNumber
D1_​BADGE_​NBR
Serial Number
serialNumber
D1_​SERIAL_​NBR
CIS Meter ID
cisMeterId
CIS_​EXT_​DEVICE_​ID
Install Date/Time
installDateTime
D1_​INSTALL_​DTTM
Removal Date/Time
removalDateTime
D1_​REMOVAL_​DTTM
Top of Page
C1-ExternalRepoBillingSnapshot
C1-ExternalRepoBillingSnapshot is used for the billing-based extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
Billable Service Quantity
billSQ
BILL_​SQ
Bill Segment End Date
endDate
END_​DT
Consumption Days
duration
CONSUMPTION_​DAYS
Bill Segment Estimate Indicator
estimateIndicator
C1_​BS_​ESTIMATE_​IND
Calculated Amount
calculatedAmount
CALC_​AMT
Unit of Measure
uom
UOM_​CD
Time of Use
tou
TOU_​CD
SQI
sqi
SQI_​CD
Service Agreement ID
saId
SA_​ID
Service Point ID
spId
SP_​ID
Top of Page
D2-IntervalDataExtRepoSnapshot
D2-IntervalDataExtRepoSnapshot is used for interval-based consumption data extracts, and includes the following information:
Field Name
Schema Element
Metadata Field
CIS Service Agreement ID
cisSAId
CIS_​EXT_​SA_​ID
Service Point ID
spId
D1_​SP_​ID
CIS Service Point ID
cisSPId
CIS_​EXT_​SP_​ID
Unit of Measure
uom
D1_​UOM_​CD
Service Quantity Identifier
sqi
SVC_​QTY_​IDNTFR_​CD
Seconds Per Interval
secondsPerInterval
SECONDS_​PER_​INTERVAL
Measurement Value
measurementValue
MSRMT_​VAL
Measurement Date
measurementDate
MSRMT_​DATE
Measurement Time
measurementTime
MSRMT_​TIME
Estimate Indicator
estimateIndicator
ESTIMATION_​IND_​FLG
Estimate Indicator Description
estimateIndicatorDescription
DESCR100
Top of Page
D2-IntervalDataExtRepoTOUSnap
D2-IntervalDataExtRepoTOUSnap is used for interval consumption data extracts mapped to TOU periods, and includes the following information:
Field Name
Schema Element
Metadata Field
CIS Service Agreement ID
cisSAId
CIS_​EXT_​SA_​ID
Service Point ID
spId
D1_​SP_​ID
CIS Service Point ID
cisSPId
CIS_​EXT_​SP_​ID
Unit of Measure
uom
D1_​UOM_​CD
Time of Use Period
tou
D1_​TOU_​CD
Service Quantity Identifier
sqi
SVC_​QTY_​IDNTFR_​CD
Seconds Per Interval
secondsPerInterval
SECONDS_​PER_​INTERVAL
Measurement Value
measurementValue
MSRMT_​VAL
Start Date
startDate
START_​DT
Start Time
startTime
START_​TM
End Date
endDate
END_​DT
End Time
endTime
D2_​END_​TIME
Top of Page
Example Extract File
The following example illustrates comma-separated interval data extracts based on the Consumption Extract Snapshot () data area:
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366,2015-01-01,07.00.00,No 
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366,2015-01-01,08.00.0,No 
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366.2015-01-01,09.00.0,No 
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366,2015-01-01,10.00.00,No 
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366,2015-01-01,11.00.00,No 
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366,2015-01-01,12.00.00,No 
19502793-60E-KMUS,714532246966,19502793-60E-KMSP,KWH, ,3,600,1.366,2015-01-01,13.00.00,No