---
schema_version: "1"
id: dceb14345a23e5222ebecbe6d499d5a6d76f0a4c35d886ed0d6fa45f8c92e485
title: FuelType
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_fueltype.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_fueltype.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4247c1db0f4595ace230033b6c145dc759990ec7e3b51984e23b5323bbab1b55
description: Represents a custom fuel type in an org.
---
# FuelType

Represents a custom fuel type in an org.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm) metadata type and inherits its fullName field.

## File Suffix and Directory Location

FuelType components have the suffix .fuelType and are stored in the fuelTypes folder.

## Version

FuelType components are available in API version 57.0 and later.

## Special Access Rules

The Net Zero Cloud permission set license is required to access this object along with the user access for carbon accounting and org access for custom fuels and unit of measures (UOMs).

## Fields

<table class="featureTable sort_table" summary="">


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d538487e101">Field Name</th>

              <th class="featureTableHeader  " id="d538487e104">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d538487e101" data-title="Field Name"><span class="keyword parmname">description</span></td>

              <td class="entry" headers="d538487e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>: Description about the fuel type.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d538487e101" data-title="Field Name"><span class="keyword parmname">isActive</span></td>

              <td class="entry" headers="d538487e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: boolean</p>

                <p class="p"><strong class="ph b">Description</strong>: Indicates whether the fuel type is active (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</p>

                <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d538487e101" data-title="Field Name"><span class="keyword parmname">isProtected</span></td>

              <td class="entry" headers="d538487e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: boolean</p>

                <p class="p"><strong class="ph b">Description</strong>: An auto-generated value that doesn’t impact the behavior
                  of the metadata type.</p>

                <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d538487e101" data-title="Field Name"><span class="keyword parmname">isStationaryAssetFuel</span></td>

              <td class="entry" headers="d538487e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: boolean</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Indicates whether the fuel type is used in stationary
                  assets (<samp class="codeph nolang">true</samp>)
                  or not (<samp class="codeph nolang">false</samp>).</p>

                <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d538487e101" data-title="Field Name"><span class="keyword parmname">isVehicleAssetFuel</span></td>

              <td class="entry" headers="d538487e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: boolean</p>

                <p class="p"><strong class="ph b">Description</strong>: Indicates whether the fuel type is used in a vehicle
                  asset (<samp class="codeph nolang">true</samp>) or not
                  (<samp class="codeph nolang">false</samp>).</p>

                <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d538487e101" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d538487e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Required.</p>

                <p class="p">A user-friendly name for FuelType, which is defined when
                  the FuelType is created.</p>

              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a FuelType component.

<?xml version="1.0" encoding="UTF-8"?>
<FuelType xmlns="http://soap.sforce.com/2006/04/metadata">
    <description\>This is Petrol Fuel Type</description\>
    <isProtected\>true</isProtected\>
    <isActive\>true</isActive\>
    <isStationaryAssetFuel\>true</isStationaryAssetFuel\>
    <isVehicleAssetFuel\>true</isVehicleAssetFuel\>
    <masterLabel\>Petrol</masterLabel\>
</FuelType\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
   <types\>
      <members\>Petrol</members\>
      <members\>Diesel</members\>
      <members\>Kerosine</members\>
      <name\>FuelType</name\>
   </types\>
   <version\>57.0</version\>
</Package\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm "HTML (New Window)").