{"_id":"54f8de4f4339bb1900c8c014","version":{"_id":"54f8de4e4339bb1900c8bffb","project":"54c0e51215af820d001a38a6","forked_from":"54f8de14c6cabe23005c02a2","__v":33,"createdAt":"2015-03-05T22:53:02.044Z","releaseDate":"2015-03-05T22:53:02.044Z","categories":["54f8de4e4339bb1900c8bffc","54f8de4e4339bb1900c8bffd","54f8de4e4339bb1900c8bffe","54f8de4e4339bb1900c8bfff","54f8de4e4339bb1900c8c000","54ff6057563d7419002d666e","55007b6ecfeeea17004717dc","5501d779f2ef1e0d003116eb","55116ef89f7c7619005f853b","554bb366f245703100ddd39f","554d226b374fec0d007e64db","555e09f18ab3180d001ac605","555e0b2b4f5e5a0d00836d77","561d1f8b92a0cc350018b24f","562a956c96b5f40d0026eb60","5654c3378a26202b00c17cb8","5697a94b0b09a41900b24546","5739d89e37b52e3200a3a3cc","57ac94252c0b220e00a94570","57ac97a1ad44fc0e003be066","57ac9a3a8f312d0e00e96c75","57ac9c187ae5c60e004ba3a3","58178bee62e4500f009404f6","581a39711a63870f008b621d","581a3b4f0c65b20f00247fcb","5926e0606c729e0f00595f95","5954033ea5bbca002d27ae91","596ce53e0aeafe00157eb1ba","596ce87a8b79f4001a8f6139","598cad2e96193400190d879a","598cbcd3dc20c6000fdfb9c3","598cbd8496193400190d8955","59fcc7c9591add0026c91457","5a020b7856ea82001c8c9342","5a09bc64a91882001c56c2ed","5a71fa2de9aa84007a8bccdb","5b3a768a8a21dd0003ca080d"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"user":"54cba76f6d1eee0d00c33dee","category":{"_id":"54f8de4e4339bb1900c8bfff","project":"54c0e51215af820d001a38a6","version":"54f8de4e4339bb1900c8bffb","__v":2,"pages":["54f8de4f4339bb1900c8c014","54f8de4f4339bb1900c8c015","54f8de4f4339bb1900c8c016","54f8de4f4339bb1900c8c017","54f8de4f4339bb1900c8c018","54f8de4f4339bb1900c8c019","54fdc0d021538c21006c49d9"],"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-02-03T19:52:40.930Z","from_sync":false,"order":9,"slug":"fuel-entries","title":"Fuel Entries"},"project":"54c0e51215af820d001a38a6","parentDoc":null,"__v":1,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-02-03T19:52:49.110Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":true,"order":0,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Req?/Editable?\",\n    \"h-3\": \"Description\",\n    \"0-0\": \"``id``\",\n    \"0-1\": \"Integer\",\n    \"0-2\": \"N/N\",\n    \"0-3\": \"Auto generated unique identifier\",\n    \"1-0\": \"``cost_per_hour``\",\n    \"1-1\": \"Double\",\n    \"1-2\": \"N/N\",\n    \"1-3\": \"The calculated cost per hour since the last fuel entry. Automatically calculated.\",\n    \"2-0\": \"``cost_per_km``\",\n    \"2-1\": \"Double\",\n    \"2-2\": \"N/N\",\n    \"2-3\": \"The calculated cost per kilometer since the last fuel entry. Automatically calculated.\",\n    \"3-3\": \"The calculated cost per mile since the last fuel entry. Automatically calculated.\",\n    \"3-0\": \"``cost_per_mi``\",\n    \"3-1\": \"Double\",\n    \"3-2\": \"N/N\",\n    \"4-0\": \"``custom_fields``\",\n    \"4-1\": \"Hash\",\n    \"4-2\": \"N/Y\",\n    \"4-3\": \"Hash of custom fields for the fuel entry.\",\n    \"5-0\": \"``date``\",\n    \"5-1\": \"DateTime\",\n    \"5-2\": \"Y/Y\",\n    \"5-3\": \"The date and time during which the fueling occurred.\",\n    \"6-0\": \"``external_id``\",\n    \"6-1\": \"String\",\n    \"6-2\": \"N/N\",\n    \"6-3\": \"Used to uniquely identify fuel entries that are imported from external systems, such as Fleetcor and Wex.\",\n    \"7-0\": \"``fuel_type_id``\",\n    \"7-1\": \"Integer\",\n    \"7-2\": \"N/Y\",\n    \"7-3\": \"Foreign key for the associated fuel type.\",\n    \"8-0\": \"``fuel_type_name``\",\n    \"8-1\": \"String\",\n    \"8-2\": \"N/N\",\n    \"8-3\": \"Convenience method for the associated fuel type's name.\",\n    \"9-0\": \"``kpl``\",\n    \"9-1\": \"Double\",\n    \"9-2\": \"N/N\",\n    \"9-3\": \"Kilometers per liter. Auto calculated.\",\n    \"11-0\": \"``liters_per_hour``\",\n    \"11-1\": \"Double\",\n    \"11-2\": \"N/N\",\n    \"11-3\": \"Auto calculated.\",\n    \"12-0\": \"``lp100k``\",\n    \"12-1\": \"Double\",\n    \"12-2\": \"N/N\",\n    \"12-3\": \"Liters per 100 kilometers. Auto calculated.\",\n    \"13-0\": \"``mpg_uk``\",\n    \"13-1\": \"Double\",\n    \"13-2\": \"N/N\",\n    \"13-3\": \"Miles per gallon using UK gallons. Auto calculated.\",\n    \"14-0\": \"``mpg_us``\",\n    \"14-1\": \"Double\",\n    \"14-2\": \"N/N\",\n    \"14-3\": \"Miles per gallon using US gallons. Auto calculated.\",\n    \"15-0\": \"``partial``\",\n    \"15-1\": \"Boolean\",\n    \"15-2\": \"N/Y\",\n    \"15-3\": \"Denotes whether this fuel entry is a partial fuel up as opposed to a complete fuel up. More info found [here](http://help.fleetio.com/article/85-partial-fuel-entries).\",\n    \"16-0\": \"``personal``\",\n    \"16-1\": \"Boolean\",\n    \"16-2\": \"N/Y\",\n    \"17-0\": \"``price_per_volume_unit``\",\n    \"17-1\": \"Double\",\n    \"17-2\": \"N/Y\",\n    \"17-3\": \"The unit price for the vehicle's volume unit.\",\n    \"18-0\": \"``raw_transaction_data``\",\n    \"18-1\": \"Hash\",\n    \"18-2\": \"N/N\",\n    \"18-3\": \"The raw data that Fleetio receives from a third party integration such as Fleetcor or Wex.\",\n    \"19-0\": \"``reference``\",\n    \"19-1\": \"String\",\n    \"19-2\": \"N/Y\",\n    \"19-3\": \"Optional data field for collecting information such as the invoice number, transaction id, or receipt number.\",\n    \"20-0\": \"``reset``\",\n    \"20-1\": \"Boolean\",\n    \"20-2\": \"N/Y\",\n    \"20-3\": \"Tells Fleetio whether to reset calculations starting with this fuel entry. An example can be found [here](http://help.fleetio.com/article/49-how-fuel-entry-distance-is-calculated).\",\n    \"21-0\": \"``uk_gallons``\",\n    \"21-1\": \"Double\",\n    \"21-2\": \"N/Y\",\n    \"21-3\": \"The 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\",\n    \"22-3\": \"Number of UK gallons used per hour. Auto calculated.\",\n    \"22-0\": \"``uk_gallons_per_hour``\",\n    \"22-1\": \"Double\",\n    \"22-2\": \"N/N\",\n    \"23-0\": \"``us_gallons``\",\n    \"23-1\": \"Double\",\n    \"23-2\": \"N/Y\",\n    \"23-3\": \"The 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\",\n    \"24-0\": \"``us_gallons_per_hr``\",\n    \"24-1\": \"Double\",\n    \"24-2\": \"N/N\",\n    \"24-3\": \"Number of US gallons used per hour. Auto calculated.\",\n    \"25-0\": \"``usage_in_hr``\",\n    \"25-1\": \"Double\",\n    \"25-2\": \"N/N\",\n    \"25-3\": \"Hours between the previous fuel entry and the current one. Auto calculated.\",\n    \"26-0\": \"``usage_in_km``\",\n    \"26-1\": \"Double\",\n    \"26-2\": \"N/N\",\n    \"26-3\": \"Kilometers between the previous fuel entry and the current one. Auto calculated.\",\n    \"27-0\": \"``usage_in_mi``\",\n    \"27-1\": \"Double\",\n    \"27-2\": \"N/N\",\n    \"27-3\": \"Miles between the previous fuel entry and the current one. Auto calculated.\",\n    \"28-0\": \"``vehicle_id``\",\n    \"28-1\": \"Integer\",\n    \"28-2\": \"Y/Y\",\n    \"28-3\": \"Foreign key for the vehicle association.\",\n    \"29-0\": \"``vehicle_name``\",\n    \"29-1\": \"String\",\n    \"29-2\": \"N/N\",\n    \"29-3\": \"Convenience method for the vehicle's name.\",\n    \"30-0\": \"``vendor_id``\",\n    \"30-1\": \"Integer\",\n    \"30-2\": \"N/Y\",\n    \"30-3\": \"Foreign key for the vendor association.\",\n    \"31-0\": \"``vendor_name``\",\n    \"31-1\": \"String\",\n    \"31-2\": \"N/N\",\n    \"31-3\": \"Convenience method for the vendor's name.\",\n    \"32-0\": \"``total_amount``\",\n    \"32-1\": \"Double\",\n    \"32-2\": \"N/N\",\n    \"32-3\": \"The total amount calculated by multiplying the ``price_per_volume_unit`` by the relevant volume for the vehicle. Auto calculated.\",\n    \"33-0\": \"``meter_entry_attributes``\",\n    \"33-1\": \"Hash\",\n    \"33-2\": \"Y/Y\",\n    \"33-3\": \"Each fuel entry requires a meter entry value and an associated meter entry. See the ``MeterEntry`` documentation for more info.\",\n    \"10-0\": \"``liters``\",\n    \"10-1\": \"Double\",\n    \"10-2\": \"N/Y\",\n    \"10-3\": \"The fuel volume amount in liters. This field will be used if the vehicle is set to use liters, otherwise it will be ignored\"\n  },\n  \"cols\": 4,\n  \"rows\": 34\n}\n[/block]","excerpt":"","slug":"reference","type":"basic","title":"Reference"}
[block:parameters] { "data": { "h-0": "Name", "h-1": "Type", "h-2": "Req?/Editable?", "h-3": "Description", "0-0": "``id``", "0-1": "Integer", "0-2": "N/N", "0-3": "Auto generated unique identifier", "1-0": "``cost_per_hour``", "1-1": "Double", "1-2": "N/N", "1-3": "The calculated cost per hour since the last fuel entry. Automatically calculated.", "2-0": "``cost_per_km``", "2-1": "Double", "2-2": "N/N", "2-3": "The calculated cost per kilometer since the last fuel entry. Automatically calculated.", "3-3": "The calculated cost per mile since the last fuel entry. Automatically calculated.", "3-0": "``cost_per_mi``", "3-1": "Double", "3-2": "N/N", "4-0": "``custom_fields``", "4-1": "Hash", "4-2": "N/Y", "4-3": "Hash of custom fields for the fuel entry.", "5-0": "``date``", "5-1": "DateTime", "5-2": "Y/Y", "5-3": "The date and time during which the fueling occurred.", "6-0": "``external_id``", "6-1": "String", "6-2": "N/N", "6-3": "Used to uniquely identify fuel entries that are imported from external systems, such as Fleetcor and Wex.", "7-0": "``fuel_type_id``", "7-1": "Integer", "7-2": "N/Y", "7-3": "Foreign key for the associated fuel type.", "8-0": "``fuel_type_name``", "8-1": "String", "8-2": "N/N", "8-3": "Convenience method for the associated fuel type's name.", "9-0": "``kpl``", "9-1": "Double", "9-2": "N/N", "9-3": "Kilometers per liter. Auto calculated.", "11-0": "``liters_per_hour``", "11-1": "Double", "11-2": "N/N", "11-3": "Auto calculated.", "12-0": "``lp100k``", "12-1": "Double", "12-2": "N/N", "12-3": "Liters per 100 kilometers. Auto calculated.", "13-0": "``mpg_uk``", "13-1": "Double", "13-2": "N/N", "13-3": "Miles per gallon using UK gallons. Auto calculated.", "14-0": "``mpg_us``", "14-1": "Double", "14-2": "N/N", "14-3": "Miles per gallon using US gallons. Auto calculated.", "15-0": "``partial``", "15-1": "Boolean", "15-2": "N/Y", "15-3": "Denotes whether this fuel entry is a partial fuel up as opposed to a complete fuel up. More info found [here](http://help.fleetio.com/article/85-partial-fuel-entries).", "16-0": "``personal``", "16-1": "Boolean", "16-2": "N/Y", "17-0": "``price_per_volume_unit``", "17-1": "Double", "17-2": "N/Y", "17-3": "The unit price for the vehicle's volume unit.", "18-0": "``raw_transaction_data``", "18-1": "Hash", "18-2": "N/N", "18-3": "The raw data that Fleetio receives from a third party integration such as Fleetcor or Wex.", "19-0": "``reference``", "19-1": "String", "19-2": "N/Y", "19-3": "Optional data field for collecting information such as the invoice number, transaction id, or receipt number.", "20-0": "``reset``", "20-1": "Boolean", "20-2": "N/Y", "20-3": "Tells Fleetio whether to reset calculations starting with this fuel entry. An example can be found [here](http://help.fleetio.com/article/49-how-fuel-entry-distance-is-calculated).", "21-0": "``uk_gallons``", "21-1": "Double", "21-2": "N/Y", "21-3": "The 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", "22-3": "Number of UK gallons used per hour. Auto calculated.", "22-0": "``uk_gallons_per_hour``", "22-1": "Double", "22-2": "N/N", "23-0": "``us_gallons``", "23-1": "Double", "23-2": "N/Y", "23-3": "The 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", "24-0": "``us_gallons_per_hr``", "24-1": "Double", "24-2": "N/N", "24-3": "Number of US gallons used per hour. Auto calculated.", "25-0": "``usage_in_hr``", "25-1": "Double", "25-2": "N/N", "25-3": "Hours between the previous fuel entry and the current one. Auto calculated.", "26-0": "``usage_in_km``", "26-1": "Double", "26-2": "N/N", "26-3": "Kilometers between the previous fuel entry and the current one. Auto calculated.", "27-0": "``usage_in_mi``", "27-1": "Double", "27-2": "N/N", "27-3": "Miles between the previous fuel entry and the current one. Auto calculated.", "28-0": "``vehicle_id``", "28-1": "Integer", "28-2": "Y/Y", "28-3": "Foreign key for the vehicle association.", "29-0": "``vehicle_name``", "29-1": "String", "29-2": "N/N", "29-3": "Convenience method for the vehicle's name.", "30-0": "``vendor_id``", "30-1": "Integer", "30-2": "N/Y", "30-3": "Foreign key for the vendor association.", "31-0": "``vendor_name``", "31-1": "String", "31-2": "N/N", "31-3": "Convenience method for the vendor's name.", "32-0": "``total_amount``", "32-1": "Double", "32-2": "N/N", "32-3": "The total amount calculated by multiplying the ``price_per_volume_unit`` by the relevant volume for the vehicle. Auto calculated.", "33-0": "``meter_entry_attributes``", "33-1": "Hash", "33-2": "Y/Y", "33-3": "Each fuel entry requires a meter entry value and an associated meter entry. See the ``MeterEntry`` documentation for more info.", "10-0": "``liters``", "10-1": "Double", "10-2": "N/Y", "10-3": "The fuel volume amount in liters. This field will be used if the vehicle is set to use liters, otherwise it will be ignored" }, "cols": 4, "rows": 34 } [/block]