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

Rectify Declaration

Developing
POST
https://api.superdrivecontabil.com.br/v1/fiscal/simples-nacional/declarations/{id}/rectify
Retifica uma declaração já transmitida, recalculando e substituindo o aggregate com os novos dados.

Request

Path Params

Header Params

Body Params application/jsonRequired

Example
{
    "customerId": "4",
    "competence": "magna tempor dolore ipsum",
    "declarationType": "officia",
    "domesticRevenue": 70060020.89835891,
    "exportRevenue": -67220840.20569357,
    "domesticRevenueCash": 59264188.587121546,
    "exportRevenueCash": 97178771.93373895,
    "fixedIcms": 12068145.795769915,
    "fixedIss": -32485243.167703494,
    "payrolls": [
        {
            "competence": "laborum qui eu",
            "payrollAmount": 903.05
        },
        {
            "competence": "aliqua ullamco",
            "payrollAmount": 352.89
        },
        {
            "competence": "exercitation minim eiusmod sed",
            "payrollAmount": 186.59
        }
    ],
    "nonOptants": [
        {
            "administrativeSphere": "occaecat est aliquip magna proident",
            "state": "Idaho",
            "cityCode": "86",
            "processNumber": "20"
        },
        {
            "administrativeSphere": "ad Duis quis",
            "state": "Arizona",
            "cityCode": "2",
            "processNumber": "61"
        }
    ],
    "establishments": [
        {
            "cnpj": "nisi proident sed laborum",
            "type": "sunt id nisi in",
            "activities": [
                {
                    "activityCode": "SERVICE_ANNEX_III_ISS_OWN_CITY",
                    "activityRevenue": -52129795.299721815,
                    "revenues": [
                        {
                            "amount": 33.05,
                            "cityCode": "55",
                            "state": "Florida",
                            "exemptions": [
                                {
                                    "taxCode": "ICMS",
                                    "amount": 275.4,
                                    "identifier": "labore adipisicing"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "CSLL",
                                    "amount": 1.69,
                                    "identifier": "et labore dolore consectetur minim",
                                    "reductionPercentage": 7662958.219402283
                                },
                                {
                                    "taxCode": "COFINS",
                                    "amount": 305.75,
                                    "identifier": "elit commodo Excepteur in",
                                    "reductionPercentage": -82877775.89451197
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "IPI",
                                    "qualification": "ANTICIPATION_WITH_CLOSURE"
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "qualification": "OFFICIAL_ASSESSMENT"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "PIS",
                                    "reason": "eiusmod Excepteur",
                                    "hasDeposit": true,
                                    "cityCode": "97"
                                }
                            ]
                        },
                        {
                            "amount": 479.29,
                            "cityCode": "7",
                            "state": "Idaho",
                            "exemptions": [
                                {
                                    "taxCode": "IPI",
                                    "amount": 330.89,
                                    "identifier": "commodo labore Lorem"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "PIS",
                                    "amount": 106.95,
                                    "identifier": "sint proident",
                                    "reductionPercentage": -3756365.15033713
                                },
                                {
                                    "taxCode": "ICMS",
                                    "amount": 176.69,
                                    "identifier": "Duis dolore Lorem voluptate",
                                    "reductionPercentage": -88145207.85831065
                                },
                                {
                                    "taxCode": "ISS",
                                    "amount": 378.19,
                                    "identifier": "fugiat",
                                    "reductionPercentage": -1792689

Responses

🟢200200 OK
application/json
Bodyapplication/json

Example
{
    "message": "string",
    "body": {}
}
🟠422422 Unprocessable Entity
🟠401401 Unauthorized
Modified at 2026-11-25 20:34:27
Previous
Transmit Declaration
Next
generate-das