{ "file": "RINCAO.FDB", "size_mb": 876.5, "mode": "READ_ONLY", "firebird_server_version": "WI-V6.3.9.27139 Firebird 2.5", "ods": "11.2", "tables": 345, "schema_fingerprint": "80565949a814b0e799956af8044b76bd6b22075175a0a0564f4d34f0b171e70b", "C000004_present": true, "C000025_present": true, "company": { "status": "UNAVAILABLE", "error": "company context unavailable or ambiguous (3 distinct UF/CRT rows in C000004)", "OPTANTE_SIMPLES": "S", "OPTANTE_SUPER_SIMPLES": "N", "SUBSTITUTO_TRIBUTARIO": "N", "CONTRIBUINTE_IPI": "N", "ICMS_CSOSN": "102", "name": "RINCAO GAUCHO", "rows": 3, "rows_summary": [ [ "000001", "BA", "1" ], [ "000005", "SP", null ], [ "000007", "BA", null ] ], "filial_name_first_row": "RESTAURANTE E PIZZARIA TURIZZI LTDA - ME", "emissor_crt": [ "3" ] }, "table_rows": { "MESAS": 701, "R000002": 14, "RECEITA_INGREDIENTES": 0, "DELIVERY_M": 0, "C000051": 0, "NFCE": 173526, "NFCE_ITENS": 224355, "C000032": 1586249, "C000062": 548, "C000088": 0, "C000100": 895, "C000030": 590, "C000061": 278 }, "C000025_columns": 191, "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, 7, 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": 894, "fiscal_field_population": { "CLASSIFICACAO_FISCAL": 894, "CFOP_ENTRADA": 3, "CST_ENTRADA": 3, "CFOP": 894, "CST": 894, "ALIQUOTA": 891, "CEST": 640, "SITUACAO_TRIBUTARIA": 893, "COD_ENTRADA_COFINS": 1, "COD_SAIDA_COFINS": 78, "ALIQ_COFINS": 1, "COD_ENTRADA_PIS": 1, "COD_SAIDA_PIS": 78, "ALIQ_PIS": 1, "CSOSN": 885, "IPI": 0, "CST_IPI": 0, "IAT": 894, "INCIDENCIA_PISCOFINS": 894, "PISCOFINS": 894, "IPPT": 894, "COD_ORIGEM_MERCADORIA": 0 }, "fiscal_field_distribution": { "CLASSIFICACAO_FISCAL": { "distinct": 22, "top": [ [ "21069090", 234 ], [ "22030000", 148 ], [ "17041000", 109 ], [ "21050090", 108 ], [ "22082000", 76 ], [ "18063210", 53 ], [ "16042090", 50 ], [ "19022000", 35 ] ] }, "CFOP_ENTRADA": { "distinct": 3, "top": [ [ null, 891 ], [ "5102", 2 ], [ "1102", 1 ] ] }, "CST_ENTRADA": { "distinct": 3, "top": [ [ null, 891 ], [ "040", 2 ], [ "0", 1 ] ] }, "CFOP": { "distinct": 4, "top": [ [ "5102", 666 ], [ "5405", 226 ], [ "5202", 1 ], [ "1556", 1 ] ] }, "CST": { "distinct": 5, "top": [ [ "000", 584 ], [ "060", 226 ], [ "040", 82 ], [ "120", 1 ], [ "090", 1 ] ] }, "ALIQUOTA": { "distinct": 6, "top": [ [ "20.5", 668 ], [ "0", 215 ], [ "20.05", 4 ], [ "17", 3 ], [ null, 3 ], [ "21.5", 1 ] ] }, "CEST": { "distinct": 16, "top": [ [ "1709700", 290 ], [ null, 249 ], [ "0302100", 116 ], [ "1708000", 53 ], [ "2300100", 51 ], [ "0200600", 42 ], [ "1704802", 24 ], [ "2806200", 22 ] ] }, "SITUACAO_TRIBUTARIA": { "distinct": 2, "top": [ [ "T", 893 ], [ null, 1 ] ] }, "COD_ENTRADA_COFINS": { "distinct": 2, "top": [ [ null, 893 ], [ "000", 1 ] ] }, "COD_SAIDA_COFINS": { "distinct": 2, "top": [ [ null, 816 ], [ "4", 78 ] ] }, "ALIQ_COFINS": { "distinct": 2, "top": [ [ null, 893 ], [ "3", 1 ] ] }, "COD_ENTRADA_PIS": { "distinct": 2, "top": [ [ null, 893 ], [ "049", 1 ] ] }, "COD_SAIDA_PIS": { "distinct": 3, "top": [ [ null, 815 ], [ "4", 78 ], [ "", 1 ] ] }, "ALIQ_PIS": { "distinct": 2, "top": [ [ null, 893 ], [ "0.65", 1 ] ] }, "CSOSN": { "distinct": 5, "top": [ [ "102", 440 ], [ "500", 240 ], [ "101", 204 ], [ "", 9 ], [ "900", 1 ] ] }, "IPI": { "distinct": 1, "top": [ [ null, 894 ] ] }, "CST_IPI": { "distinct": 1, "top": [ [ null, 894 ] ] }, "IAT": { "distinct": 1, "top": [ [ "A", 894 ] ] }, "INCIDENCIA_PISCOFINS": { "distinct": 1, "top": [ [ "NENHUMA", 894 ] ] }, "PISCOFINS": { "distinct": 1, "top": [ [ "N", 894 ] ] }, "IPPT": { "distinct": 1, "top": [ [ "T", 894 ] ] }, "COD_ORIGEM_MERCADORIA": { "distinct": 1, "top": [ [ null, 894 ] ] } }, "kitchen_products": 223, "vehicle_products": 0, "grade_tables": {}, "segment_inferred": { "segment": "RESTAURANT", "score": { "RESTAURANT": 4, "AUTO_REPAIR": 0, "APPAREL": 0, "RETAIL_MARKET": 0, "CONSTRUCTION": 0 }, "evidence": [ "company name in C000004 contains RESTAURANTE (weak, name is data, not the file name)", "mesas/comandas rows=715", "PROD_COZINHA products=223" ], "signals": { "restaurant_tables_rows": 715, "kitchen_products": 223, "recipes": 0, "service_orders": 0, "vehicle_products": 0, "grade_items": 0, "nfce_items": 224355 }, "note": "inferred from table population, not from the file name" }, "type_variations_vs_reference": {}, "schema_class": "COMPATIBLE_WITH_VARIATIONS" }