diff --git a/india_compliance/income_tax_india/financial_report_template/__init__.py b/india_compliance/income_tax_india/financial_report_template/__init__.py new file mode 100644 index 0000000000..c4fea77503 --- /dev/null +++ b/india_compliance/income_tax_india/financial_report_template/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2026, Resilient Tech and contributors +# For license information, please see license.txt diff --git a/india_compliance/income_tax_india/financial_report_template/standard_balance_sheet_(schedule_iii)/__init__.py b/india_compliance/income_tax_india/financial_report_template/standard_balance_sheet_(schedule_iii)/__init__.py new file mode 100644 index 0000000000..c4fea77503 --- /dev/null +++ b/india_compliance/income_tax_india/financial_report_template/standard_balance_sheet_(schedule_iii)/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2026, Resilient Tech and contributors +# For license information, please see license.txt diff --git a/india_compliance/income_tax_india/financial_report_template/standard_balance_sheet_(schedule_iii)/standard_balance_sheet_(schedule_iii).json b/india_compliance/income_tax_india/financial_report_template/standard_balance_sheet_(schedule_iii)/standard_balance_sheet_(schedule_iii).json new file mode 100644 index 0000000000..62cd6dfdc6 --- /dev/null +++ b/india_compliance/income_tax_india/financial_report_template/standard_balance_sheet_(schedule_iii)/standard_balance_sheet_(schedule_iii).json @@ -0,0 +1,685 @@ +{ + "creation": "2026-02-22 06:50:29.164899", + "disabled": 0, + "docstatus": 0, + "doctype": "Financial Report Template", + "idx": 0, + "modified": "2026-02-23 00:19:01.673550", + "modified_by": "Administrator", + "module": "Income Tax India", + "name": "Standard Balance Sheet (Schedule III)", + "owner": "Administrator", + "report_type": "Balance Sheet", + "rows": [ + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "data_source": "Blank Line", + "display_name": "I. EQUITY AND LIABILITIES", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "EQUITY_LIAB_HEADER", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "SF_SHARE_CAPITAL + SF_RESERVES + SF_MONEY_WARRANTS", + "data_source": "Calculated Amount", + "display_name": "1. Shareholders' Funds", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "SF_TOTAL", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Share Capital\"]", + "data_source": "Account Data", + "display_name": "a. Share Capital", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "SF_SHARE_CAPITAL", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Reserves and Surplus\"]", + "data_source": "Account Data", + "display_name": "b. Reserves and Surplus", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "SF_RESERVES", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "c. Money Received Against Share Warrants", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "SF_MONEY_WARRANTS", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "2. Share Application Money Pending Allotment", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "SHARE_APP_MONEY", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "NCL_BORROWINGS + NCL_DTL + NCL_OTHER + NCL_PROVISIONS", + "data_source": "Calculated Amount", + "display_name": "3. Non-Current Liabilities", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "NCL_TOTAL", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Long-term Borrowings\"]", + "data_source": "Account Data", + "display_name": "a. Long-Term Borrowings", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCL_BORROWINGS", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "b. Deferred Tax Liabilities (Net)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCL_DTL", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Other Non-current Liabilities\"]", + "data_source": "Account Data", + "display_name": "c. Other Long-Term Liabilities", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCL_OTHER", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Long-term Provisions\"]", + "data_source": "Account Data", + "display_name": "d. Long-Term Provisions", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCL_PROVISIONS", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "CL_BORROWINGS + CL_TRADE_PAYABLES + CL_OTHER + CL_PROVISIONS", + "data_source": "Calculated Amount", + "display_name": "4. Current Liabilities", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "CL_TOTAL", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Short-term Borrowings\"]", + "data_source": "Account Data", + "display_name": "a. Short-Term Borrowings", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CL_BORROWINGS", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Trade Payables\"]", + "data_source": "Account Data", + "display_name": "b. Trade Payables", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CL_TRADE_PAYABLES", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"in\", [\"Other Current Liabilities\", \"Other Payables\"]]", + "data_source": "Account Data", + "display_name": "c. Other Current Liabilities", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CL_OTHER", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\",\"in\",[\"Short-term Provisions\",\"Current Tax Liabilities\"]]", + "data_source": "Account Data", + "display_name": "d. Short-Term Provisions", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CL_PROVISIONS", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "SF_TOTAL + SHARE_APP_MONEY + NCL_TOTAL + CL_TOTAL", + "data_source": "Calculated Amount", + "display_name": "Total for EQUITY AND LIABILITIES", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "TOTAL_EQUITY_LIAB", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "data_source": "Blank Line", + "display_name": "II. ASSETS", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "ASSETS_HEADER", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "NCA_FIXED_ASSETS + NCA_INVESTMENTS + NCA_DTA + NCA_LOANS_ADV + NCA_OTHER", + "data_source": "Calculated Amount", + "display_name": "1. Non-Current Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "NCA_TOTAL", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "NCA_TANGIBLE + NCA_INTANGIBLE + NCA_CWIP + NCA_INTANGIBLE_DEV", + "data_source": "Calculated Amount", + "display_name": "a. Fixed Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCA_FIXED_ASSETS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Tangible Assets\"]", + "data_source": "Account Data", + "display_name": "i. Tangible Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 2, + "italic_text": 0, + "reference_code": "NCA_TANGIBLE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Intangible Assets\"]", + "data_source": "Account Data", + "display_name": "ii. Intangible Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 2, + "italic_text": 0, + "reference_code": "NCA_INTANGIBLE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "iii. Capital Work-in-Progress", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 2, + "italic_text": 0, + "reference_code": "NCA_CWIP", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "iv. Intangible Assets Under Development", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 2, + "italic_text": 0, + "reference_code": "NCA_INTANGIBLE_DEV", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Long-term Investments\"]", + "data_source": "Account Data", + "display_name": "b. Non-Current Investments", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCA_INVESTMENTS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "c. Deferred Tax Assets (Net)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCA_DTA", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "d. Long-Term Loans and Advances", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCA_LOANS_ADV", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\",\"=\",\"Other Non-current Assets\"]", + "data_source": "Account Data", + "display_name": "e. Other Non-Current Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "NCA_OTHER", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "CA_INVESTMENTS + CA_INVENTORIES + CA_TRADE_RECEIVABLES + CA_CASH + CA_LOANS_ADV + CA_OTHER", + "data_source": "Calculated Amount", + "display_name": "2. Current Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "CA_TOTAL", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Short-term Investments\"]", + "data_source": "Account Data", + "display_name": "a. Current Investments", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CA_INVESTMENTS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Stock Assets\"]", + "data_source": "Account Data", + "display_name": "b. Inventories", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CA_INVENTORIES", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Trade Receivables\"]", + "data_source": "Account Data", + "display_name": "c. Trade Receivables", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CA_TRADE_RECEIVABLES", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Cash and Cash Equivalents\"]", + "data_source": "Account Data", + "display_name": "d. Cash and Cash Equivalents", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CA_CASH", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Other Receivables\"]", + "data_source": "Account Data", + "display_name": "e. Short-Term Loans and Advances", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CA_LOANS_ADV", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Other Current Assets\"]", + "data_source": "Account Data", + "display_name": "f. Other Current Assets", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CA_OTHER", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "NCA_TOTAL + CA_TOTAL", + "data_source": "Calculated Amount", + "display_name": "Total for ASSETS", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "TOTAL_ASSETS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "TOTAL_ASSETS - TOTAL_EQUITY_LIAB", + "color": "#CB2929", + "data_source": "Calculated Amount", + "display_name": "Balance Check (should be zero)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 1, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "BALANCE_CHECK", + "reverse_sign": 0 + } + ], + "template_name": "Standard Balance Sheet (Schedule III)" +} diff --git a/india_compliance/income_tax_india/financial_report_template/standard_profit_and_loss_(schedule_iii)/__init__.py b/india_compliance/income_tax_india/financial_report_template/standard_profit_and_loss_(schedule_iii)/__init__.py new file mode 100644 index 0000000000..c4fea77503 --- /dev/null +++ b/india_compliance/income_tax_india/financial_report_template/standard_profit_and_loss_(schedule_iii)/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) 2026, Resilient Tech and contributors +# For license information, please see license.txt diff --git a/india_compliance/income_tax_india/financial_report_template/standard_profit_and_loss_(schedule_iii)/standard_profit_and_loss_(schedule_iii).json b/india_compliance/income_tax_india/financial_report_template/standard_profit_and_loss_(schedule_iii)/standard_profit_and_loss_(schedule_iii).json new file mode 100644 index 0000000000..4aba4cdecd --- /dev/null +++ b/india_compliance/income_tax_india/financial_report_template/standard_profit_and_loss_(schedule_iii)/standard_profit_and_loss_(schedule_iii).json @@ -0,0 +1,539 @@ +{ + "creation": "2026-02-23 00:54:21.205967", + "disabled": 0, + "docstatus": 0, + "doctype": "Financial Report Template", + "idx": 0, + "modified": "2026-02-23 00:56:17.006324", + "modified_by": "Administrator", + "module": "Income Tax India", + "name": "Standard Profit and Loss (Schedule III)", + "owner": "Administrator", + "report_type": "Profit and Loss Statement", + "rows": [ + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 1, + "calculation_formula": "[\"account_category\",\"=\",\"Revenue from Operations\"]", + "data_source": "Account Data", + "display_name": "I. Revenue from Operations", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "REV_OPERATIONS", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 1, + "calculation_formula": "[\"account_category\",\"in\",[\"Other Operating Income\",\"Investment Income\"]]", + "data_source": "Account Data", + "display_name": "II. Other Income", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "REV_OTHER", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "REV_OPERATIONS + REV_OTHER", + "data_source": "Calculated Amount", + "display_name": "III. Total Revenue (I + II)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "TOTAL_REVENUE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "EXP_MATERIALS + EXP_STOCK_TRADE + EXP_INV_CHANGE + EXP_EMPLOYEE + EXP_FINANCE + EXP_DEPRECIATION + EXP_OTHER", + "data_source": "Calculated Amount", + "display_name": "IV. Expenses", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "TOTAL_EXPENSES", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Cost of Goods Sold\"], [\"account_type\", \"!=\", \"Depreciation\"]]}", + "data_source": "Account Data", + "display_name": "1. Cost of Materials Consumed", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_MATERIALS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Other Direct Costs\"], [\"account_type\", \"!=\", \"Depreciation\"]]}", + "data_source": "Account Data", + "display_name": "2. Purchases of Stock in Trade", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_STOCK_TRADE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Opening Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\",\"=\",\"Stock Assets\"]", + "data_source": "Account Data", + "display_name": "Opening Stock", + "fieldtype": "", + "hidden_calculation": 1, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "OPENING_STOCK", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Closing Balance", + "bold_text": 0, + "calculation_formula": "[\"account_category\", \"=\", \"Stock Assets\"]", + "data_source": "Account Data", + "display_name": "Closing Stock", + "fieldtype": "", + "hidden_calculation": 1, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "CLOSING_STOCK", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "OPENING_STOCK - CLOSING_STOCK", + "data_source": "Calculated Amount", + "display_name": "3. Changes in Inventories of Finished Goods, Work-in-Progress and Stock-in-Trade", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_INV_CHANGE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 1, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Operating Expenses\"], {\"or\": [[\"account_name\", \"like\", \"Employee\"], [\"account_name\", \"like\", \"Salary\"], [\"account_name\", \"like\", \"Wages\"], [\"account_name\", \"like\", \"Staff\"], [\"account_name\", \"like\", \"Gratuity\"], [\"account_name\", \"like\", \"Provident Fund\"], [\"account_name\", \"like\", \"Bonus\"]]}]}", + "data_source": "Account Data", + "display_name": "4. Employee Benefits Expense", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_EMPLOYEE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Finance Costs\"], [\"account_type\", \"!=\", \"Depreciation\"]]}", + "data_source": "Account Data", + "display_name": "5. Finance Costs", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_FINANCE", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "[\"account_type\",\"=\",\"Depreciation\"]", + "data_source": "Account Data", + "display_name": "6. Depreciation and Amortization Expense", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_DEPRECIATION", + "reverse_sign": 0 + }, + { + "advanced_filtering": 1, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Operating Expenses\"], [\"account_type\", \"!=\", \"Depreciation\"], [\"account_name\", \"not like\", \"Employee\"], [\"account_name\", \"not like\", \"Salary\"], [\"account_name\", \"not like\", \"Wages\"], [\"account_name\", \"not like\", \"Staff\"], [\"account_name\", \"not like\", \"Gratuity\"], [\"account_name\", \"not like\", \"Provident Fund\"], [\"account_name\", \"not like\", \"Bonus\"]]}", + "data_source": "Account Data", + "display_name": "7. Other Expenses", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "EXP_OTHER", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "TOTAL_REVENUE - TOTAL_EXPENSES", + "data_source": "Calculated Amount", + "display_name": "V. Profit Before Exceptional and Extraordinary Items and Tax (III - IV)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "PROFIT_BEFORE_EXCEPTIONAL", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "VI. Exceptional Items", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "EXCEPTIONAL_ITEMS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "PROFIT_BEFORE_EXCEPTIONAL - EXCEPTIONAL_ITEMS", + "data_source": "Calculated Amount", + "display_name": "VII. Profit Before Extraordinary Items and Tax (V - VI)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "PROFIT_BEFORE_EXTRAORDINARY", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "VIII. Extraordinary Items", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "EXTRAORDINARY_ITEMS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "PROFIT_BEFORE_EXTRAORDINARY - EXTRAORDINARY_ITEMS", + "data_source": "Calculated Amount", + "display_name": "IX. Profit Before Tax (VII - VIII)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "PROFIT_BEFORE_TAX", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "TAX_CURRENT + TAX_DEFERRED", + "data_source": "Calculated Amount", + "display_name": "X. Tax Expense", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "TOTAL_TAX", + "reverse_sign": 0 + }, + { + "advanced_filtering": 1, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Tax Expense\"], [\"account_name\", \"not like\", \"Deferred\"]]}", + "data_source": "Account Data", + "display_name": "1. Current Tax", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "TAX_CURRENT", + "reverse_sign": 0 + }, + { + "advanced_filtering": 1, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "{\"and\": [[\"account_category\", \"=\", \"Tax Expense\"], [\"account_name\", \"like\", \"Deferred\"]]}", + "data_source": "Account Data", + "display_name": "2. Deferred Tax", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 1, + "italic_text": 0, + "reference_code": "TAX_DEFERRED", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "PROFIT_BEFORE_TAX - TOTAL_TAX", + "data_source": "Calculated Amount", + "display_name": "XI. Profit (Loss) for the Period from Continuing Operations (IX - X)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "PROFIT_CONTINUING", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "XII. Profit (Loss) from Discontinuing Operations", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "DISCONTINUING_OPS", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "0", + "data_source": "Calculated Amount", + "display_name": "XIII. Tax Expense of Discontinuing Operations", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "DISCONTINUING_TAX", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "DISCONTINUING_OPS - DISCONTINUING_TAX", + "data_source": "Calculated Amount", + "display_name": "XIV. Profit (Loss) from Discontinuing Operations (After Tax) (XII - XIII)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "DISCONTINUING_AFTER_TAX", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "PROFIT_CONTINUING + DISCONTINUING_AFTER_TAX", + "data_source": "Calculated Amount", + "display_name": "XV. Profit (Loss) for the Period (XI + XIV)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "PROFIT_FOR_PERIOD", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "[\"root_type\", \"=\", \"Income\"]", + "data_source": "Account Data", + "display_name": "Total Income", + "fieldtype": "", + "hidden_calculation": 1, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "ACT_TOTAL_INCOME", + "reverse_sign": 1 + }, + { + "advanced_filtering": 0, + "balance_type": "Period Movement (Debits - Credits)", + "bold_text": 0, + "calculation_formula": "[\"root_type\", \"=\", \"Expense\"]", + "data_source": "Account Data", + "display_name": "Total Expenses", + "fieldtype": "", + "hidden_calculation": 1, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "ACT_TOTAL_EXPENSES", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "ACT_TOTAL_INCOME - ACT_TOTAL_EXPENSES", + "data_source": "Calculated Amount", + "display_name": "Net Profit", + "fieldtype": "", + "hidden_calculation": 1, + "hide_when_empty": 0, + "include_in_charts": 1, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "ACT_NET_PROFIT", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 1, + "calculation_formula": "PROFIT_FOR_PERIOD - ACT_NET_PROFIT", + "color": "#CB2929", + "data_source": "Calculated Amount", + "display_name": "VARIANCE (Calculated vs Actual)", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 1, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reference_code": "VAL_DIFF", + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "data_source": "Blank Line", + "fieldtype": "", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 0, + "reverse_sign": 0 + }, + { + "advanced_filtering": 0, + "balance_type": "", + "bold_text": 0, + "calculation_formula": "(PROFIT_FOR_PERIOD / TOTAL_REVENUE) * 100 if TOTAL_REVENUE != 0 else 0", + "data_source": "Calculated Amount", + "display_name": "Net Profit Margin %", + "fieldtype": "Percent", + "hidden_calculation": 0, + "hide_when_empty": 0, + "include_in_charts": 0, + "indentation_level": 0, + "italic_text": 1, + "reference_code": "NP_MARGIN", + "reverse_sign": 0 + } + ], + "template_name": "Standard Profit and Loss (Schedule III)" +} diff --git a/india_compliance/patches.txt b/india_compliance/patches.txt index 1f92e2b7b5..59e57a6bd0 100644 --- a/india_compliance/patches.txt +++ b/india_compliance/patches.txt @@ -78,4 +78,5 @@ india_compliance.patches.v16.remove_legacy_report_fixtures india_compliance.patches.v15.unset_auth_token india_compliance.patches.v15.update_itc_claim_period india_compliance.patches.v15.migrate_logo_for_printing -execute:from india_compliance.audit_trail.setup import create_custom_fields; create_custom_fields() \ No newline at end of file +execute:from india_compliance.audit_trail.setup import create_custom_fields; create_custom_fields() +india_compliance.patches.v16.sync_financial_report_templates diff --git a/india_compliance/patches/v16/sync_financial_report_templates.py b/india_compliance/patches/v16/sync_financial_report_templates.py new file mode 100644 index 0000000000..478640015a --- /dev/null +++ b/india_compliance/patches/v16/sync_financial_report_templates.py @@ -0,0 +1,13 @@ +# Copyright (c) 2026, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + + +from erpnext.accounts.doctype.financial_report_template.financial_report_template import ( + _sync_templates_for as sync_financial_report_templates, +) + +from india_compliance.hooks import app_name + + +def execute(): + sync_financial_report_templates(app_name)