Fuel Card and E-Tag Interfaces
Fuel Card and E-Tag Interfaces
Documentation covering fuel card and e-tag interface file formats, validation rules, field mappings, and import business rules for Catch-e fleet management system.
BP
File format: CSV
Field mapping from BP CSV file to Catch-e table. Files do not contain header row.
Calculated Fields
Shell
File format: .ec (Excel compatible)
Business Rules
Validation Notes
Only rows with '3C' in column A considered transactions; all other rows skipped
Shell Card number 16 digits long; .ec file truncates to 8 digits
When creating new card entries: delete last digit from card number, count back 8 digits for fm_cards entry
Example: card number 7071340051163224 becomes 05116322
FLEETCOR
File format: CSV
File Validation
File must consist of 22 columns
Brackets surrounding Card Number ignored on import
Field Mappings
Product Codes
When adding Card Services / Mappings records, use Product Description as Product Code.
Standard FLEETCOR Product Codes:
AdBlue
Auto Renewal Fee
Car Wash
Diesel
Diesel Exhaust Fluid
Ethanol Blend
Lubricant
Merchants Surcharge
Miscellaneous
Oil
Periodic Fee/Stamp Duty
Premium Diesel
Premium unleaded
Premium Unleaded 98
Repairs/maintenance
Replacement
Replacement Card
Routine Service
Super
Unleaded
FLEETCORD
File format: DAT (pipe delimited |)
File Validation
File must consist of 39 columns
Brackets surrounding Card Number ignored on import
File Columns and Mappings
Product Codes
CLINK (Linkt E-Tag)
File format: CSV
E-tag device records travel by drivers using e-tag device. Includes travel in multiple states: VIC, NSW, QLD.
E-tags linked to associated contract using same process as fuel cards.
Visit: https://www.linkt.com.au
Interface code: CLINK (previous supplier name: City Link)
Total Trip Charges
Data combined from Total trip charges section and State Trip details section to enable each trip imported to linked contract.
Trips Without E-Tag Device
Data from Trips without e-Tag device section creates itemised record for all trips vehicle made without e-Tag. Import succeeds if card record created to match each vehicle. Without matching card, records fail validation as 'Failed Card'.
To create matching card record for vehicle ABC123:
Create card with "Card Number" = 'No Tag ABC123'
Fees, Charges and Adjustments
Only fees, charges and adjustments linked to contract via registration number imported. Registration number in 'Source Reference' column and 'Details' description supported.
Accepted Details Descriptions
Late Toll Notice Admin Fee
Video Matching Fee
No Tag in Vehicle Fee
CityLink Tulla Pass
Admin Fee
Other fees, charges and adjustments applied at Account/Client level, not contract level.
File Columns and Mappings
Header Section
Total Trip Charges Section
Trips Without E-Tag Device Section
Same as Total Trip Charges except:
eTag Total Amount Row
Fees Charges and Adjustments Section
Total Amount Row
State Trip Details Section
Separate sections for VIC, NSW, QLD presented same manner, itemised by vehicle.
State Trip Details Sub Total
MPASS
File format: TXT (Tab Delimited)
WEX Motorpass card used for fuel and vehicle services (maintenance, tyres, scheduled services).
Column headings expected. Account opening/closing balances not required.
MPASS interface ignores first 2 rows if containing heading like ACCGROUP.EXTRACT05 followed by blank row.
Real data has "Account No" column heading in first column.
Note: Product Code 89 is WEX Fuel Rebate (negative). Rebates reduce fuel costs and recharge amount. Transactions import with quantity value; fuel data changes to zero quantity when loaded into Catch-e for report/billing continuity.
MPASS07
File format: TXT (Tab Delimited)
Revised file format introduced by Motorpass in 2015 (E07 format). Before 01/07/2021, WEX changed filename to E17 without format change.
Maximum 100 rows ignored until row with "Account No" heading reached. If not found within first 100 rows, file invalidated.
Format Differences from MPASS05
Column 18 'Merchant No' removed
Columns 7-17 shifted right 1 column
Column 7 filled by new field 'Transaction Time'
Validation and Business Rules
IF columns NOT = 30 (empty rows) OR column 14 (Voucher) NOT = 'Voucher' THEN validation fails: "The format of the Import File does not match the selected Card Interface! Please check your selections and try again!"
Any row with empty column 1 or empty column 2 ignored
IF column 13 (product code) = 89 THEN fm_fuel.quantity = 0 ELSE fm_fuel.quantity = column 8 (Litres)
IF column 17 (Brand Description) contains 'NON FUEL' AND column 21 (Merchant Name) populated THEN fm_fuel.site_location = column 21 (Merchant Name) + column 23 (Merchant Suburb) ELSE fm_fuel.site_location = column 16 (Brand Description) + column 23 (Merchant Suburb)
Note: Product Code 89 is WEX Fuel Rebate (negative). Rebates reduce fuel costs and recharge amount. Transactions import with quantity value; fuel data changes to zero quantity when loaded into Catch-e for report/billing continuity.
TROPIC
File format: CSV (Tab Delimited)
Tropic card used for fuel and vehicle services (maintenance, tyres, scheduled services).
File Validation
Header row: Column headings expected
Column count: Must be 17 columns
File Columns and Mappings
PUMA
File format: TXT (Tab Delimited)
Puma card used for fuel and vehicle services (maintenance, tyres, scheduled services).
File Validation
Header Row 1: First 21 characters must be "PUMATRANSEXTRACT_05" or "Account No" if deleted first three rows
Column count: Must be 37 columns
Column 17: Must be "Voucher" (column 0 = first)
File Columns and Mappings
United
File format: CSV (Tab Delimited)
United card used for fuel and vehicle services (maintenance, tyres, scheduled services).
File Validation
Header row: Column headings expected
Column count: Must be 17 columns
File Columns and Mappings
Summit
File format: XLS (save as TXT Tab Delimited prior to importing)
Import Business Rules
7ELEVEN
File format: TXT (Tab Delimited)
7-Eleven card used for fuel and vehicle services (maintenance, tyres, scheduled services).
File Validation
Header Row 1: First 21 characters must be "E07REPORTEXCLMERNO" or "Account No" if deleted first three rows
Column count: Must be 30 columns
Column 14: Must be "Voucher" (column 1 = first)
File Columns and Mappings
Notes
Each interface has specific file format requirements; verify format before import
Field mappings vary by provider; refer to specific interface section
Validation rules must pass for successful import; check column count and required fields
Date/time fields often combined using CONCATENATE
GST calculations using formula pattern: ROUND({Total} / (1 + {gst_rate}), 2)
Card numbers may require truncation or substring operations
E-tag providers have special handling for trips without devices
Some interfaces require saving XLS as TXT before importing
Product codes vary by provider; standard codes must match Card Services / Mappings setup
Rebates (negative amounts) handled specially to maintain report and billing continuity