1. simples-nacional
Super Drive Contábil
  • auth
    • signin
      POST
    • forgot-password
      POST
    • change-password
      PATCH
    • generate-access-token
      POST
  • directory
    • create-directorie
      POST
    • list-all-directories
      GET
    • list-all-subdirectories-from-directory
      GET
    • list-files-in-directories
      GET
    • find-directorie-by-id
      GET
    • move-directory
      PATCH
    • delete-directory
      DELETE
    • change-directory
      PATCH
    • delete-directory
      DELETE
    • search-files-and-directories
      GET
    • move-directories-batch
      PATCH
    • delete-directories-batch
      DELETE
    • list-directory-name-suggestions
      GET
  • customers
    • create-customer
    • find-customer-by-id
    • list-all-customers
    • change-customer
    • delete-customer
    • cancel-delete-customer
    • permanent-delete-customer
    • import-customers
  • department
    • create-department
    • find-department-by-id
    • list-all-departments
    • list-users-in-deparment
    • change-department
    • delete-department
  • contacts
    • create-contact
    • list-all-contacts
    • list-files-by-contact
    • list-contact-files-by-external-id
    • send-file-to-trash
    • restore-file-to-trash
    • delete-file-from-contact
    • send-many-files-to-trash
    • restore-many-files-to-trash
    • delete-many-files-from-contact
    • restore-file-from-trash
    • upload-file-from-contact
  • users
    • create-user
    • list-all-users
    • find-user-by-id
    • change-user
    • reset-user-password
    • delete-user
  • organization-channels
    • create-organization-channel
    • connected-organization-channel
    • disconnect-organization-channel
    • change-organization-channel
    • list-all-organization-channels
  • automations
    • delete-automation
    • upload-file-from-desktop
    • create-sharing-automation
    • create-automated-task-completion
    • create-automation
    • create-automation-ai
    • change-automation
    • list-all-automations
  • file
    • share-file
    • find-file-by-id
    • change-file
    • list-all-files
    • delete-file
    • delete-many-files
    • move-file
    • move-many-files
    • generate-file-upload-urls
    • storage-events
  • zappy
    • list-sections
    • list-connections
  • customer-portal
    • directories
      • list-directories-from-root
      • upload-file
      • list-all-subdirectories-from-directory
      • list-files-in-directory
      • list-files-from-root-directory
    • file
      • list-all-files
    • auth
      • signin
      • forgot-password-customer
      • change-password-customer
      • refresh-access-token
    • customer
      • find-customer-by-id
      • search-resources
    • change-request
      • create-change-request
    • task
      • list-all-task
      • find-task-by-id
      • upload-attachments
    • process
      • find-process-by-id
      • list-all-process
      • upload-file-by-activity
    • overview
      • list-in-progress-process
      • list-pending
  • task-templates
    • delete-task-template
    • create-task-template
    • change-task-template
    • find-task-template-by-id
    • list-all-task-template
  • task
    • delete-task
    • create-task
    • create-task-bacth
    • change-task
    • find-task-by-id
    • list-all-task
  • chat plataforma
    • list-sectors
    • list-connections
  • process-model
    • delete-process-model
    • create-process-model
    • change-process-model
    • list-all-process-model
    • find-process-model -by-id
  • process
    • delete-process
    • create-process
    • create-process-comments
    • list-comments-by-process
    • change-process-stage
    • change-process-activity
    • cancel-process
    • complete-process
    • generate-link-process-detail
    • access-by-link
    • share-process
    • find-process-by-id
    • list-all-process
    • upload-file-by-process-comment
    • upload-file-by-activity
    • upload-activity-file-by-customer
  • directory-structure-model
    • create-directory-structure-model
    • change-directory-structure-model
    • delete-directory-structure-model
    • list-all-directory-structure-model
    • find-directory-structure-model -by-id
  • api-keys
    • create-api-key
    • change-api-key
    • list-all-api-keys
  • dashboard
    • file-storage-overview
    • channel-file-overview
    • summary-overview
  • tax
    • simples-nacional
      • Calculate Declaration
        POST
      • Correct Declaration
        POST
      • Transmit Declaration
        POST
      • Rectify Declaration
        POST
      • generate-das
        POST
      • Declarations Overview
        GET
      • List Declarations
        GET
      • Find Declaration By Id
        GET
      • share-das
        POST
      • generate-das-link
        POST
      • sync-declaration
        POST
      • List Declarations By Customer
        GET
    • mailbox
      • List Mailbox Messages
      • Find Mailbox Message By Id
    • mei
      • Generate DAS
      • List DAS
      • Find DAS By Id
      • Overview
      • Generate link
      • share-mei-das
      • List DAS By Customer
  • Schemas
    • Signin
  1. simples-nacional

Find Declaration By Id

Developing
GET
https://api.superdrivecontabil.com.br/v1/fiscal/simples-nacional/declarations/{id}
Busca uma declaração específica pelo id, restrita à organização do tenant autenticado, retornando a árvore completa: folhas de pagamento, não-optante, estabelecimentos com suas atividades e receitas (incluindo isenções, reduções, qualificações e suspensões tributárias), tributos apurados e o DAS gerado. Todo campo baseado em enum é retornado como a key em string (nunca o número persistido).

Request

Path Params

Header Params

Responses

🟢200Declaração encontrada com sucesso
application/json
Bodyapplication/json

Example
{
    "message": "Declaração encontrada com sucesso",
    "body": {
        "id": "decl_01HZY...",
        "organizationId": "string",
        "customerId": "string",
        "customerName": "Empresa Alfa",
        "customerDocument": "12345678000199",
        "competence": "202607",
        "declarationType": "ORIGINAL",
        "status": "CALCULATED",
        "domesticRevenue": 0,
        "exportRevenue": 0,
        "domesticRevenueCash": 0,
        "exportRevenueCash": 0,
        "fixedIcms": 0,
        "fixedIss": 0,
        "externalDeclarationId": "string",
        "transmittedAt": "2019-08-24T14:15:22.123Z",
        "statusMessage": "string",
        "createdAt": "2019-08-24T14:15:22.123Z",
        "updatedAt": "2019-08-24T14:15:22.123Z",
        "payrolls": [
            {
                "id": "string",
                "competence": "string",
                "payrollAmount": 0
            }
        ],
        "nonOptant": {
            "id": "string",
            "administrativeSphere": "FEDERAL",
            "state": "string",
            "cityCode": "string",
            "processNumber": "string"
        },
        "establishments": [
            {
                "id": "string",
                "cnpj": "string",
                "type": "HEADQUARTERS",
                "name": "string",
                "city": "string",
                "state": "string",
                "activities": [
                    {
                        "id": "string",
                        "activityCode": "RESALE_DOMESTIC_SUBSTITUTOR",
                        "activityRevenue": 0,
                        "revenues": [
                            {
                                "id": "string",
                                "amount": 0,
                                "cityCode": "string",
                                "state": "string",
                                "exemptions": [
                                    {
                                        "id": "string",
                                        "taxCode": "ICMS",
                                        "amount": 0,
                                        "identifier": "NORMAL"
                                    }
                                ],
                                "reductions": [
                                    {
                                        "id": "string",
                                        "taxCode": "ICMS",
                                        "amount": 0,
                                        "reductionPercentage": 0,
                                        "identifier": "NORMAL"
                                    }
                                ],
                                "qualifications": [
                                    {
                                        "id": "string",
                                        "taxCode": "ICMS",
                                        "qualificationId": "IMMUNITY"
                                    }
                                ],
                                "suspendedLiabilities": [
                                    {
                                        "id": "string",
                                        "taxCode": "ICMS",
                                        "processNumber": "string",
                                        "cityCode": "string",
                                        "state": "string",
                                        "court": "string",
                                        "hasDeposit": true,
                                        "reason": "JUDICIAL_DEPOSIT"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ],
        "assessedTaxes": [
            {
                "id": "string",
                "taxCode": "IRPJ",
                "taxName": "string",
                "principal": 0,
                "penalty": 0,
                "interest": 0,
                "total": 0
            }
        ],
        "das": {
            "id": "string",
            "fileId": "string",
            "generateFutureDas": true,
            "consolidationDate": "2019-08-24T14:15:22.123Z",
            "dueDate": "2019-08-24T14:15:22.123Z"
        }
    }
}
🟠404Declaração não encontrada
🟠401Não autorizado
Modified at 2026-11-25 20:34:27
Previous
List Declarations
Next
share-das