Skip to main content

Invoice Tools

Query energy invoices — electricity, gas, water, diesel, and other consumption records linked to a facility. Each invoice has quantity, dates, and CO₂e emissions. This covers Scope 1 (stationary combustion) and Scope 2 (purchased energy) data.
Both facility_id and invoice_type are required. Call list_facilities first to discover facility IDs, then query invoices by type.

list_invoices

List energy invoices for a specific facility filtered by type. Parameters:

Invoice Types

Example response:
Key response fields: Example prompts:

create_invoice

Create a new energy invoice for a facility. The invoice is allocated 100% to the specified facility. Parameters: Example prompts:

update_invoice

Update an existing invoice. Only provided fields are changed (partial update). Parameters: Example prompts:

Workflow

  1. Find facilitieslist_facilities to discover facility IDs
  2. List invoices by typelist_invoices with facility_id and invoice_type
  3. Create invoicescreate_invoice to add new consumption records
  4. Update invoicesupdate_invoice to change status, supplier, or toggle calculations
  5. View emissionsget_greenhouse_gas_emissions with category=electricity (or stationary, etc.) for aggregated totals

API: List Invoices

REST API equivalent with additional filters

Facilities

Find facility IDs to query invoices

Emissions

Aggregated Scope 1 & 2 emissions

CLI

Manage invoices from the command line