Skip to content

Commit 9254409

Browse files
authored
Merge pull request #548 from robmachado/master
alteração c120.json
2 parents b98fb81 + f6b6a4d commit 9254409

File tree

244 files changed

+12884
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+12884
-4
lines changed
6.07 MB
Binary file not shown.

examples/cria_lista_layout_vigencia.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
'014' => ['versao' => '1.13', 'inicio' => '01012020', 'fim' => '31122020'],
1717
'015' => ['versao' => '1.14', 'inicio' => '01012021', 'fim' => '31122021'],
1818
'016' => ['versao' => '1.15', 'inicio' => '01012022', 'fim' => '31122022'],
19-
'017' => ['versao' => '1.16', 'inicio' => '01012023', 'fim' => ''],
19+
'017' => ['versao' => '1.16', 'inicio' => '01012023', 'fim' => '31122023'],
20+
'018' => ['versao' => '1.17', 'inicio' => '01012024', 'fim' => ''],
2021
];
2122

2223
file_put_contents(__DIR__.'/../storage/layouts/ICMSIPI/vigencias.json', json_encode($layouts, JSON_PRETTY_PRINT));

storage/layouts/ICMSIPI/v017/C120.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"NUM_DOC_IMP": {
1010
"type": "string",
11-
"regex": "^([0-9]{1,12})+$",
11+
"regex": "^.{1,15}$",
1212
"required": true,
1313
"info": "N\u00famero do documento de Importa\u00e7\u00e3o",
1414
"format": ""
@@ -29,9 +29,9 @@
2929
},
3030
"NUM_ACDRAW": {
3131
"type": "string",
32-
"regex": "^([0-9]{1,20})$",
32+
"regex": "^.{1,20}$",
3333
"required": false,
3434
"info": "N\u00famero do Ato Concess\u00f3rio do regime Drawback",
3535
"format": ""
3636
}
37-
}
37+
}
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"cod_ver": {
3+
"type": "string",
4+
"regex": "^[0-9]{3}$",
5+
"required": true,
6+
"info": "C\u00f3digo da vers\u00e3o do leiaute conforme a tabela indicada no Ato COTEPE.",
7+
"format": ""
8+
},
9+
"cod_fin": {
10+
"type": "integer",
11+
"regex": "^[0-1]{1}$",
12+
"required": true,
13+
"info": "C\u00f3digo da finalidade do arquivo: 0 - Remessa do arquivo original; 1 - Remessa do arquivo substituto.",
14+
"format": ""
15+
},
16+
"dt_ini": {
17+
"type": "string",
18+
"regex": "^(0[1-9]|[1-2][0-9]|31(?!(?:0[2469]|11))|30(?!02))(0[1-9]|1[0-2])([12]\\d{3})$",
19+
"required": true,
20+
"info": "Data inicial das informa\u00e7\u00f5es contidas no arquivo.",
21+
"format": ""
22+
},
23+
"dt_fin": {
24+
"type": "string",
25+
"regex": "^(0[1-9]|[1-2][0-9]|31(?!(?:0[2469]|11))|30(?!02))(0[1-9]|1[0-2])([12]\\d{3})$",
26+
"required": true,
27+
"info": "Data final das informa\u00e7\u00f5es contidas no arquivo.",
28+
"format": ""
29+
},
30+
"nome": {
31+
"type": "string",
32+
"regex": "^.{2,100}$",
33+
"required": true,
34+
"info": "Nome empresarial da entidade.",
35+
"format": ""
36+
},
37+
"cnpj": {
38+
"type": "string",
39+
"regex": "^[0-9]{14}$",
40+
"required": false,
41+
"info": "N\u00famero de inscri\u00e7\u00e3o da entidade no CNPJ.",
42+
"format": ""
43+
},
44+
"cpf": {
45+
"type": "string",
46+
"regex": "^[0-9]{11}$",
47+
"required": false,
48+
"info": "N\u00famero de inscri\u00e7\u00e3o da entidade no CPF.",
49+
"format": ""
50+
},
51+
"uf": {
52+
"type": "string",
53+
"regex": "^[A-Z]{2}$",
54+
"required": true,
55+
"info": "Sigla da unidade da federa\u00e7\u00e3o da entidade.",
56+
"format": ""
57+
},
58+
"ie": {
59+
"type": "string",
60+
"regex": "^[0-9]{2,14}$",
61+
"required": true,
62+
"info": "Inscri\u00e7\u00e3o Estadual da entidade.",
63+
"format": ""
64+
},
65+
"cod_mun": {
66+
"type": "integer",
67+
"regex": "^[0-9]{7}$",
68+
"required": true,
69+
"info": "C\u00f3digo do munic\u00edpio do domic\u00edlio fiscal da entidade, conforme a tabela IBGE",
70+
"format": ""
71+
},
72+
"im": {
73+
"type": "string",
74+
"regex": "^[A-Za-z0-9]{1,15}$",
75+
"required": false,
76+
"info": "Inscri\u00e7\u00e3o Municipal da entidade.",
77+
"format": ""
78+
},
79+
"suframa": {
80+
"type": "string",
81+
"regex": "^[0-9]{8,9}$",
82+
"required": false,
83+
"info": "Inscri\u00e7\u00e3o da entidade na SUFRAMA",
84+
"format": ""
85+
},
86+
"ind_perfil": {
87+
"type": "string",
88+
"regex": "^(A|B|C)",
89+
"required": true,
90+
"info": "Perfil de apresenta\u00e7\u00e3o do arquivo fiscal; A \u2013 Perfil A; B \u2013 Perfil B.; C \u2013 Perfil C.",
91+
"format": ""
92+
},
93+
"ind_ativ": {
94+
"type": "integer",
95+
"regex": "^[0-1]{1}$",
96+
"required": true,
97+
"info": "Indicador de tipo de atividade: 0 \u2013 Industrial ou equiparado a industrial; 1 \u2013 Outros.",
98+
"format": ""
99+
}
100+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"ind_mov": {
3+
"type": "numeric",
4+
"regex": "^[0-1]{1}$",
5+
"required": true,
6+
"info": "Indicador de movimento: 0- Bloco com dados informados; 1- Bloco sem dados informados.",
7+
"format": ""
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"CLAS_ESTAB_IND": {
3+
"type": "numeric",
4+
"regex": "^[0-9]{2}$",
5+
"required": true,
6+
"info": "Informar a classifica\u00e7\u00e3o do estabelecimento conforme tabela 4.5.5",
7+
"format": ""
8+
}
9+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"FANTASIA": {
3+
"type": "string",
4+
"regex": "^.{3,60}$",
5+
"required": true,
6+
"info": "Nome de fantasia associado ao nome empresarial.",
7+
"format": ""
8+
},
9+
"CEP": {
10+
"type": "string",
11+
"regex": "^[0-9]{8}$",
12+
"required": true,
13+
"info": "C\u00f3digo de Endere\u00e7amento Postal.",
14+
"format": ""
15+
},
16+
"END": {
17+
"type": "string",
18+
"regex": "^.{3,60}$",
19+
"required": true,
20+
"info": "Logradouro e endere\u00e7o do im\u00f3vel.",
21+
"format": ""
22+
},
23+
"NUM": {
24+
"type": "string",
25+
"regex": "^.{1,10}$",
26+
"required": false,
27+
"info": "N\u00famero do im\u00f3vel.",
28+
"format": ""
29+
},
30+
"COMPL": {
31+
"type": "string",
32+
"regex": "^.{3,60}$",
33+
"required": false,
34+
"info": "Dados complementares do endere\u00e7o.",
35+
"format": ""
36+
},
37+
"BAIRRO": {
38+
"type": "string",
39+
"regex": "^.{3,60}$",
40+
"required": true,
41+
"info": "Bairro em que o im\u00f3vel est\u00e1 situado.",
42+
"format": ""
43+
},
44+
"FONE": {
45+
"type": "string",
46+
"regex": "^[0-9]{8,11}$",
47+
"required": false,
48+
"info": "N\u00famero do telefone (DDD+FONE).",
49+
"format": ""
50+
},
51+
"FAX": {
52+
"type": "string",
53+
"regex": "^[0-9]{8,11}$",
54+
"required": false,
55+
"info": "N\u00famero do fax.",
56+
"format": ""
57+
},
58+
"EMAIL": {
59+
"type": "string",
60+
"regex": "email",
61+
"required": false,
62+
"info": "Endere\u00e7o do correio eletr\u00f4nico.",
63+
"format": ""
64+
}
65+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"UF_ST": {
3+
"type": "string",
4+
"regex": "^[A-Z]{2}$",
5+
"required": true,
6+
"info": "Sigla da unidade da federa\u00e7\u00e3o do contribuinte substitu\u00eddo ou unidade de federa\u00e7\u00e3o do consumidor final n\u00e3o contribuinte - ICMS Destino EC 87\/15.",
7+
"format": ""
8+
},
9+
"IE_ST": {
10+
"type": "string",
11+
"regex": "^[0-9]{2,14}$",
12+
"required": true,
13+
"info": "Inscri\u00e7\u00e3o Estadual do contribuinte substituto na unidade da federa\u00e7\u00e3o do contribuinte substitu\u00eddo ou unidade de federa\u00e7\u00e3o do consumidor final n\u00e3o contribuinte - ICMS Destino EC 87\/15.",
14+
"format": ""
15+
}
16+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"NOME": {
3+
"type": "string",
4+
"regex": "^.{3,100}$",
5+
"required": true,
6+
"info": "Nome do contabilista",
7+
"format": ""
8+
},
9+
"CPF": {
10+
"type": "string",
11+
"regex": "^[0-9]{11}$",
12+
"required": true,
13+
"info": "N\u00famero de inscri\u00e7\u00e3o do contabilista no CPF",
14+
"format": ""
15+
},
16+
"CRC": {
17+
"type": "string",
18+
"regex": "^.{8,15}$",
19+
"required": true,
20+
"info": "N\u00famero de inscri\u00e7\u00e3o do contabilista no Conselho Regional de Contabilidade",
21+
"format": ""
22+
},
23+
"CNPJ": {
24+
"type": "string",
25+
"regex": "^[0-9]{14}$",
26+
"required": false,
27+
"info": "N\u00famero de inscri\u00e7\u00e3o do escrit\u00f3rio de contabilidade no CNPJ, se houver.",
28+
"format": ""
29+
},
30+
"CEP": {
31+
"type": "string",
32+
"regex": "^[0-9]{8}$",
33+
"required": false,
34+
"info": "C\u00f3digo de Endere\u00e7amento Posta.l",
35+
"format": ""
36+
},
37+
"END": {
38+
"type": "string",
39+
"regex": "^.{3,60}$",
40+
"required": false,
41+
"info": "Logradouro e endere\u00e7o do im\u00f3vel.",
42+
"format": ""
43+
},
44+
"NUM": {
45+
"type": "string",
46+
"regex": "^.{1,10}$",
47+
"required": false,
48+
"info": "N\u00famero do im\u00f3vel.",
49+
"format": ""
50+
},
51+
"COMPL": {
52+
"type": "string",
53+
"regex": "^.{1,60}$",
54+
"required": false,
55+
"info": "Dados complementares do endere\u00e7o.",
56+
"format": ""
57+
},
58+
"BAIRRO": {
59+
"type": "string",
60+
"regex": "^.{3,60}$",
61+
"required": false,
62+
"info": "Bairro em que o im\u00f3vel est\u00e1 situado.",
63+
"format": ""
64+
},
65+
"FONE": {
66+
"type": "string",
67+
"regex": "^[0-9]{8,11}$",
68+
"required": false,
69+
"info": "N\u00famero do telefone (DDD+FONE).",
70+
"format": ""
71+
},
72+
"FAX": {
73+
"type": "string",
74+
"regex": "^[0-9]{8,11}$",
75+
"required": false,
76+
"info": "N\u00famero do fax.",
77+
"format": ""
78+
},
79+
"EMAIL": {
80+
"type": "string",
81+
"regex": "email",
82+
"required": true,
83+
"info": "Endere\u00e7o do correio eletr\u00f4nico.",
84+
"format": ""
85+
},
86+
"COD_MUN": {
87+
"type": "integer",
88+
"regex": "^[0-9]{7}$",
89+
"required": true,
90+
"info": "C\u00f3digo do munic\u00edpio, conforme tabela IBGE.",
91+
"format": ""
92+
}
93+
}

0 commit comments

Comments
 (0)