Skip to main content

Create Tickets

Creates new tickets or updates the existing ones.

Request Body REQUIRED
data object[] REQUIRED
tenancy string

The CNPJ, ID or name of the tenancy

code string REQUIRED

The code of the ticket.

driver string

Uuid, ERP code or the driver name.

vehicle string

License plate of the vehicle.

movemented_at string REQUIRED

Date of the ticket on "yyyy/MM/dd" format.

invoice_code string

Invoice code associated with the ticket.

kg_quantity number REQUIRED

Ticket Quantity in kilograms.

company_generator string

CNPJ or ERP code of the generator company. If no value is provided, the system will use the value defined in the Waste Transport Manifest (MTR).

company_carrier string

CNPJ or ERP code of the carrier company. If no value is provided, the system will use the value defined in the Waste Transport Manifest (MTR).

waste string

UUID, Name or ERP code of the waste. If no value is provided, the system will use the value defined in the Waste Transport Manifest (MTR).

first_wtm_code string

First Waste Transport Manifest (MTR) code.

first_wtm_schema string

Possible values: [IMA, IMA_AL, FEPAM, IEMA, INEA, FEAM, SIGOR, SINIR]

Schema of the first Waste Transport Manifest (MTR).

second_wtm_code string

Second Waste Transport Manifest (MTR) code.

second_wtm_schema string

Possible values: [IMA, IMA_AL, FEPAM, IEMA, INEA, FEAM, SIGOR, SINIR]

Schema of the second Waste Transport Manifest (MTR).

Responses
200

200 response