Fuel Entries Reference

NameTypeReq?/Editable?Description
idIntegerN/NAuto generated unique identifier
cost_per_hourDoubleN/NThe calculated cost per hour since the last fuel entry. Automatically calculated.
cost_per_kmDoubleN/NThe calculated cost per kilometer since the last fuel entry. Automatically calculated.
cost_per_miDoubleN/NThe calculated cost per mile since the last fuel entry. Automatically calculated.
custom_fieldsHashN/YHash of custom fields for the fuel entry.
dateDateTimeY/YThe date and time during which the fueling occurred.
external_idStringN/NUsed to uniquely identify fuel entries that are imported from external systems, such as Fleetcor and Wex.
fuel_type_idIntegerN/YForeign key for the associated fuel type.
fuel_type_nameStringN/NConvenience method for the associated fuel type's name.
kplDoubleN/NKilometers per liter. Auto calculated.
litersDoubleN/YThe fuel volume amount in liters. This field will be used if the vehicle is set to use liters, otherwise it will be ignored
liters_per_hourDoubleN/NAuto calculated.
lp100kDoubleN/NLiters per 100 kilometers. Auto calculated.
mpg_ukDoubleN/NMiles per gallon using UK gallons. Auto calculated.
mpg_usDoubleN/NMiles per gallon using US gallons. Auto calculated.
partialBooleanN/YDenotes whether this fuel entry is a partial fuel up as opposed to a complete fuel up. More info found here.
personalBooleanN/Y
price_per_volume_unitDoubleN/YThe unit price for the vehicle's volume unit.
raw_transaction_dataHashN/NThe raw data that Fleetio receives from a third party integration such as Fleetcor or Wex.
referenceStringN/YOptional data field for collecting information such as the invoice number, transaction id, or receipt number.
resetBooleanN/YTells Fleetio whether to reset calculations starting with this fuel entry. An example can be found here.
uk_gallonsDoubleN/YThe fuel volume amount in UK gallons. This field will be used if the vehicle is set to use UK gallons, otherwise it will be ignored
uk_gallons_per_hourDoubleN/NNumber of UK gallons used per hour. Auto calculated.
us_gallonsDoubleN/YThe fuel volume amount in US gallons. This field will be used if the vehicle is set to use US gallons, otherwise it will be ignored
us_gallons_per_hrDoubleN/NNumber of US gallons used per hour. Auto calculated.
usage_in_hrDoubleN/NHours between the previous fuel entry and the current one. Auto calculated.
usage_in_kmDoubleN/NKilometers between the previous fuel entry and the current one. Auto calculated.
usage_in_miDoubleN/NMiles between the previous fuel entry and the current one. Auto calculated.
vehicle_idIntegerY/YForeign key for the vehicle association.
vehicle_nameStringN/NConvenience method for the vehicle's name.
vendor_idIntegerN/YForeign key for the vendor association.
vendor_nameStringN/NConvenience method for the vendor's name.
total_amountDoubleN/NThe total amount calculated by multiplying the price_per_volume_unit by the relevant volume for the vehicle. Auto calculated.
meter_entry_attributesHashY/YEach fuel entry requires a meter entry value and an associated meter entry. See the MeterEntry documentation for more info.