transportador_documentostringRequiredContracted carrier's CPF or CNPJ (digits only).
maxLength20Parameters, data structure and responses from the versioned contract.
/vale-pedagio/comprarTechnical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
Completes the purchase and issuance of the mandatory toll voucher (Vale-Pedágio Obrigatório) with ANTT and the accredited operator.
The total amount (toll charges + the service fee for the selected method) is debited immediately from the contracting company's or shipper's Swap Operational Account.
[
{
"oauth2": []
},
{
"chaveApi": []
}
]No parameters declared for this operation.
Required
application/jsontransportador_documentostringRequiredContracted carrier's CPF or CNPJ (digits only).
maxLength20transportador_rntrcstringRequiredCarrier's RNTRC (FleetPay checks with ANTT; ANTT's RNTRC takes precedence).
maxLength20transportador_nomestring | nullOptionalCarrier name (optional; defaults to ANTT's name when absent).
maxLength150placastringRequiredVehicle license plate (with an operator tag and listed in the RNTRC fleet).
maxLength10eixosintegerRequiredAxle count.
minimum2maximum10operadorastring | nullOptionalToll operator.
"sem_parar" · "conectcar" · "veloe" · "move_mais"modalidadestringRequiredRoute option.
"planejada" · "estendida" · "customizada"valor_pedagionumberRequiredQuoted route toll amount (rotas[n].valor_total).
minimum0.01vigencia_iniciostring · dateRequiredValidity start date (YYYY-MM-DD).
vigencia_fimstring · dateRequiredValidity end date (YYYY-MM-DD).
pracasarrayRequiredRequired for sem_parar. Toll plazas from the selected quoted route (rotas[n].pracas), including each plaza's id. You may resend the quote objects unchanged.
minItems1numero_ciotstring | nullOptionalCIOT number for the transport operation.
maxLength50referencia_externastring | nullOptionalYour reference (order, trip).
maxLength100origem_cidadestring | nullOptionalOrigin city.
origem_ufstring | nullOptionalOrigin state.
maxLength2destino_cidadestring | nullOptionalDestination city.
destino_ufstring | nullOptionalDestination state.
maxLength2desvio_autorizado_porstring | nullOptionalFor a supplementary voucher: who authorized the detour.
"embarcador" · "motorista"emuladoboolean | nullOptionalSandbox only. When true, issuance actually takes place with the operator (trip, ANTT number, receipt, cancellation), but no amount is debited from or refunded to the Operational Account. In production, the request is rejected (422).
201 HTTP ResponseToll voucher issued and successfully registered with ANTT
401 HTTP ResponseUnauthenticated (autenticacao): missing, invalid or expired credentials, including an API key used in the wrong environment. A sandbox key is not valid in production, nor a production key in the sandbox; the error message indicates the expected environment.
422 HTTP ResponseInsufficient Operational Account balance or operator validation error
429 HTTP ResponseRequest limit exceeded (limite_requisicoes). Wait for the interval specified in the Retry-After header before retrying. This may be a limit forwarded from the provider or FleetPay's own anti-abuse limit, counted per authenticated company and route group, with a short window for bursts and a long window for slower automated traffic. Limits are intentionally generous: genuine integrations, including large batches processed at once, should remain well below them. If yours reaches a limit, contact FleetPay.
{
"tags": [
"Vale-Pedágio (VPO)"
],
"summary": "Comprar e emitir Vale-Pedágio Obrigatório (VPO)",
"operationId": "comprarValePedagio",
"description": "Efetiva a compra e emissão do Vale-Pedágio Obrigatório perante a ANTT e a operadora credenciada.\n\nO valor total (tarifas de pedágio + tarifa de serviço da modalidade) é **debitado instantaneamente\nda Conta Operacional Swap** da empresa contratante/embarcadora.\n",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EmitirVpoRequest"
}
}
}
},
"responses": {
"201": {
"description": "Vale-Pedágio emitido e registrado com sucesso na ANTT",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EmitirVpoResponse"
}
}
}
},
"400": {
"$ref": "#/components/responses/Erro400"
},
"401": {
"$ref": "#/components/responses/Erro401"
},
"403": {
"$ref": "#/components/responses/Erro403"
},
"422": {
"description": "Saldo insuficiente na Conta Operacional ou erro de validação da operadora",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Erro"
}
}
}
},
"429": {
"$ref": "#/components/responses/Erro429"
},
"500": {
"$ref": "#/components/responses/Erro500"
}
},
"method": "POST",
"path": "/vale-pedagio/comprar",
"parameters": []
}