{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "label": "hst_management.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L1"}, {"id": "hst_management_calculate_hst_balance", "label": "calculate_hst_balance()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L6"}, {"id": "hst_management_get_tax_report", "label": "get_tax_report()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L54"}, {"id": "hst_management_find_missing_tax_invoices", "label": "find_missing_tax_invoices()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L67"}, {"id": "hst_management_find_missing_itc_bills", "label": "find_missing_itc_bills()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L97"}, {"id": "hst_management_get_tax_return_status", "label": "get_tax_return_status()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L127"}, {"id": "hst_management_generate_tax_return", "label": "generate_tax_return()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L146"}, {"id": "hst_management_validate_tax_return", "label": "validate_tax_return()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L160"}, {"id": "hst_management_create_expense_entry", "label": "create_expense_entry()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L176"}, {"id": "hst_management_rationale_55", "label": "Route through ReportsAdapter for tri-mode consistency. The Community fallbac", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L55"}, {"id": "hst_management_rationale_177", "label": "[Tier 3] Create a direct GL expense entry in the Misc journal with optional HST", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L177"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L1", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_calculate_hst_balance", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_get_tax_report", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L54", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_find_missing_tax_invoices", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L67", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_find_missing_itc_bills", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L97", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_get_tax_return_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L127", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_generate_tax_return", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L146", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_validate_tax_return", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L160", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_tools_hst_management_py", "target": "hst_management_create_expense_entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L176", "weight": 1.0}, {"source": "hst_management_rationale_55", "target": "hst_management_get_tax_report", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L55", "weight": 1.0}, {"source": "hst_management_rationale_177", "target": "hst_management_create_expense_entry", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L177", "weight": 1.0}], "raw_calls": [{"caller_nid": "hst_management_calculate_hst_balance", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L7"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L8"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L14"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L16"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L21"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L24"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L28"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L31"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L35"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L38"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L42"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L42"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L43"}, {"caller_nid": "hst_management_calculate_hst_balance", "callee": "sum", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L43"}, {"caller_nid": "hst_management_get_tax_report", "callee": "get_adapter", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L58"}, {"caller_nid": "hst_management_get_tax_report", "callee": "run_report", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L59"}, {"caller_nid": "hst_management_get_tax_report", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L60"}, {"caller_nid": "hst_management_get_tax_report", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L61"}, {"caller_nid": "hst_management_get_tax_report", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L62"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L68"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L69"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L76"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L78"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L80"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "filtered", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L81"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "any", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L82"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L85"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L86"}, {"caller_nid": "hst_management_find_missing_tax_invoices", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L92"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L98"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L99"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L106"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "append", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L108"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L110"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "filtered", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L111"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "any", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L112"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L115"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "len", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L116"}, {"caller_nid": "hst_management_find_missing_itc_bills", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L122"}, {"caller_nid": "hst_management_get_tax_return_status", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L132"}, {"caller_nid": "hst_management_get_tax_return_status", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L139"}, {"caller_nid": "hst_management_get_tax_return_status", "callee": "hasattr", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L139"}, {"caller_nid": "hst_management_get_tax_return_status", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L140"}, {"caller_nid": "hst_management_get_tax_return_status", "callee": "hasattr", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L140"}, {"caller_nid": "hst_management_get_tax_return_status", "callee": "hasattr", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L141"}, {"caller_nid": "hst_management_generate_tax_return", "callee": "_generate_or_refresh_all_returns", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L152"}, {"caller_nid": "hst_management_generate_tax_return", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L157"}, {"caller_nid": "hst_management_validate_tax_return", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L165"}, {"caller_nid": "hst_management_validate_tax_return", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L166"}, {"caller_nid": "hst_management_validate_tax_return", "callee": "exists", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L167"}, {"caller_nid": "hst_management_validate_tax_return", "callee": "action_validate", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L170"}, {"caller_nid": "hst_management_validate_tax_return", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L173"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L180"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L180"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "default", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L180"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L181"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L182"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "abs", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L183"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "float", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L183"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L184"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "int", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L185"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L185"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L188"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L194"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "exists", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L195"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "browse", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L201"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "exists", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L202"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L208"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L220"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L221"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L224"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "search", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L229"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "create", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L259"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "action_post", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L267"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "round", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L274"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "error", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L277"}, {"caller_nid": "hst_management_create_expense_entry", "callee": "str", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/tools/hst_management.py", "source_location": "L278"}]}