Skip to main content

Waste Disposals Extraction

waste_disposals

ColumnTypeDescription
waste_disposal_idint64waste_movements.id — analytics row id for the movement (not waste_disposals.id).
waste_movement_idint64waste_disposals.id — parent disposal header id (waste_movements.waste_disposal_id).
business_group_idint64Business group of the movement’s company (company.business_group_id).
company_carrier_idint64Company id of the carrier on the waste disposal.
company_generator_idint64Company id of the generator on the waste disposal.
company_recycler_idint64Company id of the destination / recycler on the waste disposal.
packing_idint64Packing id on the movement (0 when absent in source).
processint64Process id from the disposal line, or movement process_id if line process is null.
temporary_storage_company_idint64Id from transport task temporary_storage_company_id (company or referenced partner).
tenancy_idint64Tenant id (tenancies.id) — organizational unit / department scope for the movement.
transport_task_main_detail_idint64Linked transport task id (transport_tasks.id) when the disposal has a transport task.
treatment_typeint64Waste treatment type id on the disposal line (waste_treatments.id).
waste_groupint64Waste group id on the disposal line.
waste_group_idint64Waste group id on the movement (waste_movements.waste_group_id).
waste_idint64Waste id on the movement (0 when missing in source).
carrier_cnpjstringCarrier company tax id (CPF/CNPJ) as stored; '-' when missing.
carrier_invoicesstringInvoice numbers for carrier invoices on the disposal, comma-separated.
carrier_namestringCarrier trade name (alias_name).
emitted_waste_treatmentstringTreatment at shipment: first treatment change record’s original value, or default treatment name on the disposal line.
environmental_economic_categorystringEnvironmental–economic category from the waste master data.
formatted_carrier_cnpjstringCarrier tax id formatted for display.
formatted_generator_cnpjstringGenerator tax id formatted.
formatted_recycler_cnpjstringRecycler tax id formatted.
formatted_temporary_storage_company_cnpjstringTemporary storage party tax id formatted.
generator_citystringGenerator city (main partner address).
generator_cnpjstringGenerator tax id as stored.
generator_namestringGenerator trade name.
generator_statestringGenerator state (UF) (main partner address).
order_of_servicestringService order reference on the disposal.
other_invoicesstringOther invoice numbers on the disposal, comma-separated.
packing_namestringPacking name.
packing_unity_measurestringPacking unit abbreviation (typo in column name: “unity” = unit).
received_waste_treatmentstringTreatment at receipt: latest treatment change record’s new value, or default treatment name.
recycler_citystringRecycler city (main partner address).
recycler_cnpjstringRecycler tax id as stored.
recycler_invoicesstringRecycler invoice numbers, comma-separated.
recycler_namestringRecycler trade name.
recycler_statestringRecycler state (UF).
reference_monthstringReference month stored on the waste movement.
segregation_qualitystringHuman-readable segregation quality on the disposal (Good / Medium / Poor — labels follow DTO locale).
statusstringRaw disposal status enum value from waste_disposals.status.
status_mtrsstringDisposal status rendered as short label for reporting (text is Portuguese in the current DTO, e.g. in transit, received).
temporary_storage_company_cnpjstringTemporary storage party tax id (resolved from Company or Partner linked to transport task).
temporary_storage_company_namestringName: company complete_name or partner name.
cdfsstringFinal destination certificates (CDF) from MTR integration details, aggregated.
integration_errorsstringIntegration error messages from non-ELOVERDE manifests in failed integration status, concatenated.
mtrsstringMTR codes from integration helper (getMTRDetails / code).
schemasstringManifest schema values from MTR details (integration source).
emitted_quantitydoubleShipped quantity in the movement’s unit, converted to kg when the unit is not kg (see getQuantity / unit conversion).
kg_difference_received_emitteddoublekg received − kg shipped; null if either side is null.
kg_emitted_quantitydoubleShipped mass in kg (from disposal line exp_quantity or movement kg_quantity).
kg_received_quantitydoubleReceived mass in kg (line received_quantity, else fallback to shipped / movement kg).
m3_emitted_quantitydoubleShipped volume in m³ estimated as kg ÷ waste density (defaults to 1000 kg/m³ when density missing or zero).
m3_received_quantitydoubleReceived volume in m³, same density rule as emitted.
packing_capacitydoublePacking capacity from the packing master.
percentage_difference_received_emitteddoubleRelative gap (kg_received ÷ kg_emitted) − 1; 0 when invalid or kg_emitted ≤ 0.
received_quantitydoubleReceived quantity in the movement’s unit (with kg conversion when needed).
t_difference_received_emitteddoubleMetric-ton difference: kg_difference_received_emitted / 1000.
unitary_packing_quantitydoubleUnits per packing on the disposal–waste line (unitary_packing_quantity).
waste_heightdoubleDerived ratio movement quantity ÷ generator enterprise building area when area exists; else null.
imported_from_governmentbooleanWhether the disposal was imported from a government source.
mtr_expiredbooleanWhether the disposal is flagged as MTR expired.
emitted_datedateTimeDisposal expedition / shipment date (waste_disposals.exp_date).
issue_datedateTimeDisposal issue date (issue_date, or exp_date if issue is null).
movement_datedateTimeMovement timestamp on the waste movement (movemented_at).
received_datedateTimeReceipt datetime at destination (waste_disposals.received_at).
updated_atdateTimeLast update of the waste movement.
deleted_atdateTimeSoft delete of the waste movement row.