{
 "actions": [],
 "autoname": "TYCW-.YYYY.-.#####",
 "creation": "2026-04-01 20:00:00.000000",
 "doctype": "DocType",
 "engine": "InnoDB",
 "field_order": [
  "header_section",
  "company",
  "column_break_h1",
  "fiscal_year",
  "year",
  "column_break_h2",
  "tax_regime",
  "accounting_method",
  "column_break_h3",
  "overall_status",
  "overall_progress",

  "company_info_section",
  "company_voen",
  "company_classification",
  "column_break_ci1",
  "company_activity_code",
  "company_tax_authority",
  "column_break_ci2",
  "is_vat_payer",
  "has_assets",
  "has_employees",
  "avg_employees",

  "benefits_section",
  "benefits_html",
  "detected_benefits",

  "timeline_tab",
  "timeline_html",
  "steps",

  "step_detail_tab",
  "current_step_html",

  "summary_tab",
  "summary_html",
  "total_taxes_created",
  "column_break_st1",
  "total_payroll_collected",
  "column_break_st2",
  "grand_total",

  "log_tab",
  "log_html",
  "log_entries",

  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "header_section",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fieldname": "column_break_h1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "fiscal_year",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Fiscal Year",
   "options": "Fiscal Year",
   "reqd": 1
  },
  {
   "fieldname": "year",
   "fieldtype": "Int",
   "label": "Year",
   "read_only": 1
  },
  {
   "fieldname": "column_break_h2",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "tax_regime",
   "fieldtype": "Select",
   "in_list_view": 1,
   "label": "Tax Regime",
   "options": "\nGeneral (VAT + Profit)\nSimplified Tax\nSpecial Regime"
  },
  {
   "fieldname": "accounting_method",
   "fieldtype": "Data",
   "label": "Accounting Method",
   "read_only": 1
  },
  {
   "fieldname": "column_break_h3",
   "fieldtype": "Column Break"
  },
  {
   "default": "Not Started",
   "fieldname": "overall_status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "label": "Status",
   "options": "Not Started\nIn Progress\nCompleted",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "overall_progress",
   "fieldtype": "Percent",
   "label": "Progress",
   "read_only": 1
  },
  {
   "fieldname": "company_info_section",
   "fieldtype": "Section Break",
   "collapsible": 1,
   "label": "Company Info"
  },
  {
   "fieldname": "company_voen",
   "fieldtype": "Data",
   "label": "VOEN",
   "read_only": 1
  },
  {
   "fieldname": "company_classification",
   "fieldtype": "Data",
   "label": "Classification",
   "read_only": 1
  },
  {
   "fieldname": "column_break_ci1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "company_activity_code",
   "fieldtype": "Data",
   "label": "OKVED",
   "read_only": 1
  },
  {
   "fieldname": "company_tax_authority",
   "fieldtype": "Data",
   "label": "Tax Authority",
   "read_only": 1
  },
  {
   "fieldname": "column_break_ci2",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "is_vat_payer",
   "fieldtype": "Check",
   "label": "VAT Payer",
   "read_only": 1
  },
  {
   "fieldname": "has_assets",
   "fieldtype": "Check",
   "label": "Has Assets",
   "read_only": 1
  },
  {
   "fieldname": "has_employees",
   "fieldtype": "Check",
   "label": "Has Employees",
   "read_only": 1
  },
  {
   "fieldname": "avg_employees",
   "fieldtype": "Float",
   "label": "Avg Monthly Employees",
   "read_only": 1
  },
  {
   "fieldname": "benefits_section",
   "fieldtype": "Section Break",
   "collapsible": 1,
   "label": "Detected Benefits"
  },
  {
   "fieldname": "benefits_html",
   "fieldtype": "HTML"
  },
  {
   "fieldname": "detected_benefits",
   "fieldtype": "Table",
   "options": "Tax Closing Benefit",
   "hidden": 1
  },
  {
   "fieldname": "timeline_tab",
   "fieldtype": "Tab Break",
   "label": "Timeline"
  },
  {
   "fieldname": "timeline_html",
   "fieldtype": "HTML"
  },
  {
   "fieldname": "steps",
   "fieldtype": "Table",
   "options": "Tax Year Closing Step",
   "hidden": 1
  },
  {
   "fieldname": "step_detail_tab",
   "fieldtype": "Tab Break",
   "label": "Current Step"
  },
  {
   "fieldname": "current_step_html",
   "fieldtype": "HTML"
  },
  {
   "fieldname": "summary_tab",
   "fieldtype": "Tab Break",
   "label": "Summary"
  },
  {
   "fieldname": "summary_html",
   "fieldtype": "HTML"
  },
  {
   "fieldname": "total_taxes_created",
   "fieldtype": "Currency",
   "label": "Total Taxes (Entries Created)",
   "precision": "2",
   "read_only": 1,
   "bold": 1
  },
  {
   "fieldname": "column_break_st1",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "total_payroll_collected",
   "fieldtype": "Currency",
   "label": "Total Payroll (Data Only)",
   "precision": "2",
   "read_only": 1
  },
  {
   "fieldname": "column_break_st2",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "grand_total",
   "fieldtype": "Currency",
   "label": "Grand Total Tax Burden",
   "precision": "2",
   "read_only": 1,
   "bold": 1
  },
  {
   "fieldname": "log_tab",
   "fieldtype": "Tab Break",
   "label": "Log"
  },
  {
   "fieldname": "log_html",
   "fieldtype": "HTML"
  },
  {
   "fieldname": "log_entries",
   "fieldtype": "Table",
   "options": "Tax Closing Log Entry",
   "hidden": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Tax Year Closing Wizard",
   "print_hide": 1,
   "read_only": 1
  }
 ],
 "index_web_pages_for_search": 1,
 "is_submittable": 1,
 "links": [],
 "modified": "2026-04-01 20:00:00.000000",
 "modified_by": "Administrator",
 "module": "Taxes Az",
 "name": "Tax Year Closing Wizard",
 "naming_rule": "Expression",
 "owner": "Administrator",
 "permissions": [
  {
   "cancel": 1, "create": 1, "delete": 1, "email": 1, "export": 1,
   "print": 1, "read": 1, "report": 1, "role": "System Manager",
   "share": 1, "submit": 1, "write": 1
  },
  {
   "cancel": 1, "create": 1, "delete": 1, "email": 1, "export": 1,
   "print": 1, "read": 1, "report": 1, "role": "Accounts Manager",
   "share": 1, "submit": 1, "write": 1
  }
 ],
 "sort_field": "creation",
 "sort_order": "DESC",
 "states": [],
 "track_changes": 1
}
