Fechar lote de Recebimento/Atribuição

Fechar lote de recebimentos/atribuições

post
/integration/contract/batch-events/close

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
post
/integration/contract/batch-events/close
POST /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