batch_idstring · uuidOptionalTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
statusstringOptional"processing" · "done" · "failed"external_referencestring | nullOptionaltotalintegerOptionalemittedintegerOptionalduplicatedintegerOptionalfailedintegerOptionalem_nome_deobject | nullOptionalPresent when the contracting carrier submitted the batch on behalf of the subcontractor; contains the issuer's CNPJ.
repasse_group_refstringOptionalBatch transfer-group reference (for legs, each driver has <batch_id>:m<driver_user_id>).
resultsarrayOptionalerror_messagestring | nullOptionalcreated_atstring · date-timeOptionalfinished_atstring | null · date-timeOptionalOriginal JSON Definition (Portuguese Descriptions)
{
"type": "object",
"properties": {
"batch_id": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"processing",
"done",
"failed"
]
},
"external_reference": {
"type": [
"string",
"null"
]
},
"total": {
"type": "integer"
},
"emitted": {
"type": "integer"
},
"duplicated": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"em_nome_de": {
"type": [
"object",
"null"
],
"description": "Presente quando o lote foi disparado pela contratante em nome da subcontratada; traz o CNPJ da emissora.",
"properties": {
"cnpj": {
"type": "string"
}
}
},
"repasse_group_ref": {
"type": "string",
"description": "Referência do grupo de repasse do lote (nas pernas, cada motorista tem `<batch_id>:m<driver_user_id>`)."
},
"results": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ContraCteLoteResult"
}
},
"error_message": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"finished_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}