---
title: "Obter conta a pagar"
method: GET
path: "/contas-pagar/{idContaPagar}"
tags: ["Contas a pagar"]
---

# Obter conta a pagar

`GET /contas-pagar/{idContaPagar}`

## Path parameters

- `idContaPagar` integer, required

## Response `200`

OK

- ObterContaPagarModelResponse — 
  - `id` integer
  - `situacao` 'aberto' | 'cancelada' | 'pago' | 'parcial' | 'prevista' | 'atrasadas' | 'emissao', nullable — - aberto - Aberto - cancelada - Cancelada - pago - Pago - parcial - Parcial - prevista - Prevista - atrasadas - Atrasadas - emissao - Emissao
  - `data` string
  - `dataVencimento` string
  - `dataCompetencia` string
  - `dataLiquidacao` string, nullable
  - `diaVencimento` integer, nullable
  - `diaSemanaVencimento` 0 | 1 | 2 | 3 | 4 | 5 | 6, nullable — - 0 - Domingo - 1 - Segunda - 2 - Terca - 3 - Quarta - 4 - Quinta - 5 - Sexta - 6 - Sabado
  - `numeroDocumento` string
  - `serieDocumento` string, nullable
  - `ocorrencia` 'U' | 'W' | 'Q' | 'M' | 'T' | 'S' | 'A' | 'P', nullable — - U - Unica - W - Semanal - Q - Quinzenal - M - Mensal - T - Trimestral - S - Semestral - A - Anual - P - Parcelada
  - `quantidadeParcelas` integer, nullable
  - `valor` number, float, nullable
  - `saldo` number, float, nullable
  - `valorPago` number, float, nullable
  - `multa` number, float, nullable
  - `juros` number, float, nullable
  - `contato` ContatoModelResponse — 
    - `nome` string, nullable
    - `codigo` string, nullable
    - `fantasia` string, nullable
    - `tipoPessoa` 'J' | 'F' | 'E' | 'X', nullable — - J - Juridica - F - Fisica - E - Estrangeiro - X - Estrangeiro No Brasil
    - `cpfCnpj` string, nullable
    - `inscricaoEstadual` string, nullable
    - `rg` string, nullable
    - `telefone` string, nullable
    - `celular` string, nullable
    - `email` string, nullable
    - `endereco` EnderecoModel — 
      - `endereco` string, nullable
      - `numero` string, nullable
      - `complemento` string, nullable
      - `bairro` string, nullable
      - `municipio` string, nullable
      - `cep` string, nullable
      - `uf` string, nullable
      - `pais` string, nullable
    - `id` integer
  - `categoria` CategoriaReceitaDespesaResponseModel — 
    - `id` integer
    - `descricao` string
  - `formaPagamento` FormaPagamentoResponseModel — 
    - `id` integer
    - `nome` string, nullable
  - `historico` string, nullable
  - `marcadores` unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/olist/apis/olist-erp-api-v3.md) · [All operations](https://skmtc.net/olist/apis/olist-erp-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/olist/olist-erp-api-v3/versions/c351400bb11f/schema)
