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

Correct Declaration

Developing
POST
https://api.superdrivecontabil.com.br/v1/fiscal/simples-nacional/declarations/{id}/correct
Recalcula e corrige uma declaração já existente (não transmitida) substituindo o aggregate atual.

Request

Path Params

Header Params

Body Params application/jsonRequired

Example
{
    "customerId": "19",
    "competence": "in",
    "declarationType": "est",
    "domesticRevenue": -33907793.93658519,
    "exportRevenue": 17752541.09682405,
    "domesticRevenueCash": -84054187.84486529,
    "exportRevenueCash": 31600908.43540147,
    "fixedIcms": -30544068.944828868,
    "fixedIss": 58482819.26535562,
    "payrolls": [
        {
            "competence": "ad veniam in",
            "payrollAmount": 303.85
        }
    ],
    "nonOptants": [
        {
            "administrativeSphere": "qui elit id culpa dolor",
            "state": "Massachusetts",
            "cityCode": "60",
            "processNumber": "81"
        }
    ],
    "establishments": [
        {
            "cnpj": "ea aliquip reprehenderit qui",
            "type": "officia nulla amet",
            "activities": [
                {
                    "activityCode": "RESALE_DOMESTIC_SUBSTITUTOR",
                    "activityRevenue": 66412583.52799794,
                    "revenues": [
                        {
                            "amount": 464.09,
                            "cityCode": "41",
                            "state": "New Hampshire",
                            "exemptions": [
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 944.79,
                                    "identifier": "consectetur sit in cillum"
                                },
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 684.8,
                                    "identifier": "consectetur cillum nostrud"
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "amount": 847.59,
                                    "identifier": "eiusmod amet nisi proident non"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "ICMS",
                                    "amount": 49.39,
                                    "identifier": "quis aliquip exercitation ut irure",
                                    "reductionPercentage": -14511975.364118084
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "ICMS",
                                    "qualification": "OFFICIAL_ASSESSMENT"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "IRPJ",
                                    "reason": "deserunt",
                                    "hasDeposit": true,
                                    "cityCode": "61"
                                },
                                {
                                    "taxCode": "ICMS",
                                    "reason": "id occaecat sed in",
                                    "hasDeposit": false,
                                    "cityCode": "94"
                                }
                            ]
                        }
                    ]
                },
                {
                    "activityCode": "CONSTRUCTION_ANNEX_III_ISS_RETAINED",
                    "activityRevenue": -96812126.27897273,
                    "revenues": [
                        {
                            "amount": 718.1,
                            "cityCode": "39",
                            "state": "Virginia",
                            "exemptions": [
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 568.35,
                                    "identifier": "consectetur ipsum dolore proident ad"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 923.15,
                                    "identifier": "nostrud Lorem consectetur eiusmod est",
                                    "reductionPercentage": 23641445.77002944
                                },
                                {
                                    "taxCode": "ISS",
                                    "amount": 951.25,
                                    "identifier": "eu minim aliqua sint",
                                    "reductionPercentage": -48639238.590165146
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "ISS",
                                    "qualification": "ISS_RETENTION"
                                },
                                {
                                    "taxCode": "ISS",
                                    "qualification": "OFFICIAL_ASSESSMENT"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "INSS_CPP",
                                    "reason": "officia",
                                    "hasDeposit": true,
                                    "cityCode": "46"
                                },
                                {
                                    "taxCode": "ISS",
                                    "reason": "ullamco incididunt",
                                    "hasDeposit": false,
                                    "cityCode": "23"
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "reason": "laborum amet ad in irure",
                                    "hasDeposit": false,
                                    "cityCode": "97"
                                }
                            ]
                        },
                        {
                            "amount": 491.09,
                            "cityCode": "15",
                            "state": "Colorado",
                            "exemptions": [
                                {
                                    "taxCode": "COFINS",
                                    "amount": 735.69,
                                    "identifier": "adipisicing aute ut minim"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "IPI",
                                    "amount": 266.59,
                                    "identifier": "ut tempor nostrud consectetur",
                                    "reductionPercentage": -20199734.724357694
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "amount": 355.99,
                                    "identifier": "dolore nisi aliqua laborum laboris",
                                    "reductionPercentage": -50730531.89174108
                                },
                                {
                                    "taxCode": "COFINS",
                                    "amount": 794.35,
                                    "identifier": "anim",
                                    "reductionPercentage": 47399516.22163764
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "COFINS",
                                    "qualification": "SINGLE_PHASE_TAXATION"
                                },
                                {
                                    "taxCode": "CSLL",
                                    "qualification": "OFFICIAL_ASSESSMENT"
                                },
                                {
                                    "taxCode": "COFINS",
                                    "qualification": "ANTICIPATION_WITH_CLOSURE"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "IPI",
                                    "reason": "sed",
                                    "hasDeposit": true,
                                    "cityCode": "50"
                                }
                            ]
                        },
                        {
                            "amount": 375.8,
                            "cityCode": "75",
                            "state": "Iowa",
                            "exemptions": [
                                {
                                    "taxCode": "COFINS",
                                    "amount": 409.29,
                                    "identifier": "ut"
                                },
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 303.49,
                                    "identifier": "ad commodo eiusmod"
                                },
                                {
                                    "taxCode": "COFINS",
                                    "amount": 991.79,
                                    "identifier": "amet"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "ISS",
                                    "amount": 185.7,
                                    "identifier": "Lorem fugiat",
                                    "reductionPercentage": 84839998.58090857
                                },
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 650.95,
                                    "identifier": "non do occaecat sint",
                                    "reductionPercentage": 60867365.89154461
                                },
                                {
                                    "taxCode": "IPI",
                                    "amount": 9.49,
                                    "identifier": "voluptate",
                                    "reductionPercentage": 76515976.1017935
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "IRPJ",
                                    "qualification": "ANTICIPATION_WITH_CLOSURE"
                                },
                                {
                                    "taxCode": "ICMS",
                                    "qualification": "SINGLE_PHASE_TAXATION"
                                },
                                {
                                    "taxCode": "ICMS",
                                    "qualification": "SINGLE_PHASE_TAXATION"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "IRPJ",
                                    "reason": "tempor aute Excepteur do",
                                    "hasDeposit": false,
                                    "cityCode": "13"
                                },
                                {
                                    "taxCode": "ISS",
                                    "reason": "anim commodo sit ut magna",
                                    "hasDeposit": true,
                                    "cityCode": "35"
                                },
                                {
                                    "taxCode": "IPI",
                                    "reason": "eu",
                                    "hasDeposit": false,
                                    "cityCode": "2"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "cnpj": "nisi dolore Ut adipisicing in",
            "type": "do ullamco dolore",
            "activities": [
                {
                    "activityCode": "RESALE_DOMESTIC_SUBSTITUTOR",
                    "activityRevenue": -4437026.510683134,
                    "revenues": [
                        {
                            "amount": 702.29,
                            "cityCode": "85",
                            "state": "Rhode Island",
                            "exemptions": [
                                {
                                    "taxCode": "CSLL",
                                    "amount": 491.38,
                                    "identifier": "magna dolor id non Excepteur"
                                },
                                {
                                    "taxCode": "PIS",
                                    "amount": 341.35,
                                    "identifier": "Lorem nulla proident"
                                },
                                {
                                    "taxCode": "INSS_CPP",
                                    "amount": 809.45,
                                    "identifier": "mollit laborum ut eu"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "IPI",
                                    "amount": 93.99,
                                    "identifier": "ad cupidatat commodo laboris",
                                    "reductionPercentage": -37876499.396657825
                                },
                                {
                                    "taxCode": "COFINS",
                                    "amount": 73,
                                    "identifier": "sit eu ut",
                                    "reductionPercentage": -74473229.89340495
                                },
                                {
                                    "taxCode": "IPI",
                                    "amount": 611.27,
                                    "identifier": "elit laboris fugiat culpa",
                                    "reductionPercentage": 91771281.59166151
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "INSS_CPP",
                                    "qualification": "TAX_SUBSTITUTION"
                                },
                                {
                                    "taxCode": "COFINS",
                                    "qualification": "IMMUNITY"
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "qualification": "ISS_RETENTION"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "ISS",
                                    "reason": "cupidatat quis labore dolor",
                                    "hasDeposit": false,
                                    "cityCode": "69"
                                },
                                {
                                    "taxCode": "IPI",
                                    "reason": "sint adipisicing dolore mollit",
                                    "hasDeposit": true,
                                    "cityCode": "82"
                                }
                            ]
                        }
                    ]
                },
                {
                    "activityCode": "TRANSPORT_ICMS_SUBSTITUTED",
                    "activityRevenue": 66580642.03779662,
                    "revenues": [
                        {
                            "amount": 408.95,
                            "cityCode": "11",
                            "state": "West Virginia",
                            "exemptions": [
                                {
                                    "taxCode": "IRPJ",
                                    "amount": 517.45,
                                    "identifier": "sit ipsum"
                                },
                                {
                                    "taxCode": "PIS",
                                    "amount": 856.55,
                                    "identifier": "aute pariatur"
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "amount": 373.15,
                                    "identifier": "non in sunt sed"
                                }
                            ],
                            "reductions": [
                                {
                                    "taxCode": "CSLL",
                                    "amount": 283.69,
                                    "identifier": "in et",
                                    "reductionPercentage": 94870256.37126204
                                },
                                {
                                    "taxCode": "IRPJ",
                                    "amount": 910.51,
                                    "identifier": "cupidatat eiusmod voluptate",
                                    "reductionPercentage": -55199002.317274235
                                },
                                {
                                    "taxCode": "PIS",
                                    "amount": 707.55,
                                    "identifier": "proident sed",
                                    "reductionPercentage": 50019831.06696749
                                }
                            ],
                            "qualifications": [
                                {
                                    "taxCode": "COFINS",
                                    "qualification": "SINGLE_PHASE_TAXATION"
                                },
                                {
                                    "taxCode": "INSS_CPP",
                                    "qualification": "ISS_RETENTION"
                                },
                                {
                                    "taxCode": "PIS",
                                    "qualification": "ANTICIPATION_WITH_CLOSURE"
                                }
                            ],
                            "suspendedLiabilities": [
                                {
                                    "taxCode": "CSLL",
                                    "reason": "adipisicing minim",
                                    "hasDeposit": false,
                                    "cityCode": "58"
                                },
                                {
                                    "taxCode": "IPI",
                                    "reason": "fugiat sint proident",
                                    "hasDeposit": true,
                                    "cityCode": "44"
                                },
                                {
                                    "taxCode": "ISS",
                                    "reason": "in laboris minim",
                                    "hasDeposit": false,
                                    "cityCode": "77"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Responses

🟢200201 Created
application/json
Bodyapplication/json

Example
{
    "message": "Declaração calculada com sucesso.",
    "body": {
        "declarationId": "8d80e365-8e62-4a3b-a17d-26cd8da6d4b9",
        "message": "string",
        "assessedTaxes": [
            {
                "taxCode": "string",
                "principal": 0,
                "penalty": 0,
                "interest": 0,
                "total": 0
            }
        ]
    }
}
🟠422422 Unprocessable Entity
🟠401401 Unauthorized
Modified at 2026-11-25 20:34:27
Previous
Calculate Declaration
Next
Transmit Declaration