Get a paginated list of invoices for a specific facility
sk_live_1234567890abcdefff4adcc7-8172-45fe-9cf1-e90a6de53aa9a1b2c3d4-e5f6-7890-abcd-ef1234567890"a1b2c3d4-e5f6-7890-abcd-ef1234567890"150"INV-2024-001"1704067200 (January 1, 2024)1735689600 (January 1, 2025)heat, electricity, recharge, water, process, wastes, waste_water_treatmentExample: "electricity,heat"field:value)Example: "status:active"field:asc or field:desc)Example: "start_date:desc"id (string, UUID) - Unique invoice identifiertype (string) - Invoice type: "heat", "electricity", "water", "recharge", "process"invoice_id (string, optional) - External invoice reference numberstatus (string) - Invoice status: "active", "loading", "error"source (string, optional) - Invoice source: "manual", "csv", "ocr", "api"description (string, optional) - Invoice description or notesquantity (float, optional) - Consumption quantity in specified unitbase_quantity (float) - Base quantity before any conversionsoriginal_quantity (float, optional) - Original quantity if converted from currencyunit_id (string, UUID, optional) - Unit of measurement IDunit (object, optional) - Unit details with name and typeoriginal_unit_id (string, UUID, optional) - Original unit if convertedstart_date (datetime) - Invoice period start dateend_date (datetime) - Invoice period end dateco2e (float, optional) - Total CO2 equivalent emissions in kgco2e_consumption (float, optional) - CO2e from consumption (Scope 2)co2e_generation (float, optional) - CO2e from generationco2e_transmission_and_distribution (float, optional) - CO2e from T&D lossesco2e_biomass (float, optional) - Biomass CO2 emissions in kgoffset (float, optional) - Emission offsets appliedpercentage (string) - Percentage allocated to this facilityfacility_percentages (array) - Distribution across facilities
organization_id (string) - Organization UUIDfacility_id (string) - Facility UUIDpercentage (float) - Allocation percentage (0-1)company_name (string, optional) - Company namefacility_name (string, optional) - Facility namesource_invoice_id (string, UUID, optional) - Parent invoice if distributedsupplier_id (string, UUID, optional) - Supplier IDsupplier (object, optional) - Supplier details with name and countryfacility_fuel_id (string, UUID, optional) - Facility fuel type IDfacility_fuel (object, optional) - Fuel details (diesel, gasoline, etc.)cups (string, optional) - CUPS code for Spanish electricity meterskg_sludge (float, optional) - Sludge quantity in kg (waste water treatment)m3_water_out (float, optional) - Water output in mยณ (waste water treatment)identification_name (string, optional) - Waste identification nametotal_km_to_waste_center (float, optional) - Distance to waste treatment centerlow_code (string, optional) - LER/EWC waste coderd_code (string, optional) - Spanish RD waste codetoc (string, optional) - Transport operation category for logisticscustom_emission_factor_id (string, UUID, optional) - Custom factor IDcustom_emission_factor (object, optional) - Custom emission group detailsfile_url (string, optional) - URL to attached invoice filefile_name (string, optional) - Original file namefile_id (string, UUID, optional) - File identifieruploaded_by (string, optional) - User who uploaded the invoiceuser (object) - User details with name and emailinvofox_id (string, optional) - Invofox OCR processing IDinvoice_ocr_response (object, optional) - OCR processing responseerror_messages (array of strings, optional) - Error messages if status is errorfilters parameter
heat, electricity, recharge, water, process, wastes, waste_water_treatment
facility_id belongs to your organization and x-organization-id matches your API key.
facility_id is correct. Use the List Facilities endpoint to get valid facility IDs.
error_messages field)percentage shows the allocation to the current facility (0-1 range)facility_percentages array shows complete distributionsource_invoice_id references the parent invoicecups field contains the Cรณdigo Universal del Punto de Suministro (Universal Supply Point Code), which uniquely identifies the electricity meter.
total and total2 to display processing status in your UI. Use total_general for pagination calculations.