Dabra · Schema

NotaConsulta

DataBrazilKYCCompliance

Properties

Name Type Description
id string
estado string `descartada`: saiu da quarentena sem ir à Sefin (terminal, sem número)
emissor_id integer
simulada boolean nota do sandbox (emissor de ambiente 3): sem valor fiscal, sem cobrança, sem link público; apagada 30 dias depois de criada
referencia_externa object
competencia string
valor string
numero_dps object
dps_id object
chave object
numero_nfse object
tomador object o tomador como vai à DPS (o resolvido pelo serviço)
erro object na `quarentena`, o motivo; na `rejeitada`, a recusa
alertas object
tentativas integer
criada_em string
atualizada_em string
autorizada_em object
cancelada_em object
substitui object id da nota que esta substitui (grupo subst da DPS)
substituida_por object id da nota que substituiu esta (estado `substituida`)
substituida_em object
pdf_url object link público do DANFSe (arquivos.dabradata.com; o link é a chave, vence em 7 dias e é renovado ao consultar a nota); null se indisponível
xml_url object link público do XML da NFS-e, nas mesmas regras de `pdf_url`
links_expiram_em object
descartada_em object quando saiu da quarentena descartada
descarte_motivo object o motivo informado no descarte
cobranca object cobrança da nota autorizada (preço por nota autorizada em produção; cancelamento e sandbox são grátis); null antes da autorização
pdf_base64 object só com `?incluir=pdf_base64`
xml_base64 object só com `?incluir=xml_base64`
View JSON Schema on GitHub

JSON Schema

dabradata-com-nfse-nota-consulta-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dabradata-com/json-schema/dabradata-com-nfse-nota-consulta-schema.json",
  "title": "NotaConsulta",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dabradata-com-openapi.yaml#/components/schemas/NfseNotaConsulta",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "estado": {
      "type": "string",
      "enum": [
        "recebida",
        "na_fila",
        "enviando",
        "aguardando_sefin",
        "autorizada",
        "rejeitada",
        "cancelada",
        "substituida",
        "quarentena",
        "descartada"
      ],
      "title": "Estado",
      "description": "`descartada`: saiu da quarentena sem ir à Sefin (terminal, sem número)"
    },
    "emissor_id": {
      "type": "integer",
      "title": "Emissor Id"
    },
    "simulada": {
      "type": "boolean",
      "title": "Simulada",
      "description": "nota do sandbox (emissor de ambiente 3): sem valor fiscal, sem cobrança, sem link público; apagada 30 dias depois de criada"
    },
    "referencia_externa": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Referencia Externa"
    },
    "competencia": {
      "type": "string",
      "format": "date",
      "title": "Competencia"
    },
    "valor": {
      "type": "string",
      "title": "Valor"
    },
    "numero_dps": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Numero Dps"
    },
    "dps_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dps Id"
    },
    "chave": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chave"
    },
    "numero_nfse": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Numero Nfse"
    },
    "tomador": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tomador",
      "description": "o tomador como vai à DPS (o resolvido pelo serviço)"
    },
    "erro": {
      "anyOf": [
        {
          "$ref": "#/$defs/NfseErroNota"
        },
        {
          "type": "null"
        }
      ],
      "description": "na `quarentena`, o motivo; na `rejeitada`, a recusa"
    },
    "alertas": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Alertas"
    },
    "tentativas": {
      "type": "integer",
      "title": "Tentativas"
    },
    "criada_em": {
      "type": "string",
      "format": "date-time",
      "title": "Criada Em"
    },
    "atualizada_em": {
      "type": "string",
      "format": "date-time",
      "title": "Atualizada Em"
    },
    "autorizada_em": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Autorizada Em"
    },
    "cancelada_em": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cancelada Em"
    },
    "substitui": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Substitui",
      "description": "id da nota que esta substitui (grupo subst da DPS)"
    },
    "substituida_por": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Substituida Por",
      "description": "id da nota que substituiu esta (estado `substituida`)"
    },
    "substituida_em": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Substituida Em"
    },
    "pdf_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pdf Url",
      "description": "link público do DANFSe (arquivos.dabradata.com; o link é a chave, vence em 7 dias e é renovado ao consultar a nota); null se indisponível"
    },
    "xml_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Xml Url",
      "description": "link público do XML da NFS-e, nas mesmas regras de `pdf_url`"
    },
    "links_expiram_em": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Links Expiram Em"
    },
    "descartada_em": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Descartada Em",
      "description": "quando saiu da quarentena descartada"
    },
    "descarte_motivo": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Descarte Motivo",
      "description": "o motivo informado no descarte"
    },
    "cobranca": {
      "anyOf": [
        {
          "$ref": "#/$defs/NfseCobrancaNota"
        },
        {
          "type": "null"
        }
      ],
      "description": "cobrança da nota autorizada (preço por nota autorizada em produção; cancelamento e sandbox são grátis); null antes da autorização"
    },
    "pdf_base64": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pdf Base64",
      "description": "só com `?incluir=pdf_base64`"
    },
    "xml_base64": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Xml Base64",
      "description": "só com `?incluir=xml_base64`"
    }
  },
  "type": "object",
  "required": [
    "id",
    "estado",
    "emissor_id",
    "simulada",
    "referencia_externa",
    "competencia",
    "valor",
    "numero_dps",
    "dps_id",
    "chave",
    "numero_nfse",
    "tomador",
    "erro",
    "alertas",
    "tentativas",
    "criada_em",
    "atualizada_em",
    "autorizada_em",
    "cancelada_em",
    "substitui",
    "substituida_por",
    "substituida_em",
    "pdf_url",
    "xml_url",
    "links_expiram_em",
    "cobranca"
  ],
  "$defs": {
    "NfseCobrancaNota": {
      "properties": {
        "estado": {
          "type": "string",
          "enum": [
            "nao_aplicavel",
            "pendente",
            "cobrada"
          ],
          "title": "Estado",
          "description": "`cobrada`: o valor entrou no extrato da conta Dabra; `pendente`: a cobrança será confirmada em instantes (a nota vale do mesmo jeito); `nao_aplicavel`: sem cobrança (sandbox ou produção restrita)"
        },
        "valor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Valor",
          "description": "preço desta nota, em reais (string decimal); null até a confirmação"
        },
        "cobrada_em": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cobrada Em"
        }
      },
      "type": "object",
      "required": [
        "estado",
        "valor",
        "cobrada_em"
      ],
      "title": "CobrancaNota"
    },
    "NfseErroNota": {
      "properties": {
        "codigo": {
          "type": "string",
          "title": "Codigo"
        },
        "mensagem": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Mensagem"
        }
      },
      "type": "object",
      "required": [
        "codigo",
        "mensagem"
      ],
      "title": "ErroNota"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dabradata-com-nfse-nota-consulta"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.