Inter company customer invoice report is not opening for indian localization in D365

Hello All,

i have developed the new report design for inter company customer invoice (Free text invoice), it is working fie for US, UK regions.

but it is not opening for indian localization.

when i debugged this FreeTextInvoiceController class it is calling GST invoice report for indian localizations.

below is the code for i have used,

please help me how to call the report in indian localization

class TV_FreeTextInvoiceController extends FreeTextInvoiceController
{
public static TV_FreeTextInvoiceController construct()
{
return new TV_FreeTextInvoiceController();
}

public static void main(Args _args)
{
SrsReportRunController formLetterController = TV_FreeTextInvoiceController::construct();
TV_FreeTextInvoiceController controller = formLetterController;
PrintMgmtReportFormat reportFormat;
SRSPrintDestinationSettings settings;

if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoIN]))
{
controller.parmReportName(ssrsReportStr(GSTInvoiceReport_IN, Report));

}
else
{
controller.parmReportName(ssrsReportStr(TV_FreeTextInvoice, Report));

}

controller.parmArgs(_args);
controller.parmShowDialog(false);
settings = controller.parmReportContract().parmPrintSettings();
settings.printMediumType(SRSPrintMediumType::Screen);
controller.parmReportContract().parmPrintSettings(settings);
controller.startOperation();
}

}

class TV_FTIPrintMgtDocTypeHandler
{

[SubscribesTo(classstr(PrintMgmtDocType), delegatestr(PrintMgmtDocType, getDefaultReportFormatDelegate))]
public static void getDefaultReportFormatDelegate(PrintMgmtDocumentType _docType, EventHandlerResult _result)
{
#define.isoIN(‘IN’) // India
switch (_docType)
{
case PrintMgmtDocumentType::SalesFreeTextInvoice:

if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoIN]))
{
_result.result(ssrsReportStr(GSTInvoiceReport_IN, Report));
}
else
{
_result.result(ssrsReportStr(TV_FreeTextInvoice, Report));
}

break;
}
}

}