{
"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"
}
}
}