# Retornar a baixa por id

Permite consultar os detalhes de uma baixa específica a partir do seu identificador único (baixa_id). O retorno inclui informações completas sobre a baixa, como data de pagamento, valores envolvidos, conta financeira utilizada, método de pagamento e observações registradas.

Endpoint: GET /v1/financeiro/eventos-financeiros/parcelas/baixa/{baixa_id}
Version: v1
Security: BearerAuth

## Security:

  - `BearerAuth` (unknown)
    http bearer JWT

## Path parameters:

  - `baixa_id` (string, required)

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string)
    Identificador único da baixa
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `versao` (integer)
    Versão da baixa
    Example: 1

  - `data_pagamento` (string)
    Data do pagamento
    Example: 2023-10-01

  - `valor_composicao` (object)

  - `valor_composicao.multa` (number)
    Valor da multa, deve ser maior ou igual a zero
    Example: 5

  - `valor_composicao.juros` (number)
    Valor dos juros, deve ser maior ou igual a zero
    Example: 2.5

  - `valor_composicao.valor_bruto` (number, required)
    Valor bruto, deve ser informado e maior ou igual a zero
    Example: 150

  - `valor_composicao.desconto` (number)
    Valor do desconto, deve ser maior ou igual a zero
    Example: 10

  - `valor_composicao.taxa` (number)
    Valor da taxa, deve ser maior ou igual a zero
    Example: 3.75

  - `conta_financeira` (string)
    Identificador único da conta financeira
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `id_reconciliacao` (string)
    Identificador único da reconciliação
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `id_parcela` (string)
    Identificador único da parcela
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `id_solicitacao_cobranca` (string)
    Identificador único da solicitação de cobrança
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `observacao` (string)
    Observação
    Example: Pagamento referente à fatura #1234.

  - `metodo_pagamento` (string)
    Método de pagamento
    Enum: "DINHEIRO", "CARTAO_CREDITO", "BOLETO_BANCARIO", "CARTAO_CREDITO_VIA_LINK", "CHEQUE", "CARTAO_DEBITO", "TRANSFERENCIA_BANCARIA", "OUTRO", "CARTEIRA_DIGITAL", "CASHBACK", "CREDITO_LOJA", "CREDITO_VIRTUA", "DEPOSITO_BANCARIO", "PIX_PAGAMENTO_INSTANTANEO", "PROGRAMA_FIDELIDADE", "SEM_PAGAMENTO", "VALE_ALIMENTACAO", "VALE_COMBUSTIVEL", "VALE_PRESENTE", "VALE_REFEICAO", "PIX_COBRANCA", "DEBITO_AUTOMATICO"

  - `origem` (string)
    Origem
    Enum: "LANCAMENTO_FINANCEIRO", "DAS", "FOLHA", "TRANSFERENCIA", "SALDO_CONTA_BANCARIA", "VENDA", "COMPRA", "VENDA_AGENDADA", "COMPRA_AGENDADA", "IMPORTACAO_DOCUMENTO", "IMPOSTO_RETIDO", "SIC", "NOTA_COMPRA", "ANTECIPACAO", "RENEGOCIACAO", "HONORARIOS_CONTABEIS"

  - `id_recibo_digital` (string)
    Identificador único do recibo digital
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `tipo_evento_financeiro` (string)
    Tipo de evento financeiro
    Enum: "RECEITA", "DESPESA"

  - `nsu` (string)
    Número sequencial único
    Example: 1234567890

  - `id_referencia` (string)
    Identificador único da referência
    Example: REF1234

  - `atualizado_em` (string)
    Data de atualização
    Example: 2023-10-01T12:00:00Z

  - `anexos` (array)

  - `anexos.id` (string)
    Identificador único do anexo
    Example: 35473eec-4e74-11ee-b500-9f61de8a8b8b

  - `anexos.referencia` (string)
    Referência associada ao anexo
    Example: REF1234

  - `anexos.nome` (string)
    Nome do anexo
    Example: pagamento_recibo.pdf

  - `anexos.descricao` (string)
    Descrição detalhada do anexo
    Example: Recibo de pagamento referente à fatura #1234.

  - `anexos.tipo` (string)
    Tipo do anexo
    Enum: "RECIBO_DIGITAL", "RECIBO"

  - `anexos.tipo_conteudo` (string)
    Tipo de conteúdo do anexo
    Enum: "FILE", "URL"

  - `anexos.url` (string)
    URL do anexo
    Example: https://example.com/attachment.pdf

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 404:

  - `404` (unknown)
    Not Found

## Response 429:

  - `429` (unknown)
    Too Many Requests

## Response 500:

  - `500` (unknown)
    Internal Server Error

