Skip to main content
GET
← Invoices API The full catalog of fuel burned on site (natural gas, diesel, LPG, biomass…) that Dcycle has emission factors for, sorted by name. Use an id as stationary_fuel_id in POST /v2/invoices/fuels, and one of its units as unit_id. The list is the same for every organization and changes rarely, so you can cache it.

Request

Headers

string
required
Your API key (see Authentication).
string
required
Your organization UUID.

Response

An array of objects, sorted by name:
uuid
The id to send as stationary_fuel_id.
string
The name, in English snake_case (e.g. natural_gas).
object[]
The units the fuel is calculated in: send one of them as unit_id. See which unit to send.

Which unit to send

units lists every unit at least one of Dcycle’s emission factor databases converts the fuel from. Send the quantity in one of them: an invoice in another unit is not calculated, and its job item ends failed with CALCULATION_FAILED. Coal, coke, peat and process gases have no volume units, for instance (none of their factors has a density to turn litres into kilograms), and some fuels have no terajoule_gross_(tj_gross) or megajoule_gross_(mj_gross). For a facility in Spain, send liquid fuels in litres, solid fuels and bottled gases (butane, propane) in kilograms and natural gas in kWh (gross): those are the units of MITECO, the database the calculation uses there by default. The facility’s country and the invoice’s year choose the database, and a unit of the list that it does not convert is not calculated either: residual fuel oil (residual_fuel_oil) or other kerosene (other_kerosene) in kWh is calculated in France, but not in Spain, where MITECO gives them per litre. Delete such an invoice and send it again in another of the fuel’s units. With a custom emission factor (custom_ef_record_id), send a unit your factor converts from: it calculates the combustion instead of the fuel’s factors.

Create Fuel Invoices (v2)

Uses stationary_fuel_id and unit_id

Invoices API

Which route for which consumption