Fechar lote de Recebimento/Atribuição
Fecha um lote de recebimentos/atribuições realizando uma conferência dos valores totais informados.
Autorizações
Corpo
emissor_cnpjstring · máx: 255Obrigatório
CNPJ do emissor.
numero_lote_eventostring · máx: 12Obrigatório
Número do lote de eventos do contrato.
quantidade_totalintegerObrigatório
Quantidade total dos eventos no lote.
valor_totalnumber · decimalObrigatório
Valor total de eventos de RECEBIMENTO no lote.
Respostas
200
Lote fechado com sucesso
application/json
400
Erro na requisição
application/json
500
Erro interno do servidor
application/json
post
/integration/contract/batch-events/closePOST /integration/contract/batch-events/close HTTP/1.1
Host: integration.staging.gtsec.giro.tech
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"emissor_cnpj": "06.983.813/0001-25",
"numero_lote_evento": "5061",
"quantidade_total": 3,
"valor_total": 5000
}{
"emissor_cnpj": "text",
"numero_lote_evento": "text",
"numero_contrato": "text",
"tipo_evento": "RECEBIMENTO",
"valor_evento": 1,
"modo_atribuicao": "LIQUIDACAO_CONTRATO",
"numero_controle_participante": "text"
}Atualizado