Skip to main content

Get Last Ticket

Retrieve the last Ticket issued in a specific logistic center for the current year.

Query Parameters
tenancy string REQUIRED

The CNPJ, ID or name of the tenancy

year number

The year of the ticket. If no value is provided, the system will use the current year

in_code number

Search for a part of the ticket code

Responses
200

200 response

Schema OPTIONAL
code string OPTIONAL

Ticket code

movemented_at string OPTIONAL

Date of the ticket

kg_quantity number OPTIONAL

Ticket quantity in Kilograms

generator_partner_national_registry_number string OPTIONAL

CNPJ of the generator partner.

carrier_partner_national_registry_number string OPTIONAL

CNPJ of the carrier partner

recycler_partner_national_registry_number string OPTIONAL

CNPJ of the recycler partner

driver string OPTIONAL

The driver name.

vehicle string OPTIONAL

The license plate of the vehicle.

invoice_code string OPTIONAL

Invoice code associated with the ticket.

waste object OPTIONAL
id string OPTIONAL

The uuid of the related waste

erp_code string OPTIONAL

The erp_code of the related waste

name string OPTIONAL

The name of the related waste

wastes_transport_manifests object[] OPTIONAL

List of waste transport manifests

schema string OPTIONAL

The government schema of the MTR.

code string OPTIONAL

The MTR code.