{
    "ends": [
        {
            "id": "4de55ca3c37c499ab064e47faadea3fa",
            "col": 10.0,
            "row": 12.0,
            "housing": "SceneEnd",
            "box_type": "EndBox",
            "next_obj_id": "",
            "save_on_end": false,
            "displayed_name": "Koniec",
            "scene_obj_type": "SceneEnd"
        }
    ],
    "arrows": [
        {
            "nop": 2,
            "base_id": "695cc53316b0436f9fef1336efad270a",
            "head_id": "cac1851a200743f5aa56b514e76fe032",
            "base_place": "bottom",
            "head_place": "top",
            "mid_points": []
        },
        {
            "nop": 2,
            "base_id": "e87103ac6ba947d384dbccda397cba2e",
            "head_id": "695cc53316b0436f9fef1336efad270a",
            "base_place": "bottom",
            "head_place": "top",
            "mid_points": []
        },
        {
            "nop": 2,
            "base_id": "d393710dbb8046f1af2717aba841dc71",
            "head_id": "fe8625cbce9f49e497ea6224df93e4f6",
            "base_place": "bottom",
            "head_place": "top",
            "mid_points": []
        },
        {
            "nop": 2,
            "base_id": "d393710dbb8046f1af2717aba841dc71",
            "head_id": "4de55ca3c37c499ab064e47faadea3fa",
            "base_place": "right",
            "head_place": "left",
            "mid_points": []
        },
        {
            "nop": 2,
            "base_id": "cac1851a200743f5aa56b514e76fe032",
            "head_id": "d393710dbb8046f1af2717aba841dc71",
            "base_place": "bottom",
            "head_place": "top",
            "mid_points": []
        },
        {
            "nop": 4,
            "base_id": "fe8625cbce9f49e497ea6224df93e4f6",
            "head_id": "d393710dbb8046f1af2717aba841dc71",
            "base_place": "left",
            "head_place": "left",
            "mid_points": [
                {
                    "col": 1.0,
                    "row": 16.0,
                    "role": "midi",
                    "hook_is_on": "left"
                },
                {
                    "col": 1.0,
                    "row": 12.0,
                    "role": "midi",
                    "hook_is_on": "top"
                }
            ]
        }
    ],
    "merges": [],
    "if_boxes": [],
    "variables": [
        {
            "id": "0d0beb95e51b4895adbce70eedae107e",
            "name": "sciezkaPlikuKonfiguracji",
            "value": "%TEMP%\\Botie\\dane.json",
            "group_id": "gid_current",
            "template": "",
            "catch_exit": null,
            "type_set_name": "basic"
        },
        {
            "id": "da40ab82de4d496ab0cdb2860b2a3b82",
            "name": "daneJSON",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "cbc4ec1304d94ccfba4e36a960470a5b",
            "name": "sciezkaPrzetwarzaniaDanych",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "46a7f36e52c14405a3ce91eb242e923d",
            "name": "folderZalacznikow",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "b59abd99b13c4b0288d89ea3ef2f8d03",
            "name": "katalogZalaczniki",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "fc32858c0dfd42d3b6be9bc1f43763ed",
            "name": "rodzajZakupu",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "b01d2266f2704b75a95bb811e5971d9e",
            "name": "textJSON",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "9b8aa2e10dd64a90a5dccf5311a45d50",
            "name": "kategoriaFaktury",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "40bc512c40f44799826aeb9df5fd789a",
            "name": "fakturyDoPrzyjecia",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "28a0ab9e3bb546a692823f3a6b6f7462",
            "name": "plikiDoSprawdzenia",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "e5aebb8d340545b084f0cc25544336cd",
            "name": "szablonKsiegowania",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "094b7685ce1c45f19104eb983c5694dd",
            "name": "instrukcjeAI",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "b1f341ab9c604aa9aa713aed7346191f",
            "name": "DaneMapowania",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "3ea308c5035e4b67aa89d296435c77e8",
            "name": "sciezkaPlikowDodatkowych",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "042c397103e1444fb45142a54139276e",
            "name": "sciezkaDoInstrukcjiAI",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "d1e2e7ddeef942e6834c73c62143f6e3",
            "name": "instrukcjaRodzajZakupu",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "6441d08e80f843369632e3e3f18ac9f0",
            "name": "instrukcjaKategoriaFaktury",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "6e240782601d42b9869ac000b3782c6c",
            "name": "instrukcjaSzablonKsiegowania",
            "value": "",
            "group_id": "gid_actions",
            "template": "",
            "catch_exit": true,
            "type_set_name": "basic"
        },
        {
            "id": "37e753a7dafa4555a7852077eb8c9863",
            "name": "Ekstraktor1",
            "value": {
                "index": 0,
                "file_name": "",
                "file_path": ""
            },
            "group_id": "gid_extractors",
            "template": "",
            "catch_exit": null,
            "type_set_name": "extractors"
        }
    ],
    "extractors": [
        {
            "id": "d393710dbb8046f1af2717aba841dc71",
            "col": 5.0,
            "row": 12.0,
            "housing": "SceneExtractor",
            "box_type": "ExtractorBox",
            "run_type": "full",
            "skip_mode": "skip_off",
            "data_range": "all_data",
            "files_root": {
                "variable": [
                    "40bc512c40f44799826aeb9df5fd789a"
                ],
                "active_type": "variable",
                "path_extractor": null
            },
            "record_end": "",
            "next_obj_id": "4de55ca3c37c499ab064e47faadea3fa",
            "source_type": "files",
            "record_start": "",
            "files_cb_base": false,
            "files_cb_name": true,
            "files_cb_path": true,
            "files_cb_size": false,
            "files_cb_type": false,
            "files_walk_in": "no",
            "displayed_name": "Ekstraktor1",
            "scene_obj_type": "SceneExtractor",
            "files_cb_created": false,
            "files_extensions": "json",
            "extractor_true_id": "fe8625cbce9f49e497ea6224df93e4f6",
            "files_cb_modified": false,
            "extractor_false_id": "4de55ca3c37c499ab064e47faadea3fa"
        }
    ],
    "var_groups": [
        {
            "id": "gid_current",
            "button": "",
            "type_set": "basic",
            "long_term": false,
            "custom_hint": null,
            "custom_name": null,
            "add_checkbox": true
        },
        {
            "id": "gid_actions",
            "button": "save_to_var",
            "type_set": "basic",
            "long_term": false,
            "custom_hint": null,
            "custom_name": null,
            "add_checkbox": true
        },
        {
            "id": "gid_webhunter",
            "button": "expand_down",
            "type_set": "webhunter",
            "long_term": false,
            "custom_hint": null,
            "custom_name": null,
            "add_checkbox": true
        },
        {
            "id": "gid_extractors",
            "button": "expand_down",
            "type_set": "extractors",
            "long_term": false,
            "custom_hint": null,
            "custom_name": null,
            "add_checkbox": false
        }
    ],
    "action_boxes": [
        {
            "id": "cac1851a200743f5aa56b514e76fe032",
            "col": 5.0,
            "row": 8.0,
            "skip": false,
            "actions": [
                {
                    "id": "b06cdf94d47e43df9a83fa2f89752933",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "katalogZalaczniki",
                        "message": ""
                    },
                    "action_type": "ActionJoinTexts",
                    "config_params": {
                        "text1": {
                            "text": "",
                            "variable": [
                                "cbc4ec1304d94ccfba4e36a960470a5b"
                            ],
                            "active_type": "variable"
                        },
                        "text2": {
                            "text": "",
                            "variable": [
                                "46a7f36e52c14405a3ce91eb242e923d"
                            ],
                            "active_type": "variable"
                        },
                        "separator": {
                            "text": "\\",
                            "variable": null,
                            "active_type": "text"
                        },
                        "ajt_result_var": {
                            "_text": null,
                            "variable": null,
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "tworzy \u015bcie\u017ck\u0119 katalogZalacznikow"
                },
                {
                    "id": "29fd32427dcc4c92b41855a4c216cece",
                    "skip": true,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "fakturyDoPrzyjecia",
                        "message": ""
                    },
                    "action_type": "ActionCreateDir",
                    "config_params": {
                        "directory": {
                            "path": "",
                            "variable": [
                                "b59abd99b13c4b0288d89ea3ef2f8d03"
                            ],
                            "active_type": "variable"
                        },
                        "acd_catalog_name": {
                            "text": "fakturyDoPrzyjecia",
                            "variable": null,
                            "active_type": "text"
                        }
                    },
                    "displayed_name": "tworzy FakturyDoPrzyjecia"
                },
                {
                    "id": "81d895426e1e4d918e1f4e1b2b4b7d5e",
                    "skip": true,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "plikiDoSprawdzenia",
                        "message": ""
                    },
                    "action_type": "ActionCreateDir",
                    "config_params": {
                        "directory": {
                            "path": "",
                            "variable": [
                                "b59abd99b13c4b0288d89ea3ef2f8d03"
                            ],
                            "active_type": "variable"
                        },
                        "acd_catalog_name": {
                            "text": "plikiDoSprawdzenia",
                            "variable": null,
                            "active_type": "text"
                        }
                    },
                    "displayed_name": "tworzyDoSprawdzenia"
                },
                {
                    "id": "acb61498fe3943d8baa4460f6abdcf5b",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "fakturyDoPrzyjecia",
                        "message": ""
                    },
                    "action_type": "ActionJoinTexts",
                    "config_params": {
                        "text1": {
                            "text": "",
                            "variable": [
                                "b59abd99b13c4b0288d89ea3ef2f8d03"
                            ],
                            "active_type": "variable"
                        },
                        "text2": {
                            "text": "fakturyDoPrzyjecia",
                            "variable": null,
                            "active_type": "text"
                        },
                        "separator": {
                            "text": "\\",
                            "variable": null,
                            "active_type": "text"
                        },
                        "ajt_result_var": {
                            "_text": null,
                            "variable": null,
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "\u015bcie\u017cka do FakturyDoPrzyjecia"
                },
                {
                    "id": "8d8282a3f0f6422d9681bdc5ffe5e297",
                    "skip": true,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "plikiDoSprawdzenia",
                        "message": ""
                    },
                    "action_type": "ActionJoinTexts",
                    "config_params": {
                        "text1": {
                            "text": "",
                            "variable": [
                                "b59abd99b13c4b0288d89ea3ef2f8d03"
                            ],
                            "active_type": "variable"
                        },
                        "text2": {
                            "text": "plikiDoSprawdzenia",
                            "variable": null,
                            "active_type": "text"
                        },
                        "separator": {
                            "text": "\\",
                            "variable": null,
                            "active_type": "text"
                        },
                        "ajt_result_var": {
                            "_text": null,
                            "variable": null,
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "\u015bcie\u017cka do PlikiDoSprawdzenia"
                }
            ],
            "housing": "SceneSequence",
            "box_type": "ActionBox",
            "next_obj_id": "d393710dbb8046f1af2717aba841dc71",
            "displayed_name": "tworzy \u015bcie\u017ck\u0119 do katalogu z JSON ",
            "scene_obj_type": "SceneSequence"
        },
        {
            "id": "695cc53316b0436f9fef1336efad270a",
            "col": 5.0,
            "row": 5.0,
            "skip": false,
            "actions": [
                {
                    "id": "94d64123572e436281de725f14f4b4e4",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "daneJSON",
                        "message": ""
                    },
                    "action_type": "ActionLoadJsonFromFile",
                    "config_params": {
                        "aljf_encoding": "utf-8",
                        "aljf_file_path": {
                            "file": "",
                            "variable": [
                                "0d0beb95e51b4895adbce70eedae107e"
                            ],
                            "active_type": "variable"
                        },
                        "aljf_file_type": "json",
                        "aljf_own_headers": [
                            {
                                "text": "",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aljf_contain_headers": true
                    },
                    "displayed_name": "wczytuje JSON"
                },
                {
                    "id": "008556c778954f289a389db0c6949d40",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "sciezkaPrzetwarzaniaDanych",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "sciezkaPrzetwarzaniaDanych",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "da40ab82de4d496ab0cdb2860b2a3b82"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia sciezkaPrzetwarzaniaDanych"
                },
                {
                    "id": "dd27617884b645ea8dad7ea1e220941a",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "folderZalacznikow",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "folderZalacznikow",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "da40ab82de4d496ab0cdb2860b2a3b82"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia folderZalacznikow"
                },
                {
                    "id": "9235573933e5493187e7a1b46946dd86",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "DaneMapowania",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "mapowanie",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "da40ab82de4d496ab0cdb2860b2a3b82"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia Dane Mapowania"
                },
                {
                    "id": "415c85fa9a7f405a9480ebf3270292a9",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "sciezkaPlikowDodatkowych",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "sciezkaPlikowDodatkowych",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "da40ab82de4d496ab0cdb2860b2a3b82"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia scie\u017ckaPlik\u00f3w Dodatkowych"
                },
                {
                    "id": "af40f7a8c57d4a65bfef0a3faffa103f",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "sciezkaDoInstrukcjiAI",
                        "message": ""
                    },
                    "action_type": "ActionJoinTexts",
                    "config_params": {
                        "text1": {
                            "text": "",
                            "variable": [
                                "3ea308c5035e4b67aa89d296435c77e8"
                            ],
                            "active_type": "variable"
                        },
                        "text2": {
                            "text": "06_klasyfikacja.xlsx",
                            "variable": null,
                            "active_type": "text"
                        },
                        "separator": {
                            "text": "\\",
                            "variable": null,
                            "active_type": "text"
                        },
                        "ajt_result_var": {
                            "_text": null,
                            "variable": null,
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "buduje \u015bcie\u017ck\u0119 do pliku excel z instrukcj\u0105 AI"
                },
                {
                    "id": "e044d20e679f4d77b6c29aafcbe7f9be",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "instrukcjeAI",
                        "message": ""
                    },
                    "action_type": "ActionLoadJsonFromFile",
                    "config_params": {
                        "aljf_encoding": "utf-8",
                        "aljf_file_path": {
                            "file": "",
                            "variable": [
                                "042c397103e1444fb45142a54139276e"
                            ],
                            "active_type": "variable"
                        },
                        "aljf_file_type": "excel",
                        "aljf_own_headers": [
                            {
                                "text": "",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aljf_contain_headers": true
                    },
                    "displayed_name": "wczytuje JSON z excela"
                },
                {
                    "id": "d87ea5abcff245fdb92337e303f5d6a8",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "instrukcjaRodzajZakupu",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "0",
                                "variable": null,
                                "active_type": "text"
                            },
                            {
                                "text": "Instrukcja AI",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "094b7685ce1c45f19104eb983c5694dd"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia instrukcj\u0119 Rodzaj Zakupu"
                },
                {
                    "id": "e2dc37735fe74d3faf2371f1d58bb0ff",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "instrukcjaKategoriaFaktury",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "1",
                                "variable": null,
                                "active_type": "text"
                            },
                            {
                                "text": "Instrukcja AI",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "094b7685ce1c45f19104eb983c5694dd"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia instrukcj\u0119 Kategoria Faktury"
                },
                {
                    "id": "c5f7019fb04a484ab0d19244f5bd55a6",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "instrukcjaSzablonKsiegowania",
                        "message": ""
                    },
                    "action_type": "ActionExtractKey",
                    "config_params": {
                        "aek_key_name": [
                            {
                                "text": "2",
                                "variable": null,
                                "active_type": "text"
                            },
                            {
                                "text": "Instrukcja AI",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aek_json_object": {
                            "text": "",
                            "variable": [
                                "094b7685ce1c45f19104eb983c5694dd"
                            ],
                            "active_type": "variable"
                        }
                    },
                    "displayed_name": "wyodr\u0119bnia Szablon Ksi\u0119gowania"
                }
            ],
            "housing": "SceneSequence",
            "box_type": "ActionBox",
            "next_obj_id": "cac1851a200743f5aa56b514e76fe032",
            "displayed_name": "przygotowanie danych",
            "scene_obj_type": "SceneSequence"
        },
        {
            "id": "fe8625cbce9f49e497ea6224df93e4f6",
            "col": 5.0,
            "row": 16.0,
            "skip": false,
            "actions": [
                {
                    "id": "d31668cf81da4cf1a5152fcceafb24f9",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "textJSON",
                        "message": ""
                    },
                    "action_type": "ActionLoadJsonFromFile",
                    "config_params": {
                        "aljf_encoding": "utf-8",
                        "aljf_file_path": {
                            "file": "",
                            "variable": [
                                "37e753a7dafa4555a7852077eb8c9863",
                                "file_path"
                            ],
                            "active_type": "variable"
                        },
                        "aljf_file_type": "json",
                        "aljf_own_headers": [
                            {
                                "text": "",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "aljf_contain_headers": true
                    },
                    "displayed_name": "Brak nazwy"
                },
                {
                    "id": "8c8d7b454a874f5b94c4ab5c1fa7181e",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "rodzajZakupu",
                        "message": ""
                    },
                    "action_type": "ActionAiAgent",
                    "config_params": {
                        "llm_input": {
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable",
                            "long_text_popup": ""
                        },
                        "llm_model": "ChatGPT-4o mini",
                        "llm_max_tokens": {
                            "int": 10000,
                            "variable": null,
                            "active_type": "int"
                        },
                        "llm_temperature": {
                            "float": 0.2,
                            "variable": null,
                            "active_type": "float"
                        },
                        "llm_instructions": {
                            "variable": [
                                "d1e2e7ddeef942e6834c73c62143f6e3"
                            ],
                            "active_type": "variable",
                            "long_text_popup": "Zajmujesz si\u0119 analizowaniem danych z faktur zapisanych w plikach JSON. Informacje zawieraj\u0105 przede wszystkim dane sprzedawcy. W zale\u017cno\u015bci od tego, z jakiego kraju pochodzi: z Polski, z kraj\u00f3w Unii Europejskiej lub spoza Unii Europejskiej, konieczne jest wskazanie konkretnej kategorii do klucza Rodzaj_zakupu. Je\u017celi dane sprzedawcy nie s\u0105 wprost wymienione obok nabywcy, szukaj informacji o sprzedawcy r\u00f3wnie\u017c w stopce lub nag\u0142\u00f3wku dokumentu, gdzie mog\u0105 znale\u017a\u0107 si\u0119 dane kraju pochodzenia sprzedawcy.\nPrzeanalizuj wprowadzony tekst faktury zgodnie z poni\u017cszym s\u0142ownikiem JSON (podane s\u0105 nazwy kluczy):\n\nRodzaje zakupu (dla klucza rodzaj_zakupu):\n1 - Zakup krajowy (lub import towaru spoza Unii Europejskiej)\n2 - Import towar\u00f3w i materia\u0142\u00f3w z UE (wewn\u0105trzwsp\u00f3lnotowe nabycie towar\u00f3w)\n3 - Import towar\u00f3w i materia\u0142\u00f3w spoza Unii Europejskiej (import zgodnie z art. 33a)\n4 - Import us\u0142ug od podatnik\u00f3w VAT z Unii Europejskiej (import zgodnie z art. 28b)\n5 - Import us\u0142ug od pozosta\u0142ych dostawc\u00f3w (import zgodnie z art. 28b)\n6 - Nabycie towar\u00f3w lub us\u0142ug gdy podatnikiem jest nabywca (odwrotne obci\u0105\u017cenie) - gdy sprzedaj\u0105cy nie posiada siedziby w kraju nabywcy (art. 17 ust 1, pkt. 5)\n7 -  Nabycie towar\u00f3w lub us\u0142ug gdy podatnikiem jest nabywca (odwrotne obci\u0105\u017cenie) - towary wra\u017cliwe (art. 17 ust 1, pkt. 7 lub 8)\n8 - Import \u015brodk\u00f3w transportu z UE (wewn\u0105trzwsp\u00f3lnotowe nabycie \u015brodk\u00f3w transportu)\n\nPami\u0119taj, \u017ce Sydney i Australia, San Francisco CA US znajduj\u0105 si\u0119 poza Uni\u0105 Europejsk\u0105. W takich przypadkach wska\u017c kategori\u0119 5. Dostawca taki jak Atlassian lub Github to firmy spoza Unii Europejskiej i wtedy wybierz kategori\u0119 5. Je\u017celi dostawca nie jest z Polski to wybieraj kategori\u0119 5.\nOdpowiedz podaj\u0105c s\u0142ownie ca\u0142\u0105 nazw\u0119 rodzaju zakupu, z jakiej kategorii zakupu jest dana faktura. Nie pisz s\u0142\u00f3w: Rodzaj zakupu, tylko napisz sam\u0105 nazw\u0119"
                        }
                    },
                    "displayed_name": "rozpoznanie rodzaju zakupu"
                },
                {
                    "id": "46bd93bbabe34cf1b37dfbc8f6890321",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "textJSON",
                        "message": ""
                    },
                    "action_type": "ActionModifyKey",
                    "config_params": {
                        "amk_key_name": [
                            {
                                "text": "Rodzaj_zakupu",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "amk_key_value": {
                            "text": " ",
                            "variable": [
                                "fc32858c0dfd42d3b6be9bc1f43763ed"
                            ],
                            "active_type": "variable"
                        },
                        "amk_json_object": {
                            "text": "",
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable"
                        },
                        "amk_modify_mode": "create",
                        "amk_create_first": true
                    },
                    "displayed_name": "dodaje klucz Rodzaj zakupu do JSON"
                },
                {
                    "id": "c7c567bbd11e454abc0ac094c2080de7",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "",
                        "message": ""
                    },
                    "action_type": "ActionSaveJsonToFile",
                    "config_params": {
                        "asjf_indent": {
                            "int": "",
                            "variable": null,
                            "active_type": "int"
                        },
                        "asjf_encoding": "utf-8",
                        "dst_file_name": {
                            "filename": "",
                            "variable": [
                                "37e753a7dafa4555a7852077eb8c9863",
                                "file_name"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_json_object": {
                            "text": "",
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_saving_path": {
                            "path": "",
                            "variable": [
                                "40bc512c40f44799826aeb9df5fd789a"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_ensure_ascii": "no"
                    },
                    "displayed_name": "zapisuje JSON"
                },
                {
                    "id": "e77d2cd109804b88a8c503007c574703",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "kategoriaFaktury",
                        "message": ""
                    },
                    "action_type": "ActionAiAgent",
                    "config_params": {
                        "llm_input": {
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable",
                            "long_text_popup": ""
                        },
                        "llm_model": "ChatGPT-4o mini",
                        "llm_max_tokens": {
                            "int": 10000,
                            "variable": null,
                            "active_type": "int"
                        },
                        "llm_temperature": {
                            "float": 0.2,
                            "variable": null,
                            "active_type": "float"
                        },
                        "llm_instructions": {
                            "variable": [
                                "6441d08e80f843369632e3e3f18ac9f0"
                            ],
                            "active_type": "variable",
                            "long_text_popup": "Zajmujesz si\u0119 analizowaniem danych z faktur zapisanych w plikach JSON. Informacje zawieraj\u0105 dane dotycz\u0105ce zakupionych us\u0142ug lub towar\u00f3w. Wska\u017c odpowiedni szablon ksi\u0119gowania na podstawie danych z czytanego tekstu. WNiP (Warto\u015bci Niematerialne i Prawne) to zasoby, kt\u00f3re nie maj\u0105 postaci fizycznej, ale przynosz\u0105 korzy\u015bci ekonomiczne przedsi\u0119biorstwu. Przyk\u0142adami s\u0105: patenty, licencje, znaki towarowe, oprogramowanie komputerowe, autorskie prawa maj\u0105tkowe, prawa do wynalazk\u00f3w, know-how, oraz warto\u015b\u0107 firmy. Je\u017celi w\u015br\u00f3d nabytych us\u0142ug znajduje si\u0119 s\u0142owo CLOUD oznacza to, \u017ce sprzedana zosta\u0142a us\u0142uga dost\u0119pu do oprogramowania dlatego nie jest to WNiP. Je\u017celi w tek\u015bcie znajduje si\u0119 s\u0142owo Zaliczka to wska\u017c pozycj\u0119 2. \u015arodki trwa\u0142e w firmie to takie sk\u0142adniki maj\u0105tku, kt\u00f3re s\u0105 u\u017cywane przez d\u0142u\u017cszy czas (powy\u017cej roku) w prowadzeniu dzia\u0142alno\u015bci gospodarczej i podlegaj\u0105 amortyzacji. Mog\u0105 to by\u0107 mi\u0119dzy innymi budynki (budynki, grunty, lokale), maszyny, urz\u0105dzenia (sprz\u0119t produkcyjny, narz\u0119dzia, maszyny biurowe, sprz\u0119t komputerowy), \u015brodki transportu (samochody, ci\u0119\u017car\u00f3wki, motocykle, pojazdy w leasingu finansowym), a nawet inwentarz \u017cywy i dzie\u0142a sztuki, meble, o\u015bwietlenie, wyposa\u017cenie biura. \nPrzeanalizuj wprowadzony tekst faktury zgodnie z poni\u017cszym s\u0142ownikiem JSON (podane s\u0105 nazwy kluczy):\n\nSzablon ksi\u0119gowania (dla klucza szablon_ksiegowania):\n1 - Zakup towar\u00f3w handlowych i materia\u0142\u00f3w do produkcji,\n2 - Koszty uboczne zakupu towar\u00f3w i materia\u0142\u00f3w,\n3 - Wynagrodzenia w got\u00f3wce i w naturze,\n4 - Faktura zaliczkowa,\n5 - Koszty medi\u00f3w i us\u0142ug telekomunikacyjnych,\n6 - Zakup dotycz\u0105cy pojazdu,\n7 - Zakup wyposa\u017cenia,\n8 - Zakup \u015brodk\u00f3w trwa\u0142ych,\n9 - Koszty i op\u0142aty bankowe,\n10 - Delegacja,\n12 - Najem lokalu,\n13 - Zakup warto\u015bci niematerialnych i prawnych,\n14 - Ulepszenie \u015brodka trwa\u0142ego,\n15 - Zakup samochodu osobowego,\n16 - Zakup materia\u0142\u00f3w na potrzeby firmy,\n17 - Zakup samochodu ci\u0119\u017carowego,\n18 - Leasing lub dzier\u017cawa,\n19 - Dow\u00f3d wewn\u0119trzny zakupu,\n20 -Zakup towaru od rolnika rycza\u0142towego,\n21 - Inny wydatek,\n22 - Zakup us\u0142ug,\n23 - Faktura pro forma\n24 - Ulepszenie WNiP\nOdpowiedz podaj\u0105c s\u0142ownie ca\u0142\u0105 nazw\u0119 szablonu ksi\u0119gowania, z jakiej kategorii zakupu jest dana faktura. Nie pokazuj analizy tylko podaj sam\u0105 nazw\u0119 wybranego szablonu ksi\u0119gowania. Wskazuj zawsze, dla ka\u017cdej faktury, tylko pozycj\u0119 22 podaj\u0105c nazw\u0119: Zakup us\u0142ug"
                        }
                    },
                    "displayed_name": "rozpoznanie kategorii faktury"
                },
                {
                    "id": "75c01c359cb04ce0aee28787550e9385",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "textJSON",
                        "message": ""
                    },
                    "action_type": "ActionModifyKey",
                    "config_params": {
                        "amk_key_name": [
                            {
                                "text": "Kategoria_faktury",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "amk_key_value": {
                            "text": "",
                            "variable": [
                                "9b8aa2e10dd64a90a5dccf5311a45d50"
                            ],
                            "active_type": "variable"
                        },
                        "amk_json_object": {
                            "text": "",
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable"
                        },
                        "amk_modify_mode": "create",
                        "amk_create_first": true
                    },
                    "displayed_name": "dodaje klucz Kategoria faktury"
                },
                {
                    "id": "7076769c564b4dd2b2a4b3a98a3cede5",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "",
                        "message": ""
                    },
                    "action_type": "ActionSaveJsonToFile",
                    "config_params": {
                        "asjf_indent": {
                            "int": "",
                            "variable": null,
                            "active_type": "int"
                        },
                        "asjf_encoding": "utf-8",
                        "dst_file_name": {
                            "filename": "",
                            "variable": [
                                "37e753a7dafa4555a7852077eb8c9863",
                                "file_name"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_json_object": {
                            "text": "",
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_saving_path": {
                            "path": "",
                            "variable": [
                                "40bc512c40f44799826aeb9df5fd789a"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_ensure_ascii": "no"
                    },
                    "displayed_name": "zapisuje JSON"
                },
                {
                    "id": "21f1a63879cc41a38fc871fa2a4f7972",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "szablonKsiegowania",
                        "message": ""
                    },
                    "action_type": "ActionAiAgent",
                    "config_params": {
                        "llm_input": {
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable",
                            "long_text_popup": ""
                        },
                        "llm_model": "ChatGPT-4o mini",
                        "llm_max_tokens": {
                            "int": 10000,
                            "variable": null,
                            "active_type": "int"
                        },
                        "llm_temperature": {
                            "float": 0.2,
                            "variable": null,
                            "active_type": "float"
                        },
                        "llm_instructions": {
                            "variable": [
                                "6e240782601d42b9869ac000b3782c6c"
                            ],
                            "active_type": "variable",
                            "long_text_popup": "Zajmujesz si\u0119 analizowaniem danych z faktur zapisanych w plikach JSON. Informacje zawieraj\u0105 przede wszystkim dane sprzedawcy. W zale\u017cno\u015bci od tego, z jakiego kraju pochodzi: z Polski czy z kraju spoza Unii Europejskiej, konieczne jest wskazanie konkretnego szablonu ksi\u0119gowania. W szczeg\u00f3lnym przypadku zakupu krajowego, mog\u0105 to by\u0107 us\u0142ugi telekomunikacyjne\nPrzeanalizuj wprowadzony tekst faktury zgodnie z poni\u017cszym s\u0142ownikiem JSON (podane s\u0105 nazwy kluczy):\n\nRodzaje zakupu (dla klucza rodzaj_zakupu):\n1 - RBS_Zakup us\u0142ug IT_kraj\n2 - RBS_Zakup us\u0142ug IT_NUE\n3 - RBS_Zakup us\u0142ug telekomunikacyjnych_kraj\n\nPami\u0119taj, \u017ce Sydney i Australia, San Francisco US znajduj\u0105 si\u0119 poza Uni\u0105 Europejsk\u0105. W takich przypadkach wybierz kategori\u0119 2.\nUs\u0142ugi telekomunikacyjne pochodz\u0105 od operator\u00f3w takich us\u0142ug, to m.in. Polkomtel, Plus, T-Mobile, Orange, P4, Play. Inni dostawcy nie s\u0105 klasyfikowani jako dostawcy us\u0142ug telekomunikacyjnych. Dostawa energii, treningi lub zestaw kwalifikowany, us\u0142ugi przemontowania k\u00f3\u0142 lub serwis lub us\u0142uga serwisowa nie nale\u017c\u0105 do us\u0142ug telekomunikacyjnych\nOdpowiedz podaj\u0105c s\u0142ownie ca\u0142\u0105 nazw\u0119 szablonu ksi\u0119gowania, z jakiej kategorii zakupu jest dana faktura. Nie pisz s\u0142\u00f3w: Szablon ksi\u0119gowania"
                        }
                    },
                    "displayed_name": "rozpoznanie szablonu ksi\u0119gowania"
                },
                {
                    "id": "e923b2c0a52847ef876292b4fa591376",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "textJSON",
                        "message": ""
                    },
                    "action_type": "ActionModifyKey",
                    "config_params": {
                        "amk_key_name": [
                            {
                                "text": "Szablon_ksiegowania",
                                "variable": null,
                                "active_type": "text"
                            }
                        ],
                        "amk_key_value": {
                            "text": "szablonKsiegowania",
                            "variable": [
                                "e5aebb8d340545b084f0cc25544336cd"
                            ],
                            "active_type": "variable"
                        },
                        "amk_json_object": {
                            "text": "",
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable"
                        },
                        "amk_modify_mode": "create",
                        "amk_create_first": true
                    },
                    "displayed_name": "dodaje klucz Szablon ksi\u0119gowania"
                },
                {
                    "id": "5850ddb0a8244d9ca335dfbc9d3c81f5",
                    "skip": false,
                    "on_error": 0,
                    "exit_vars": {
                        "code": "",
                        "value": "",
                        "message": ""
                    },
                    "action_type": "ActionSaveJsonToFile",
                    "config_params": {
                        "asjf_indent": {
                            "int": "",
                            "variable": null,
                            "active_type": "int"
                        },
                        "asjf_encoding": "utf-8",
                        "dst_file_name": {
                            "filename": "",
                            "variable": [
                                "37e753a7dafa4555a7852077eb8c9863",
                                "file_name"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_json_object": {
                            "text": "",
                            "variable": [
                                "b01d2266f2704b75a95bb811e5971d9e"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_saving_path": {
                            "path": "",
                            "variable": [
                                "40bc512c40f44799826aeb9df5fd789a"
                            ],
                            "active_type": "variable"
                        },
                        "asjf_ensure_ascii": "no"
                    },
                    "displayed_name": "zapisuje JSON"
                }
            ],
            "housing": "SceneSequence",
            "box_type": "ActionBox",
            "next_obj_id": "d393710dbb8046f1af2717aba841dc71",
            "displayed_name": "wzbogacanie JSONa",
            "scene_obj_type": "SceneSequence"
        }
    ],
    "general_data": {
        "SID": null,
        "cost": 25,
        "name": null,
        "tags": [],
        "uses": null,
        "rating": null,
        "status": -1,
        "version": 0,
        "editable": 90,
        "programs": [],
        "available": 90,
        "downloads": null,
        "updatable": 20,
        "author_pid": "c67e6be99d8142709bdbd3588b46efc9",
        "author_rid": "b27f6c6d-1810-445d-99e9-f4bac3ef11d2",
        "author_uid": 9,
        "categories": [],
        "scene_size": [
            100,
            100
        ],
        "app_version": "2.07.10",
        "author_name": "RBS Tomasz Barczak",
        "description": "Faktury klasyfikowane s\u0105 pod k\u0105tem rodzaju zakupu, kategorii oraz szablonu, kt\u00f3ry powinien zostac zastosowany do ich ksi\u0119gowania. Wymagany plik dodatkowy z instrukcjami AI do pobrania razem z umiej\u0119tno\u015bci\u0105.",
        "mod_message": null,
        "time_create": null,
        "time_update": null,
        "credits_alloc": "ask",
        "is_fixed_cost": false,
        "keyword_hashes": null,
        "description_field": "Faktury klasyfikowane s\u0105 pod k\u0105tem rodzaju zakupu, kategorii oraz szablonu, kt\u00f3ry powinien zostac zastosowany do ich ksi\u0119gowania. Wymagany plik dodatkowy z instrukcjami AI do pobrania razem z umiej\u0119tno\u015bci\u0105.",
        "structure_version": 1,
        "version_changelog": null
    },
    "starting_box": {
        "id": "e87103ac6ba947d384dbccda397cba2e",
        "col": 5.0,
        "row": 2,
        "housing": "SceneStart",
        "box_type": "StartBox",
        "next_obj_id": "695cc53316b0436f9fef1336efad270a",
        "start_config": {
            "aliases": {},
            "profile": {
                "_extraction": {},
                "_extraction_ss": {}
            },
            "scenario": {
                "_extraction": {},
                "gid_current": [
                    {
                        "var_keys": [
                            "0d0beb95e51b4895adbce70eedae107e"
                        ],
                        "occurrences": 1,
                        "reset_option": "",
                        "set_to_value": "",
                        "ask_for_value": {
                            "question": "",
                            "allow_skip": false,
                            "value_hint": "",
                            "answer_format": "",
                            "proposed_value": ""
                        },
                        "config_option": "use_current_value",
                        "select_from_list": {
                            "values": [
                                ""
                            ],
                            "message": "",
                            "idx_default": 0
                        }
                    }
                ]
            },
            "clear_logs": false,
            "descriptions": {},
            "stop_on_error": true
        },
        "displayed_name": "Start",
        "scene_obj_type": "SceneStart"
    }
}