669 lines
8.0 KiB
JSON
669 lines
8.0 KiB
JSON
{
|
|
"file": "UNIAO.FDB",
|
|
"size_mb": 484.1,
|
|
"mode": "READ_ONLY",
|
|
"firebird_server_version": "WI-V6.3.9.27139 Firebird 2.5",
|
|
"ods": "11.2",
|
|
"tables": 337,
|
|
"schema_fingerprint": "36ed9ffd6fd843955167f2ef389588f4fa184b187ae94a887b50da9ad790150a",
|
|
"C000004_present": true,
|
|
"C000025_present": true,
|
|
"company": {
|
|
"status": "OK",
|
|
"uf": "BA",
|
|
"crt": "3",
|
|
"OPTANTE_SIMPLES": "S",
|
|
"OPTANTE_SUPER_SIMPLES": "N",
|
|
"SUBSTITUTO_TRIBUTARIO": "N",
|
|
"CONTRIBUINTE_IPI": "N",
|
|
"ICMS_CSOSN": "102",
|
|
"name": "MERCADO UNIAO",
|
|
"rows": 1,
|
|
"rows_summary": [
|
|
[
|
|
"000001",
|
|
"BA",
|
|
"3"
|
|
]
|
|
],
|
|
"filial_name_first_row": "GELSON NEVES DA SILVA",
|
|
"emissor_crt": [
|
|
"1"
|
|
]
|
|
},
|
|
"table_rows": {
|
|
"MESAS": 0,
|
|
"R000002": 1,
|
|
"RECEITA_INGREDIENTES": 0,
|
|
"DELIVERY_M": 0,
|
|
"C000051": 0,
|
|
"NFCE": 48872,
|
|
"NFCE_ITENS": 121266,
|
|
"C000032": 1582133,
|
|
"C000062": 1170,
|
|
"C000088": 0,
|
|
"C000100": 8942,
|
|
"C000030": 590,
|
|
"C000061": 82
|
|
},
|
|
"C000025_columns": 190,
|
|
"field_types": {
|
|
"CLASSIFICACAO_FISCAL": [
|
|
37,
|
|
20,
|
|
0
|
|
],
|
|
"CFOP_ENTRADA": [
|
|
14,
|
|
4,
|
|
0
|
|
],
|
|
"CST_ENTRADA": [
|
|
14,
|
|
4,
|
|
0
|
|
],
|
|
"CFOP": [
|
|
37,
|
|
4,
|
|
0
|
|
],
|
|
"CST": [
|
|
37,
|
|
10,
|
|
0
|
|
],
|
|
"ALIQUOTA": [
|
|
16,
|
|
8,
|
|
-2
|
|
],
|
|
"CEST": [
|
|
37,
|
|
10,
|
|
0
|
|
],
|
|
"SITUACAO_TRIBUTARIA": [
|
|
37,
|
|
2,
|
|
0
|
|
],
|
|
"COD_ENTRADA_COFINS": [
|
|
37,
|
|
3,
|
|
0
|
|
],
|
|
"COD_SAIDA_COFINS": [
|
|
37,
|
|
3,
|
|
0
|
|
],
|
|
"ALIQ_COFINS": [
|
|
37,
|
|
8,
|
|
0
|
|
],
|
|
"COD_ENTRADA_PIS": [
|
|
37,
|
|
3,
|
|
0
|
|
],
|
|
"COD_SAIDA_PIS": [
|
|
37,
|
|
3,
|
|
0
|
|
],
|
|
"ALIQ_PIS": [
|
|
37,
|
|
8,
|
|
0
|
|
],
|
|
"CSOSN": [
|
|
37,
|
|
60,
|
|
0
|
|
],
|
|
"IPI": [
|
|
27,
|
|
8,
|
|
-2
|
|
],
|
|
"CST_IPI": [
|
|
14,
|
|
3,
|
|
0
|
|
],
|
|
"IAT": [
|
|
37,
|
|
1,
|
|
0
|
|
],
|
|
"INCIDENCIA_PISCOFINS": [
|
|
37,
|
|
30,
|
|
0
|
|
],
|
|
"PISCOFINS": [
|
|
37,
|
|
1,
|
|
0
|
|
],
|
|
"IPPT": [
|
|
37,
|
|
1,
|
|
0
|
|
],
|
|
"COD_ORIGEM_MERCADORIA": [
|
|
8,
|
|
4,
|
|
0
|
|
]
|
|
},
|
|
"capabilities": {
|
|
"supports_ncm": true,
|
|
"supports_cfop_entry": true,
|
|
"supports_cfop_exit": true,
|
|
"supports_cst_entry": true,
|
|
"supports_cst_exit": true,
|
|
"supports_icms_rate": true,
|
|
"supports_cest": true,
|
|
"supports_csosn": true,
|
|
"supports_ipi": true,
|
|
"supports_pis": true,
|
|
"supports_cofins": true,
|
|
"supports_origin": true,
|
|
"supports_iat": true,
|
|
"supports_incidence": true,
|
|
"supports_ippt": true
|
|
},
|
|
"field_compatibility": {
|
|
"CLASSIFICACAO_FISCAL": "PRESENT_OK",
|
|
"CFOP_ENTRADA": "PRESENT_OK",
|
|
"CST_ENTRADA": "PRESENT_OK",
|
|
"CFOP": "PRESENT_OK",
|
|
"CST": "PRESENT_OK",
|
|
"ALIQUOTA": "PRESENT_OK",
|
|
"CEST": "PRESENT_OK",
|
|
"SITUACAO_TRIBUTARIA": "PRESENT_OK",
|
|
"COD_ENTRADA_COFINS": "PRESENT_OK",
|
|
"COD_SAIDA_COFINS": "PRESENT_OK",
|
|
"ALIQ_COFINS": "PRESENT_OK",
|
|
"COD_ENTRADA_PIS": "PRESENT_OK",
|
|
"COD_SAIDA_PIS": "PRESENT_OK",
|
|
"ALIQ_PIS": "PRESENT_OK",
|
|
"CSOSN": "PRESENT_OK",
|
|
"IPI": "PRESENT_OK",
|
|
"CST_IPI": "PRESENT_OK",
|
|
"IAT": "PRESENT_OK",
|
|
"INCIDENCIA_PISCOFINS": "PRESENT_OK",
|
|
"PISCOFINS": "PRESENT_OK",
|
|
"IPPT": "PRESENT_OK",
|
|
"COD_ORIGEM_MERCADORIA": "PRESENT_OK"
|
|
},
|
|
"product_count": 8942,
|
|
"fiscal_field_population": {
|
|
"CLASSIFICACAO_FISCAL": 8942,
|
|
"CFOP_ENTRADA": 8939,
|
|
"CST_ENTRADA": 8938,
|
|
"CFOP": 8941,
|
|
"CST": 8942,
|
|
"ALIQUOTA": 8942,
|
|
"CEST": 7708,
|
|
"SITUACAO_TRIBUTARIA": 8914,
|
|
"COD_ENTRADA_COFINS": 1,
|
|
"COD_SAIDA_COFINS": 1,
|
|
"ALIQ_COFINS": 0,
|
|
"COD_ENTRADA_PIS": 0,
|
|
"COD_SAIDA_PIS": 0,
|
|
"ALIQ_PIS": 0,
|
|
"CSOSN": 8939,
|
|
"IPI": 1,
|
|
"CST_IPI": 0,
|
|
"IAT": 8942,
|
|
"INCIDENCIA_PISCOFINS": 8942,
|
|
"PISCOFINS": 8942,
|
|
"IPPT": 8942,
|
|
"COD_ORIGEM_MERCADORIA": 6
|
|
},
|
|
"fiscal_field_distribution": {
|
|
"CLASSIFICACAO_FISCAL": {
|
|
"distinct": 734,
|
|
"top": [
|
|
[
|
|
"33059000",
|
|
1064
|
|
],
|
|
[
|
|
"19053100",
|
|
406
|
|
],
|
|
[
|
|
"39241000",
|
|
319
|
|
],
|
|
[
|
|
"33051000",
|
|
291
|
|
],
|
|
[
|
|
"39249000",
|
|
193
|
|
],
|
|
[
|
|
"96190000",
|
|
181
|
|
],
|
|
[
|
|
"76151000",
|
|
176
|
|
],
|
|
[
|
|
"34011190",
|
|
173
|
|
]
|
|
]
|
|
},
|
|
"CFOP_ENTRADA": {
|
|
"distinct": 35,
|
|
"top": [
|
|
[
|
|
"1102",
|
|
6685
|
|
],
|
|
[
|
|
"1403",
|
|
1820
|
|
],
|
|
[
|
|
"5102",
|
|
140
|
|
],
|
|
[
|
|
"2202",
|
|
111
|
|
],
|
|
[
|
|
"2101",
|
|
66
|
|
],
|
|
[
|
|
"2402",
|
|
23
|
|
],
|
|
[
|
|
"2403",
|
|
22
|
|
],
|
|
[
|
|
"2102",
|
|
18
|
|
]
|
|
]
|
|
},
|
|
"CST_ENTRADA": {
|
|
"distinct": 28,
|
|
"top": [
|
|
[
|
|
"020",
|
|
6588
|
|
],
|
|
[
|
|
"060",
|
|
1766
|
|
],
|
|
[
|
|
"000",
|
|
135
|
|
],
|
|
[
|
|
"010",
|
|
122
|
|
],
|
|
[
|
|
"520",
|
|
102
|
|
],
|
|
[
|
|
"040",
|
|
39
|
|
],
|
|
[
|
|
"560",
|
|
39
|
|
],
|
|
[
|
|
"110",
|
|
36
|
|
]
|
|
]
|
|
},
|
|
"CFOP": {
|
|
"distinct": 5,
|
|
"top": [
|
|
[
|
|
"5102",
|
|
6837
|
|
],
|
|
[
|
|
"5405",
|
|
2102
|
|
],
|
|
[
|
|
null,
|
|
1
|
|
],
|
|
[
|
|
"5411",
|
|
1
|
|
],
|
|
[
|
|
"5403",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"CST": {
|
|
"distinct": 5,
|
|
"top": [
|
|
[
|
|
"040",
|
|
6791
|
|
],
|
|
[
|
|
"060",
|
|
2104
|
|
],
|
|
[
|
|
"000",
|
|
44
|
|
],
|
|
[
|
|
"051",
|
|
2
|
|
],
|
|
[
|
|
"40",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"ALIQUOTA": {
|
|
"distinct": 4,
|
|
"top": [
|
|
[
|
|
"20.5",
|
|
8935
|
|
],
|
|
[
|
|
"0",
|
|
5
|
|
],
|
|
[
|
|
"17",
|
|
1
|
|
],
|
|
[
|
|
"20",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"CEST": {
|
|
"distinct": 382,
|
|
"top": [
|
|
[
|
|
null,
|
|
1126
|
|
],
|
|
[
|
|
"2002000",
|
|
796
|
|
],
|
|
[
|
|
"2806100",
|
|
534
|
|
],
|
|
[
|
|
"1705300",
|
|
404
|
|
],
|
|
[
|
|
"2806300",
|
|
262
|
|
],
|
|
[
|
|
"1400600",
|
|
247
|
|
],
|
|
[
|
|
"2001700",
|
|
225
|
|
],
|
|
[
|
|
"1400100",
|
|
201
|
|
]
|
|
]
|
|
},
|
|
"SITUACAO_TRIBUTARIA": {
|
|
"distinct": 2,
|
|
"top": [
|
|
[
|
|
"T",
|
|
8914
|
|
],
|
|
[
|
|
null,
|
|
28
|
|
]
|
|
]
|
|
},
|
|
"COD_ENTRADA_COFINS": {
|
|
"distinct": 2,
|
|
"top": [
|
|
[
|
|
null,
|
|
8941
|
|
],
|
|
[
|
|
"000",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"COD_SAIDA_COFINS": {
|
|
"distinct": 2,
|
|
"top": [
|
|
[
|
|
null,
|
|
8941
|
|
],
|
|
[
|
|
"060",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"ALIQ_COFINS": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
null,
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"COD_ENTRADA_PIS": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
null,
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"COD_SAIDA_PIS": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
null,
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"ALIQ_PIS": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
null,
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"CSOSN": {
|
|
"distinct": 5,
|
|
"top": [
|
|
[
|
|
"102",
|
|
6786
|
|
],
|
|
[
|
|
"500",
|
|
2097
|
|
],
|
|
[
|
|
"101",
|
|
56
|
|
],
|
|
[
|
|
null,
|
|
2
|
|
],
|
|
[
|
|
"",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"IPI": {
|
|
"distinct": 2,
|
|
"top": [
|
|
[
|
|
null,
|
|
8941
|
|
],
|
|
[
|
|
"0.0",
|
|
1
|
|
]
|
|
]
|
|
},
|
|
"CST_IPI": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
null,
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"IAT": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
"A",
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"INCIDENCIA_PISCOFINS": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
"NENHUMA",
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"PISCOFINS": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
"N",
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"IPPT": {
|
|
"distinct": 1,
|
|
"top": [
|
|
[
|
|
"T",
|
|
8942
|
|
]
|
|
]
|
|
},
|
|
"COD_ORIGEM_MERCADORIA": {
|
|
"distinct": 4,
|
|
"top": [
|
|
[
|
|
null,
|
|
8936
|
|
],
|
|
[
|
|
"1",
|
|
3
|
|
],
|
|
[
|
|
"0",
|
|
2
|
|
],
|
|
[
|
|
"2",
|
|
1
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"kitchen_products": 0,
|
|
"vehicle_products": 0,
|
|
"grade_tables": {},
|
|
"segment_inferred": {
|
|
"segment": "RETAIL_MARKET",
|
|
"score": {
|
|
"RESTAURANT": 0,
|
|
"AUTO_REPAIR": 0,
|
|
"APPAREL": 0,
|
|
"RETAIL_MARKET": 1,
|
|
"CONSTRUCTION": 0
|
|
},
|
|
"evidence": [
|
|
"company name in C000004 contains MERCADO (weak, name is data, not the file name)"
|
|
],
|
|
"signals": {
|
|
"restaurant_tables_rows": 1,
|
|
"kitchen_products": 0,
|
|
"recipes": 0,
|
|
"service_orders": 0,
|
|
"vehicle_products": 0,
|
|
"grade_items": 0,
|
|
"nfce_items": 121266
|
|
},
|
|
"note": "inferred from table population, not from the file name"
|
|
},
|
|
"type_variations_vs_reference": {
|
|
"CEST": {
|
|
"reference": [
|
|
37,
|
|
7,
|
|
0
|
|
],
|
|
"this": [
|
|
37,
|
|
10,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"schema_class": "COMPATIBLE_WITH_VARIATIONS"
|
|
} |