{"text_format":"2","workbook":"xls","n_sheets":2,"sheets":["Форма 1-НДФЛ","Настройка"],"not_rendered":{"charts":0,"images":0,"macros":0,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"run_cost":"one","rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900","formulas":"cached_only"}

{"sheet":"Форма 1-НДФЛ","index":0,"n_rows":42,"n_cols":33,"rows_kept":42,"cut":false,"hidden":false,"merged":[],"flags":["formulas_cached_only"]}
["Раздел 3. Расчет налоговой базы и налога на доходы физического лица"]
["(для доходов, облагаемых по ставкам 13% и 30%)"]
["На начало налогового периода",{"$nulls":7},"Долг по налогу за налогоплательщиком",{"$nulls":9},"",null,null,null,"Сумма дохода, облагаемого по ставке 13%"]
[{"$nulls":8},"Долг по налогу за налоговым агентом",{"$nulls":9},"",null,null,null,"с предыдущего места работы",{"$nulls":9},""]
[]
["Наименование показателя",{"$nulls":6},"Январь",null,"Февраль",null,"Март",null,"Апрель",null,"Май",null,"Июнь",null,"Июль",null,"Август",null,"Сентябрь",null,null,"Октябрь",null,"Ноябрь",null,"Декабрь",null,"Итого"]
["2000",{"$nulls":6},"6520,74",null,"6293,38",null,"7095,74",null,"",null,"",null,"",null,"",null,"",null,"",null,null,"",null,"",null,"",null,"19909,86"]
["2010",{"$nulls":6},"",null,"2730,00",null,"2100,00",null,"",null,"",null,"",null,"",null,"",null,"",null,null,"",null,"",null,"",null,"4830,00"]
["2012",{"$nulls":6},"3078,46",null,"",null,"",null,"",null,"",null,"",null,"7503,98",null,"",null,"",null,null,"",null,"",null,"",null,"10582,44"]
[{"$nulls":7},"",null,"",null,"",null,"",null,"",null,"",null,"",null,"",null,"",null,null,"",null,"",null,"",null,""]
[{"$nulls":7},"",null,"",null,"",null,"",null,"",null,"",null,"",null,"",null,"",null,null,"",null,"",null,"",null,""]
["Налоговые вычеты,",{"$nulls":4},"код"]
["за исключением",{"$nulls":4},"код"]
["стандартных",{"$nulls":4},"код"]
["Общая сумма",{"$nulls":4},"за месяц",null,"9599,20",null,"9023,38",null,"9195,74",null,"",null,"",null,"",null,"7503,98",null,"",null,"",null,null,"",null,"",null,"",null,"35322,30"]
["доходов",{"$nulls":4},"с начала"]
[" за минусом вычетов",{"$nulls":4},"года",null,"9599,20",null,"18622,58",null,"27818,32",null,"27818,32",null,"27818,32",null,"27818,32",null,"35322,30",null,"35322,30",null,"35322,30",null,null,"35322,30",null,"35322,30",null,null,null,"35322,30"]
[{"$nulls":5},"за месяц"]
[{"$nulls":5},"(101)"]
["Стандартные",{"$nulls":4},"за месяц"]
["налоговые",{"$nulls":4},"(102)"]
["вычеты ",{"$nulls":4},"за месяц"]
["(статья 218",{"$nulls":4},"(103)",null,"400,00",null,"400,00",null,"400,00",null,"",null,"",null,"",null,"400,00",null,"",null,"",null,null,"",null,"",null,null,null,"1600,00"]
["Налогового",{"$nulls":4},"за месяц"]
["кодекса",{"$nulls":4},"(104)"]
["Российской",{"$nulls":4},"за месяц"]
["Федерации)",{"$nulls":4},"(105)"]
[{"$nulls":5},"Общая"]
[{"$nulls":5},"сумма с"]
[{"$nulls":5},"начала года",null,"400,00",null,"800,00",null,"1200,00",null,"1200,00",null,"1200,00",null,"1200,00",null,"1600,00",null,"1600,00",null,"1600,00",null,null,"1600,00",null,"1600,00",null,null,null,"1600,00"]
["Налоговая база"]
["(с начала года)",{"$nulls":6},"9199,20",null,"17822,58",null,"26618,32",null,"26618,32",null,"26618,32",null,"26618,32",null,"33722,30",null,"33722,30",null,"33722,30",null,null,"33722,30",null,"33722,30",null,null,null,"33722,30"]
["Налог исчисленный",{"$nulls":6},"1196,00",null,"2317,00",null,"3460,00",null,"3460,00",null,"3460,00",null,"3460,00",null,"4384,00",null,"4384,00",null,"4384,00",null,null,"4384,00",null,"4384,00",null,null,null,"4384,00"]
["Налог удержанный",{"$nulls":6},"1196,00",null,"2317,00",null,"3460,00",null,"3460,00",null,"3460,00",null,"3460,00",null,"4228,00",null,"4228,00",null,"4228,00",null,null,"4228,00",null,"4228,00",null,null,null,"4384,00"]
["Долг по налогу за"]
["налогоплательщиком",{"$nulls":6},"",null,"",null,"",null,"",null,"",null,"",null,"156,00",null,"156,00",null,"156,00",null,null,"156,00",null,"156,00",null,"",null,""]
["Долг по налогу за налоговым"]
["агентом",{"$nulls":6},"",null,"",null,"",null,"",null,"",null,"",null,"",null,"",null,"",null,null,"",null,"",null,"",null,""]
["Сумма налога, переданная на"]
["взыскание в налоговый орган"]
["Возвращена налоговым агентом"]
["излишне удержанная сумма налога",{"$nulls":6},"",null," ",null," ",null," ",null," ",null," ",null," ",null," ",null," ",null,null," ",null," ",null," ",null,""]

{"sheet":"Настройка","index":1,"n_rows":1170,"n_cols":7,"rows_kept":1170,"cut":false,"hidden":false,"merged":[],"flags":["formulas_cached_only"]}
[null,"редакция от 31.10.2003 (БГ-3-04/583)"]
[null,"__pFlAlone30 = .F.","WhenHeader"]
[null,"__pFlAlone35 = .F.","WhenHeader"]
[null,"__pN1 = Month(ThisForm.ThisFormData.d1)","WhenHeader"]
[null,"__pN2 = Month(ThisForm.ThisFormData.d2)","WhenHeader"]
[null,"__pFlCont =IIF(VarType(Rep_FlCont) = \"L\",Rep_FlCont, .F.)","WhenHeader"]
[null,"__pP2 = rtrim(ZANKTXBS.DOL)","WhenHeader"]
[null,"__pP3 = rtrim(ZANKTXBS.FIO)","WhenHeader"]
[null,"Dimension __pTaskTaxSum(25,2),__pTaskTaxSum1(2,2)","WhenHeader"]
[null,"Dimension __pInc13Month(1,30), __pInc13Month1(1,30), __pInc13Code(1,30), __pIncDis13Year(13),  __pIncDis13Month(13), __pDeductStandart(1,15)","WhenHeader"]
[null,"Dimension __pDeductMonth(1,15), __pDeductMonth1(1,15), __pDeductYear(13)","WhenHeader"]
[null,"Dimension __pDeductMonth101(1,15), __pDeductMonth102(1,15),__pDeductMonth103(1,15),__pDeductMonth104(1,15),__pDeductMonth105(1,15)","WhenHeader"]
[null,"Dimension __pDeductMonthImu(1,15)","WhenHeader"]
[null,"Dimension __pNalBase13(13), __pNalIsch13(13), __pNalUd13(13)","WhenHeader"]
[null,"Dimension __pTax13Month(1,15)","WhenHeader"]
[null,"Dimension __pDolgNal13(13),__pDolgagent13(13)","WhenHeader"]
[null,"Dimension __pNalBase30(13), __pStavka30(13), __pInc30Month(1,30), __pNalIsch30(13), __pTax30Month(1,15), __pZach30(13)","WhenHeader"]
[null,"Dimension __pDolgNal30(13),__pDolgagent30(13)","WhenHeader"]
[null,"Dimension __pInc352740(1,30), __pInc353010(1,15), __pInc351210(1,15), __pInc353020(1,15), __pInc352610(1,30)","WhenHeader"]
[null,"Dimension __pNalBase35(13), __pNalIsch35(13)","WhenHeader"]
[null,"Dimension __pDolgNal35(13),__pDolgagent35(13), __pTax35Month(1,15), __pInc35Month(1,30)","WhenHeader"]
[null,"Dimension  __pInc35Code(1,30)","WhenHeader"]
[null,"Dimension __pIncPrCode(1,30), __pIncPr(1,15)","WhenHeader"]
[null,"Dimension __pIncRFCode(1,30), __pIncRFMonth(1,30), __pNalBase5(13)","WhenHeader"]
[null,"Dimension __pDelta(13)","WhenHeader"]
[null,"__pTaskTaxSum1(1,1) = '\"Доход\",\"\",\"*13%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc13Month1\"'","WhenHeader"]
[null,"__pTaskTaxSum1(2,1) = '\"Вычет\",\"\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth1\"'","WhenHeader"]
[null,"__pTaskTaxSum(1,1) = '\"Доход\",\"\",\"*13%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc13Month\"'","WhenHeader"]
[null,"__pTaskTaxSum(2,1) = '\"Доход\",\"^*\",\"*13%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc13Code\"'","WhenHeader"]
[null,"__pTaskTaxSum(3,1) = '\"Вычет\",\"^*\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductStandart\"'","WhenHeader"]
[null,"__pTaskTaxSum(4,1) = '\"Вычет\",\"\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth\"'","WhenHeader"]
[null,"__pTaskTaxSum(5,1) = '\"Налог\",\"\",\"*13%\",\"\",\"\",\"SUM\",\"__pTax13Month\"'","WhenHeader"]
[null,"__pTaskTaxSum(6,1) = '\"Доход\",\"\",\"*30%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc30Month\"'","WhenHeader"]
[null,"__pTaskTaxSum(7,1) = '\"Налог\",\"\",\"*30%\",\"\",\"\",\"SUM\",\"__pTax30Month\"'","WhenHeader"]
[null,"__pTaskTaxSum(8,1) = '\"Доход\",\"*2740\",\"*35%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc352740\"'","WhenHeader"]
[null,"__pTaskTaxSum(9,1) = '\"Доход\",\"*3010\",\"*35%\",\"\",\"\",\"SUM\",\"__pInc353010\"'","WhenHeader"]
[null,"__pTaskTaxSum(10,1) = '\"Доход\",\"*1210\",\"*35%\",\"\",\"\",\"SUM\",\"__pInc351210\"'","WhenHeader"]
[null,"__pTaskTaxSum(11,1) = '\"Доход\",\"*3020\",\"*35%\",\"\",\"\",\"SUM\",\"__pInc353020\"'","WhenHeader"]
[null,"__pTaskTaxSum(12,1) = '\"Доход\",\"*2610\",\"*35%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc352610\"'","WhenHeader"]
[null,"__pTaskTaxSum(13,1) = '\"Налог\",\"\",\"*35%\",\"\",\"\",\"SUM\",\"__pTax35Month\"'","WhenHeader"]
[null,"__pTaskTaxSum(14,1) = '\"Доход\",\"^*\",\"*ПРОЧИЕ\",\"\",\"\",\"SUM,DISC_SUM\",\"__pIncPrCode\"'","WhenHeader"]
[null,"__pTaskTaxSum(15,1) = '\"Доход\",\"^*\",\"\",\"\",\"^*.T.\",\"SUM,DISC_SUM\",\"__pIncRfCode\"'","WhenHeader"]
[null,"__pTaskTaxSum(16,1) = '\"Доход\",\"\",\"\",\"\",\"^*.T.\",\"SUM,DISC_SUM\",\"__pIncRfMonth\"'","WhenHeader"]
[null,"__pTaskTaxSum(17,1) = '\"Вычет\",\"*105\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth105\"'","WhenHeader"]
[null,"__pTaskTaxSum(18,1) = '\"Вычет\",\"*104\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth104\"'","WhenHeader"]
[null,"__pTaskTaxSum(19,1) = '\"Вычет\",\"*103\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth103\"'","WhenHeader"]
[null,"__pTaskTaxSum(20,1) = '\"Вычет\",\"*101\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth101\"'","WhenHeader"]
[null,"__pTaskTaxSum(21,1) = '\"Вычет\",\"*102\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth102\"'","WhenHeader"]
[null,"__pTaskTaxSum(22,1) = '\"Вычет\",\"\",\"13%\",\"\",\"\",\"SUM\",\"__pDeductMonthImu\",\"ИВЫЧ\"'","WhenHeader"]
[null,"__pTaskTaxSum(23,1) = '\"Доход\",\"\",\"*35%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc35Month\"'","WhenHeader"]
[null,"__pTaskTaxSum(24,1) = '\"Доход\",\"^*\",\"*35%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc35Code\"'","WhenHeader"]
[null,"__pTaskTaxSum(25,1) = '\"*Доход\",\"\",\"ПРОЧИЕ\",\"\",\"\",\"SUM\",\"__pIncPr\"'","WhenHeader"]
[null,"ThisForm.ThisFormData.TAXSUM(ZANK.ANK_RN,@__pTaskTaxSum,__pFlCont)","WhenHeader"]
[null,"Для мат выгоды"]
[null,"__pInc35O = __pInc35Month(1,15)","WhenHeader"]
[null,"For i = 1 to __pTaskTaxSum(10,2)","WhenHeader"]
[null,"__pInc35O = iif(__pInc35Code(i,1) = \"2610\", __pInc35O-__pInc35Code(i,30), __pInc35O)","WhenHeader"]
[null,"EndFor","WhenHeader"]
[null,"Печатать или пропустить"]
[null,"__pSumDoh = __pInc13Month(1,15)+__pInc30Month(1,15)+__pInc35O+__pIncPr(1,15)","WhenHeader"]
[null,"__pSumNal = round(__pTax13Month(1,15)+__pTax30Month(1,15)+__pTax35Month(1,15),0)","WhenHeader"]
[null,"ThisForm.lSignLoopLine = __pSumDoh = 0 and __pSumNal = 0 and Rep_SkipAnk = 1","WhenHeader"]
[null,"******************"]
[null,"Dimension __pReceiver(10,2), __pRecAdr(10,2)","Header"]
[null,"__pReceiver(1,1) = \"ИНН\"","Header"]
[null,"__pReceiver(2,1) = \"ФАМ\"","Header"]
[null,"__pReceiver(3,1) = \"ИМЯ\"","Header"]
[null,"__pReceiver(4,1) = \"ОТЧ\"","Header"]
[null,"__pReceiver(5,1) = \"ДТН\"","Header"]
[null,"__pReceiver(6,1) = \"ДТП\"","Header"]
[null,"__pReceiver(7,1) = \"ДСР\"","Header"]
[null,"__pReceiver(8,1) = \"ДРД\"","Header"]
[null,"__pReceiver(9,1) = \"ПРЗ\"","Header"]
[null,"__pReceiver(10,1) = \"ДНМ\"","Header"]
[null,"__pRecAdr(1,1) = \"СТР\"","Header"]
[null,"__pRecAdr(2,1) = \"ИНД\"","Header"]
[null,"__pRecAdr(3,1) = \"РГР\"","Header"]
[null,"__pRecAdr(4,1) = \"РЙН\"","Header"]
[null,"__pRecAdr(5,1) = \"ГРН\"","Header"]
[null,"__pRecAdr(6,1) = \"НПН\"","Header"]
[null,"__pRecAdr(7,1) = \"УЛН\"","Header"]
[null,"__pRecAdr(8,1) = \"ДОМ\"","Header"]
[null,"__pRecAdr(9,1) = \"КОР\"","Header"]
[null,"__pRecAdr(10,1) = \"КВА\"","Header"]
[null,"ThisForm.ThisFormData.ContragentPrint(ZANK.ORGBASE_RN,@__pReceiver)","Header"]
[null,"ThisForm.ThisFormData.AddressPrint(ZANK.ORGBASE_RN,@__pRecAdr,\"Ю\")","Header"]
["Код_ИМНС","Rep_NumIMNS","Header"]
["Агент_ИНН","ThisForm.ThisFormData.Rep_cFirmInn","Header"]
[null,"__pP1=  rep_cEmployerRegNumber","Header"]
["Отчетный_год","ZANKTXBS.YEAR","Header"]
["Номер_карточки","rtrim(ZANKTXBS.CARDNUM)","Header"]
["Агент_наименование","ThisForm.ThisFormData.Rep_cFirmName","Header"]
["Код_OKATO","rtrim(ThisForm.ThisFormData.Seek_TableField(\"ORGBASE\",\"RN\",\"OKATO\",ThisForm.ThisFormData.Rep_cFirmORGRN))","Header"]
["Получатель_ИНН","__pReceiver(1,2)","Header"]
["Получатель_ПФР","ZANK.PF_ID","Header"]
[null,"__pP4 = ZANK.GNI_ID","Header"]
["Получатель_ФИО","rtrim(__pReceiver(2,2))+' '+rtrim(__pReceiver(3,2))+' '+rtrim(__pReceiver(4,2))","Header"]
[null,"__pP5 = rtrim(__pReceiver(5,2))","Header"]
["Получатель_кд","__pReceiver(6,2)","Header"]
["Получатель_сд","rtrim(__pReceiver(7,2))+rtrim(__pReceiver(10,2))","Header"]
["Ролучатель_дата_рд","dtoc(__pReceiver(8,2))","Header"]
["Получатель_гражданство_код","rtrim(ThisForm.ThisFormData.Seek_TableField(\"COUNTRY\",\"RN\",\"OKSM\",__pRecAdr(1,2)))","Header"]
["Получатель_страна_код","rtrim(ThisForm.ThisFormData.Seek_TableField(\"COUNTRY\",\"RN\",\"OKSM\",__pRecAdr(1,2)))","Header"]
["Получатель_индекс","__pRecAdr(2,2)","Header"]
["Получатель_регион","rtrim(ThisForm.ThisFormData.Seek_TableField(\"REGION\",\"RN\",\"SOGNI\", __pRecAdr(1,2)+__pRecAdr(3,2)))","Header"]
["Получатель_район","__pRecAdr(4,2)","Header"]
["Получатель_город","__pRecAdr(5,2)","Header"]
["Получатель_пункт","__pRecAdr(6,2)","Header"]
["Получатель_улица","__pRecAdr(7,2)","Header"]
["Получатель_дом","__pRecAdr(8,2)","Header"]
["Получатель_корпус","__pRecAdr(9,2)","Header"]
["Получатель_квартира","__pRecAdr(10,2)","Header"]
["Получатель_статус","iif(__pReceiver(9,2),1,2)","Header"]
[null,"__plRezident = __pReceiver(9,2)","Header"]
[null,"__pD1 = ThisForm.ThisFormData.D1","Header"]
[null,"__pD2 = ThisForm.ThisFormData.D2","Header"]
[null,"__pNDedu =ThisForm.ThisFormData.Count_Table(\"ZANKFAM\",\"F_ORGBASE\",\"*\",ZANK.ORGBASE_RN,\"ZANKFAM.ORGBASE_RN=ZANK.ORGBASE_Rn\",\"!Empty(ZANKFAM.TAXREP_RN).and.ZANKFAM.DEDU_START<=__pD1.and.ZANKFAM.DEDU_END>=__pD1\")","Header"]
["Вычеты_заявлены","iif(__pNDedu>0,1,2)","Header"]
[null,"__pP6 = rtrim(ZTIPDOL.NAME)","Header"]
[null,"__pP7 = dtoc(ZFCAC.STARTDATE)","Header"]
[null,"ThisForm.ThisFormData.SPRSUM(ZANK.ANK_RN,@__pTaskTaxSum1,__pFlCont)","Header"]
[null,"ThisForm.ThisFormData.Correct_Dim(' __pInc13Code',5,30,0)","Header"]
[null,"ThisForm.ThisFormData.Correct_Dim(' __pDeductStandart',5,15,0)","Header"]
[null,"ThisForm.ThisFormData.Correct_Dim(' __pIncPrCode',5,30,0)","Header"]
[null,"ThisForm.ThisFormData.Correct_Dim(' __pIncRfCode',5,30,0)","Header"]
[null,"Dime __pInd13(3), __pImu13(3)","Header"]
[null,"Store 0 to __pInd, __pInd13","Header"]
[null,"For i = 1 to Alen(__pInc13Code,1)","Header"]
[null,"__pInd = __pInd + 1","Header"]
[null,"__pFlag1 = __pInd13(1)=0 and !Empty(__pInc13Code(__pInd,16))","Header"]
[null,"__pFlag2 = __pInd13(2)=0 and __pInd13(1)#0 and !Empty(__pInc13Code(__pInd,16))","Header"]
[null,"__pFlag3 = __pInd13(3)=0 and __pInd13(1)#0 and __pInd13(2)#0 and !Empty(__pInc13Code(__pInd,16))","Header"]
[null,"__pInd13(1) = IIF(__pFlag1, __pInd, __pInd13(1))","Header"]
[null,"__pInd13(2) = IIF(__pFlag2, __pInd, __pInd13(2))","Header"]
[null,"__pInd13(3) = IIF(__pFlag3, __pInd, __pInd13(3))","Header"]
[null,"EndFor","Header"]
[null,"Store 0 to __pInd, __pImu13","Header"]
[null,"Формируем данные по 3-м возможным имущественным вычетам на свободные позиции в отчете"]
[null,"For i = 1 to Alen(__pDeductMonthImu,1)","Header",null,"&& Обработка имущественных вычетов"]
[null,"__pInd = __pInd + 1","Header"]
[null,"__pFlag1 = __pImu13(1)=0 and !Empty(__pDeductMonthImu(__pInd,15))","Header"]
[null,"__pFlag2 = __pImu13(2)=0 and __pImu13(1)#0 and !Empty(__pDeductMonthImu(__pInd,15))","Header"]
[null,"__pFlag3 = __pImu13(3)=0 and __pImu13(1)#0 and __pImu13(2)#0 and !Empty(__pDeductMonthImu(__pInd,15))","Header"]
[null,"__pImu13(1) = IIF(__pFlag1, __pInd, __pImu13(1))","Header"]
[null,"__pImu13(2) = IIF(__pFlag2, __pInd, __pImu13(2))","Header"]
[null,"__pImu13(3) = IIF(__pFlag3, __pInd, __pImu13(3))","Header"]
[null,"EndFor","Header"]
[null,"Store 0 to __pIncDis13Year,  __pDeductYear, __pNalBase13, __pNalIsch13, __pNalBase13, __pNalIsch13, __pNalUd13","Header"]
[null,"Store 0 to __pDolgNal13,__pDolgagent13","Header"]
[null,"Store 0 to __pStavka30, __pNalIsch30, __pDolgNal30,__pDolgagent30, __pZach30","Header"]
[null,"Store 0 to __pNalBase35, __pNalIsch35, __pDolgNal35,__pDolgagent35","Header"]
[null,"Store 0 to __pNalBase5, __pSprNalBase, __pDelta","Header"]
["Долг13_налогоплательщик","iif(__pTax13Month(1,2)>0, Allt(STR(__pTax13Month(1,2),16,2)),\"\")","Header"]
["Долг13_агент","iif(__pTax13Month(1,2)<0, Allt(STR(abs(__pTax13Month(1,2)),16,2)),\"\")","Header"]
["Возвр13_агент","iif(__pTax13Month(1,2)<0, Allt(STR(abs(__pTax13Month(1,2)),16,2)),\"\")","Header"]
["Возвр13_агент1","iif(__pTax13Month(1,2)<0, Allt(STR(abs(__pTax13Month(1,2)),16,2)),\"\")","Header"]
["Долг6_налогоплательщик","iif(__pTax30Month(1,2)>0, Allt(STR(__pTax30Month(1,2),16,2)),\"\")","Header"]
["Долг6_агент","iif(__pTax30Month(1,2)<0, Allt(STR(abs(__pTax30Month(1,2)),16,2)),\"\")","Header"]
["Возвр6_агент","iif(__pTax30Month(1,2)<0, Allt(STR(abs(__pTax30Month(1,2)),16,2)),\"\")","Header"]
["Возвр6_агент1","iif(__pTax30Month(1,2)<0, Allt(STR(abs(__pTax30Month(1,2)),16,2)),\"\")","Header"]
["Долг13_налогоплательщик1","iif(__pTax13Month(1,2)>0, Allt(STR(__pTax13Month(1,2),16,2)),\"\")","Header","__plRezident"]
["Долг13_агент1","iif(__pTax13Month(1,2)<0, Allt(STR(abs(__pTax13Month(1,2)),16,2)),\"\")","Header","__plRezident"]
["Долг30_налогоплательщик","\"\"","Header","__plRezident"]
["Долг30_агент","\"\"","Header","__plRezident"]
["Долг13_налогоплательщик1","\"\"","Header","!__plRezident"]
["Долг13_агент1","\"\"","Header","!__plRezident"]
["Долг30_налогоплательщик","iif(__pTax13Month(1,2)>0, Allt(STR(__pTax13Month(1,2),16,2)),\"\")","Header","!__plRezident"]
["Долг30_агент","iif(__pTax13Month(1,2)<0, Allt(STR(abs(__pTax13Month(1,2)),16,2)),\"\")","Header","!__plRezident"]
["Долг35_налогоплательщик","iif(__pTax35Month(1,2)>0, Allt(STR(__pTax35Month(1,2),16,2)),\"\")","Header"]
["Долг35_агент","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Header"]
[null,"__pDolg = __pTax13Month(1,2) + __pTax30Month(1,2)+ __pTax35Month(1,2)","Header"]
["Долг_итого_налогоплательщик_13_30_35","iif(__pDolg>0, Allt(STR(__pDolg,16,2)),\"\")","Header"]
["Долг_итого_агент_13_30_35","iif(__pDolg<0, Allt(STR(abs(__pDolg),16,2)),\"\")","Header"]
[null,"For i = __pN1 to __pN2","Header","__plRezident"]
[null,"__pSprNalBase = __pSprNalBase + __pInc13Month1(1,i+2) -__pInc13Month1(1,i+17)","Header","__plRezident"]
[null,"EndFor","Header","__plRezident"]
["Предыдущее_место_работы_13","IIF(__pSprNalBase # 0, Allt(STR(__pSprNalBase,16,2)),\"\")","Header"]
["КД1_13","__pInc13Code(1,1)","Header"]
["СД1_1_13","IIF(__pInc13Code(1,3) # 0, Allt(STR(__pInc13Code(1,3),16,2)),\"\")","Header"]
["СД1_2_13","IIF(__pInc13Code(1,4) # 0, Allt(STR(__pInc13Code(1,4),16,2)),\"\")","Header"]
["СД1_3_13","IIF(__pInc13Code(1,5) # 0, Allt(STR(__pInc13Code(1,5),16,2)),\"\")","Header"]
["СД1_4_13","IIF(__pInc13Code(1,6) # 0, Allt(STR(__pInc13Code(1,6),16,2)),\"\")","Header"]
["СД1_5_13","IIF(__pInc13Code(1,7) # 0, Allt(STR(__pInc13Code(1,7),16,2)),\"\")","Header"]
["СД1_6_13","IIF(__pInc13Code(1,8) # 0, Allt(STR(__pInc13Code(1,8),16,2)),\"\")","Header"]
["СД1_7_13","IIF(__pInc13Code(1,9) # 0, Allt(STR(__pInc13Code(1,9),16,2)),\"\")","Header"]
["СД1_8_13","IIF(__pInc13Code(1,10) # 0, Allt(STR(__pInc13Code(1,10),16,2)),\"\")","Header"]
["СД1_9_13","IIF(__pInc13Code(1,11) # 0, Allt(STR(__pInc13Code(1,11),16,2)),\"\")","Header"]
["СД1_10_13","IIF(__pInc13Code(1,12) # 0, Allt(STR(__pInc13Code(1,12),16,2)),\"\")","Header"]
["СД1_11_13","IIF(__pInc13Code(1,13) # 0, Allt(STR(__pInc13Code(1,13),16,2)),\"\")","Header"]
["СД1_12_13","IIF(__pInc13Code(1,14) # 0, Allt(STR(__pInc13Code(1,14),16,2)),\"\")","Header"]
["СД1_итого_13","IIF(__pInc13Code(1,15) # 0, Allt(STR(__pInc13Code(1,15),16,2)),\"\")","Header"]
["КД2_13","__pInc13Code(2,1)","Header"]
["СД2_1_13","IIF(__pInc13Code(2,3) # 0, Allt(STR(__pInc13Code(2,3),16,2)),\"\")","Header"]
["СД2_2_13","IIF(__pInc13Code(2,4) # 0, Allt(STR(__pInc13Code(2,4),16,2)),\"\")","Header"]
["СД2_3_13","IIF(__pInc13Code(2,5) # 0, Allt(STR(__pInc13Code(2,5),16,2)),\"\")","Header"]
["СД2_4_13","IIF(__pInc13Code(2,6) # 0, Allt(STR(__pInc13Code(2,6),16,2)),\"\")","Header"]
["СД2_5_13","IIF(__pInc13Code(2,7) # 0, Allt(STR(__pInc13Code(2,7),16,2)),\"\")","Header"]
["СД2_6_13","IIF(__pInc13Code(2,8) # 0, Allt(STR(__pInc13Code(2,8),16,2)),\"\")","Header"]
["СД2_7_13","IIF(__pInc13Code(2,9) # 0, Allt(STR(__pInc13Code(2,9),16,2)),\"\")","Header"]
["СД2_8_13","IIF(__pInc13Code(2,10) # 0, Allt(STR(__pInc13Code(2,10),16,2)),\"\")","Header"]
["СД2_9_13","IIF(__pInc13Code(2,11) # 0, Allt(STR(__pInc13Code(2,11),16,2)),\"\")","Header"]
["СД2_10_13","IIF(__pInc13Code(2,12) # 0, Allt(STR(__pInc13Code(2,12),16,2)),\"\")","Header"]
["СД2_11_13","IIF(__pInc13Code(2,13) # 0, Allt(STR(__pInc13Code(2,13),16,2)),\"\")","Header"]
["СД2_12_13","IIF(__pInc13Code(2,14) # 0, Allt(STR(__pInc13Code(2,14),16,2)),\"\")","Header"]
["СД2_итого_13","IIF(__pInc13Code(2,15) # 0, Allt(STR(__pInc13Code(2,15),16,2)),\"\")","Header"]
["КД3_13","__pInc13Code(3,1)","Header"]
["СД3_1_13","IIF(__pInc13Code(3,3) # 0, Allt(STR(__pInc13Code(3,3),16,2)),\"\")","Header"]
["СД3_2_13","IIF(__pInc13Code(3,4) # 0, Allt(STR(__pInc13Code(3,4),16,2)),\"\")","Header"]
["СД3_3_13","IIF(__pInc13Code(3,5) # 0, Allt(STR(__pInc13Code(3,5),16,2)),\"\")","Header"]
["СД3_4_13","IIF(__pInc13Code(3,6) # 0, Allt(STR(__pInc13Code(3,6),16,2)),\"\")","Header"]
["СД3_5_13","IIF(__pInc13Code(3,7) # 0, Allt(STR(__pInc13Code(3,7),16,2)),\"\")","Header"]
["СД3_6_13","IIF(__pInc13Code(3,8) # 0, Allt(STR(__pInc13Code(3,8),16,2)),\"\")","Header"]
["СД3_7_13","IIF(__pInc13Code(3,9) # 0, Allt(STR(__pInc13Code(3,9),16,2)),\"\")","Header"]
["СД3_8_13","IIF(__pInc13Code(3,10) # 0, Allt(STR(__pInc13Code(3,10),16,2)),\"\")","Header"]
["СД3_9_13","IIF(__pInc13Code(3,11) # 0, Allt(STR(__pInc13Code(3,11),16,2)),\"\")","Header"]
["СД3_10_13","IIF(__pInc13Code(3,12) # 0, Allt(STR(__pInc13Code(3,12),16,2)),\"\")","Header"]
["СД3_11_13","IIF(__pInc13Code(3,13) # 0, Allt(STR(__pInc13Code(3,13),16,2)),\"\")","Header"]
["СД3_12_13","IIF(__pInc13Code(3,14) # 0, Allt(STR(__pInc13Code(3,14),16,2)),\"\")","Header"]
["СД3_итого_13","IIF(__pInc13Code(3,15) # 0, Allt(STR(__pInc13Code(3,15),16,2)),\"\")","Header"]
["КД4_13","__pInc13Code(4,1)","Header"]
["СД4_1_13","IIF(__pInc13Code(4,3) # 0, Allt(STR(__pInc13Code(4,3),16,2)),\"\")","Header"]
["СД4_2_13","IIF(__pInc13Code(4,4) # 0, Allt(STR(__pInc13Code(4,4),16,2)),\"\")","Header"]
["СД4_3_13","IIF(__pInc13Code(4,5) # 0, Allt(STR(__pInc13Code(4,5),16,2)),\"\")","Header"]
["СД4_4_13","IIF(__pInc13Code(4,6) # 0, Allt(STR(__pInc13Code(4,6),16,2)),\"\")","Header"]
["СД4_5_13","IIF(__pInc13Code(4,7) # 0, Allt(STR(__pInc13Code(4,7),16,2)),\"\")","Header"]
["СД4_6_13","IIF(__pInc13Code(4,8) # 0, Allt(STR(__pInc13Code(4,8),16,2)),\"\")","Header"]
["СД4_7_13","IIF(__pInc13Code(4,9) # 0, Allt(STR(__pInc13Code(4,9),16,2)),\"\")","Header"]
["СД4_8_13","IIF(__pInc13Code(4,10) # 0, Allt(STR(__pInc13Code(4,10),16,2)),\"\")","Header"]
["СД4_9_13","IIF(__pInc13Code(4,11) # 0, Allt(STR(__pInc13Code(4,11),16,2)),\"\")","Header"]
["СД4_10_13","IIF(__pInc13Code(4,12) # 0, Allt(STR(__pInc13Code(4,12),16,2)),\"\")","Header"]
["СД4_11_13","IIF(__pInc13Code(4,13) # 0, Allt(STR(__pInc13Code(4,13),16,2)),\"\")","Header"]
["СД4_12_13","IIF(__pInc13Code(4,14) # 0, Allt(STR(__pInc13Code(4,14),16,2)),\"\")","Header"]
["СД4_итого_13","IIF(__pInc13Code(4,15) # 0, Allt(STR(__pInc13Code(4,15),16,2)),\"\")","Header"]
["КД5_13","__pInc13Code(5,1)","Header"]
["СД5_1_13","IIF(__pInc13Code(5,3) # 0, Allt(STR(__pInc13Code(5,3),16,2)),\"\")","Header"]
["СД5_2_13","IIF(__pInc13Code(5,4) # 0, Allt(STR(__pInc13Code(5,4),16,2)),\"\")","Header"]
["СД5_3_13","IIF(__pInc13Code(5,5) # 0, Allt(STR(__pInc13Code(5,5),16,2)),\"\")","Header"]
["СД5_4_13","IIF(__pInc13Code(5,6) # 0, Allt(STR(__pInc13Code(5,6),16,2)),\"\")","Header"]
["СД5_5_13","IIF(__pInc13Code(5,7) # 0, Allt(STR(__pInc13Code(5,7),16,2)),\"\")","Header"]
["СД5_6_13","IIF(__pInc13Code(5,8) # 0, Allt(STR(__pInc13Code(5,8),16,2)),\"\")","Header"]
["СД5_7_13","IIF(__pInc13Code(5,9) # 0, Allt(STR(__pInc13Code(5,9),16,2)),\"\")","Header"]
["СД5_8_13","IIF(__pInc13Code(5,10) # 0, Allt(STR(__pInc13Code(5,10),16,2)),\"\")","Header"]
["СД5_9_13","IIF(__pInc13Code(5,11) # 0, Allt(STR(__pInc13Code(5,11),16,2)),\"\")","Header"]
["СД5_10_13","IIF(__pInc13Code(5,12) # 0, Allt(STR(__pInc13Code(5,12),16,2)),\"\")","Header"]
["СД5_11_13","IIF(__pInc13Code(5,13) # 0, Allt(STR(__pInc13Code(5,13),16,2)),\"\")","Header"]
["СД5_12_13","IIF(__pInc13Code(5,14) # 0, Allt(STR(__pInc13Code(5,14),16,2)),\"\")","Header"]
["СД5_итого_13","IIF(__pInc13Code(5,15) # 0, Allt(STR(__pInc13Code(5,15),16,2)),\"\")","Header"]
["КВ1_13","__pInc13Code(__pInd13(1),16)","Header","__pInd13(1)#0"]
["СВ1_1_13","IIF(__pInc13Code(__pInd13(1),18) # 0, Allt(STR(__pInc13Code(__pInd13(1),18),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_2_13","IIF(__pInc13Code(__pInd13(1),19) # 0, Allt(STR(__pInc13Code(__pInd13(1),19),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_3_13","IIF(__pInc13Code(__pInd13(1),20) # 0, Allt(STR(__pInc13Code(__pInd13(1),20),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_4_13","IIF(__pInc13Code(__pInd13(1),21) # 0, Allt(STR(__pInc13Code(__pInd13(1),21),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_5_13","IIF(__pInc13Code(__pInd13(1),22) # 0, Allt(STR(__pInc13Code(__pInd13(1),22),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_6_13","IIF(__pInc13Code(__pInd13(1),23) # 0, Allt(STR(__pInc13Code(__pInd13(1),23),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_7_13","IIF(__pInc13Code(__pInd13(1),24) # 0, Allt(STR(__pInc13Code(__pInd13(1),24),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_8_13","IIF(__pInc13Code(__pInd13(1),25) # 0, Allt(STR(__pInc13Code(__pInd13(1),25),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_9_13","IIF(__pInc13Code(__pInd13(1),26) # 0, Allt(STR(__pInc13Code(__pInd13(1),26),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_10_13","IIF(__pInc13Code(__pInd13(1),27) # 0, Allt(STR(__pInc13Code(__pInd13(1),27),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_11_13","IIF(__pInc13Code(__pInd13(1),28) # 0, Allt(STR(__pInc13Code(__pInd13(1),28),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_12_13","IIF(__pInc13Code(__pInd13(1),29) # 0, Allt(STR(__pInc13Code(__pInd13(1),29),16,2)),\"\")","Header","__pInd13(1)#0"]
["СВ1_итого_13","IIF(__pInc13Code(__pInd13(1),30) # 0, Allt(STR(__pInc13Code(__pInd13(1),30),16,2)),\"\")","Header","__pInd13(1)#0"]
["КВ1_13","__pDeductMonthImu(__pImu13(1),1)","Header","__pImu13(1)#0",null,"Свободная позиция отчета заполняется имущественным вычетом"]
["СВ1_1_13","IIF(__pDeductMonthImu(__pImu13(1),03) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),03),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_2_13","IIF(__pDeductMonthImu(__pImu13(1),04) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),04),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_3_13","IIF(__pDeductMonthImu(__pImu13(1),05) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),05),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_4_13","IIF(__pDeductMonthImu(__pImu13(1),06) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),06),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_5_13","IIF(__pDeductMonthImu(__pImu13(1),07) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),07),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_6_13","IIF(__pDeductMonthImu(__pImu13(1),08) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),08),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_7_13","IIF(__pDeductMonthImu(__pImu13(1),09) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),09),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_8_13","IIF(__pDeductMonthImu(__pImu13(1),10) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),10),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_9_13","IIF(__pDeductMonthImu(__pImu13(1),11) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),11),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_10_13","IIF(__pDeductMonthImu(__pImu13(1),12) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),12),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_11_13","IIF(__pDeductMonthImu(__pImu13(1),13) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),13),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_12_13","IIF(__pDeductMonthImu(__pImu13(1),14) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),14),16,2)),\"\")","Header","__pImu13(1)#0"]
["СВ1_итого_13","IIF(__pDeductMonthImu(__pImu13(1),15) # 0, Allt(STR(__pDeductMonthImu(__pImu13(1),15),16,2)),\"\")","Header","__pImu13(1)#0"]
["КВ2_13","__pInc13Code(__pInd13(2),16)","Header","__pInd13(2)#0"]
["СВ2_1_13","IIF(__pInc13Code(__pInd13(2),18) # 0, Allt(STR(__pInc13Code(__pInd13(2),18),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_2_13","IIF(__pInc13Code(__pInd13(2),19) # 0, Allt(STR(__pInc13Code(__pInd13(2),19),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_3_13","IIF(__pInc13Code(__pInd13(2),20) # 0, Allt(STR(__pInc13Code(__pInd13(2),20),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_4_13","IIF(__pInc13Code(__pInd13(2),21) # 0, Allt(STR(__pInc13Code(__pInd13(2),21),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_5_13","IIF(__pInc13Code(__pInd13(2),22) # 0, Allt(STR(__pInc13Code(__pInd13(2),22),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_6_13","IIF(__pInc13Code(__pInd13(2),23) # 0, Allt(STR(__pInc13Code(__pInd13(2),23),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_7_13","IIF(__pInc13Code(__pInd13(2),24) # 0, Allt(STR(__pInc13Code(__pInd13(2),24),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_8_13","IIF(__pInc13Code(__pInd13(2),25) # 0, Allt(STR(__pInc13Code(__pInd13(2),25),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_9_13","IIF(__pInc13Code(__pInd13(2),26) # 0, Allt(STR(__pInc13Code(__pInd13(2),26),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_10_13","IIF(__pInc13Code(__pInd13(2),27) # 0, Allt(STR(__pInc13Code(__pInd13(2),27),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_11_13","IIF(__pInc13Code(__pInd13(2),28) # 0, Allt(STR(__pInc13Code(__pInd13(2),28),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_12_13","IIF(__pInc13Code(__pInd13(2),29) # 0, Allt(STR(__pInc13Code(__pInd13(2),29),16,2)),\"\")","Header","__pInd13(2)#0"]
["СВ2_итого_13","IIF(__pInc13Code(__pInd13(2),30) # 0, Allt(STR(__pInc13Code(__pInd13(2),30),16,2)),\"\")","Header","__pInd13(2)#0"]
["КВ2_13","__pDeductMonthImu(__pImu13(2),1)","Header","__pImu13(2)#0",null,"Свободная позиция отчета заполняется имущественным вычетом"]
["СВ2_1_13","IIF(__pDeductMonthImu(__pImu13(2),03) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),03),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_2_13","IIF(__pDeductMonthImu(__pImu13(2),04) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),04),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_3_13","IIF(__pDeductMonthImu(__pImu13(2),05) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),05),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_4_13","IIF(__pDeductMonthImu(__pImu13(2),06) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),06),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_5_13","IIF(__pDeductMonthImu(__pImu13(2),07) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),07),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_6_13","IIF(__pDeductMonthImu(__pImu13(2),08) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),08),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_7_13","IIF(__pDeductMonthImu(__pImu13(2),09) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),09),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_8_13","IIF(__pDeductMonthImu(__pImu13(2),10) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),10),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_9_13","IIF(__pDeductMonthImu(__pImu13(2),11) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),11),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_10_13","IIF(__pDeductMonthImu(__pImu13(2),12) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),12),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_11_13","IIF(__pDeductMonthImu(__pImu13(2),13) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),13),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_12_13","IIF(__pDeductMonthImu(__pImu13(2),14) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),14),16,2)),\"\")","Header","__pImu13(2)#0"]
["СВ2_итого_13","IIF(__pDeductMonthImu(__pImu13(2),15) # 0, Allt(STR(__pDeductMonthImu(__pImu13(2),15),16,2)),\"\")","Header","__pImu13(2)#0"]
["КВ3_13","__pInc13Code(__pInd13(3),16)","Header","__pInd13(3)#0"]
["СВ3_1_13","IIF(__pInc13Code(__pInd13(3),18) # 0, Allt(STR(__pInc13Code(__pInd13(3),18),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_2_13","IIF(__pInc13Code(__pInd13(3),19) # 0, Allt(STR(__pInc13Code(__pInd13(3),19),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_3_13","IIF(__pInc13Code(__pInd13(3),20) # 0, Allt(STR(__pInc13Code(__pInd13(3),20),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_4_13","IIF(__pInc13Code(__pInd13(3),21) # 0, Allt(STR(__pInc13Code(__pInd13(3),21),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_5_13","IIF(__pInc13Code(__pInd13(3),22) # 0, Allt(STR(__pInc13Code(__pInd13(3),22),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_6_13","IIF(__pInc13Code(__pInd13(3),23) # 0, Allt(STR(__pInc13Code(__pInd13(3),23),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_7_13","IIF(__pInc13Code(__pInd13(3),24) # 0, Allt(STR(__pInc13Code(__pInd13(3),24),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_8_13","IIF(__pInc13Code(__pInd13(3),25) # 0, Allt(STR(__pInc13Code(__pInd13(3),25),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_9_13","IIF(__pInc13Code(__pInd13(3),26) # 0, Allt(STR(__pInc13Code(__pInd13(3),26),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_10_13","IIF(__pInc13Code(__pInd13(3),27) # 0, Allt(STR(__pInc13Code(__pInd13(3),27),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_11_13","IIF(__pInc13Code(__pInd13(3),28) # 0, Allt(STR(__pInc13Code(__pInd13(3),28),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_12_13","IIF(__pInc13Code(__pInd13(3),29) # 0, Allt(STR(__pInc13Code(__pInd13(3),29),16,2)),\"\")","Header","__pInd13(3)#0"]
["СВ3_итого_13","IIF(__pInc13Code(__pInd13(3),30) # 0, Allt(STR(__pInc13Code(__pInd13(3),30),16,2)),\"\")","Header","__pInd13(3)#0"]
["КВ3_13","__pDeductMonthImu(__pImu13(3),1)","Header","__pImu13(3)#0",null,"Свободная позиция отчета заполняется имущественным вычетом"]
["СВ3_1_13","IIF(__pDeductMonthImu(__pImu13(3),03) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),03),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_2_13","IIF(__pDeductMonthImu(__pImu13(3),04) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),04),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_3_13","IIF(__pDeductMonthImu(__pImu13(3),05) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),05),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_4_13","IIF(__pDeductMonthImu(__pImu13(3),06) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),06),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_5_13","IIF(__pDeductMonthImu(__pImu13(3),07) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),07),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_6_13","IIF(__pDeductMonthImu(__pImu13(3),08) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),08),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_7_13","IIF(__pDeductMonthImu(__pImu13(3),09) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),09),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_8_13","IIF(__pDeductMonthImu(__pImu13(3),10) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),10),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_9_13","IIF(__pDeductMonthImu(__pImu13(3),11) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),11),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_10_13","IIF(__pDeductMonthImu(__pImu13(3),12) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),12),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_11_13","IIF(__pDeductMonthImu(__pImu13(3),13) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),13),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_12_13","IIF(__pDeductMonthImu(__pImu13(3),14) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),14),16,2)),\"\")","Header","__pImu13(3)#0"]
["СВ3_итого_13","IIF(__pDeductMonthImu(__pImu13(3),15) # 0, Allt(STR(__pDeductMonthImu(__pImu13(3),15),16,2)),\"\")","Header","__pImu13(3)#0"]
[null,"__pIncDis13Month = 0","Header"]
[null,"__pIncDis13Month(1) = __pInc13Month(1,3)-__pInc13Month(1,18)","Header"]
[null,"__pIncDis13Month(1) = __pIncDis13Month(1) - __pDeductMonthImu(__pImu13(1),3)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(1) = __pIncDis13Month(1) - __pDeductMonthImu(__pImu13(2),3)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(1) = __pIncDis13Month(1) - __pDeductMonthImu(__pImu13(3),3)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ1_13","IIF(__pIncDis13Month(1) # 0, Allt(STR(__pIncDis13Month(1),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(2) = __pInc13Month(1,4)-__pInc13Month(1,19)","Header"]
[null,"__pIncDis13Month(2) = __pIncDis13Month(2) - __pDeductMonthImu(__pImu13(1),4)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(2) = __pIncDis13Month(2) - __pDeductMonthImu(__pImu13(2),4)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(2) = __pIncDis13Month(2) - __pDeductMonthImu(__pImu13(3),4)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ2_13","IIF(__pIncDis13Month(2) # 0, Allt(STR(__pIncDis13Month(2),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(3) = __pInc13Month(1,5)-__pInc13Month(1,20)","Header"]
[null,"__pIncDis13Month(3) = __pIncDis13Month(3) - __pDeductMonthImu(__pImu13(1),5)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(3) = __pIncDis13Month(3) - __pDeductMonthImu(__pImu13(2),5)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(3) = __pIncDis13Month(3) - __pDeductMonthImu(__pImu13(3),5)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ3_13","IIF(__pIncDis13Month(3) # 0, Allt(STR(__pIncDis13Month(3),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(4) = __pInc13Month(1,6)-__pInc13Month(1,21)","Header"]
[null,"__pIncDis13Month(4) = __pIncDis13Month(4) - __pDeductMonthImu(__pImu13(1),6)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(4) = __pIncDis13Month(4) - __pDeductMonthImu(__pImu13(2),6)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(4) = __pIncDis13Month(4) - __pDeductMonthImu(__pImu13(3),6)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ4_13","IIF(__pIncDis13Month(4) # 0, Allt(STR(__pIncDis13Month(4),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(5) =__pInc13Month(1,7)-__pInc13Month(1,22)","Header"]
[null,"__pIncDis13Month(5) = __pIncDis13Month(5) - __pDeductMonthImu(__pImu13(1),7)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(5) = __pIncDis13Month(5) - __pDeductMonthImu(__pImu13(2),7)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(5) = __pIncDis13Month(5) - __pDeductMonthImu(__pImu13(3),7)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ5_13","IIF(__pIncDis13Month(5) # 0, Allt(STR(__pIncDis13Month(5),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(6) = __pInc13Month(1,8)-__pInc13Month(1,23)","Header"]
[null,"__pIncDis13Month(6) = __pIncDis13Month(6) - __pDeductMonthImu(__pImu13(1),8)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(6) = __pIncDis13Month(6) - __pDeductMonthImu(__pImu13(2),8)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(6) = __pIncDis13Month(6) - __pDeductMonthImu(__pImu13(3),8)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ6_13","IIF(__pIncDis13Month(6) # 0, Allt(STR(__pIncDis13Month(6),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(7) = __pInc13Month(1,9)-__pInc13Month(1,24)","Header"]
[null,"__pIncDis13Month(7) = __pIncDis13Month(7) - __pDeductMonthImu(__pImu13(1),9)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(7) = __pIncDis13Month(7) - __pDeductMonthImu(__pImu13(2),9)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(7) = __pIncDis13Month(7) - __pDeductMonthImu(__pImu13(3),9)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ7_13","IIF(__pIncDis13Month(7) # 0, Allt(STR(__pIncDis13Month(7),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(8) =__pInc13Month(1,10)-__pInc13Month(1,25)","Header"]
[null,"__pIncDis13Month(8) = __pIncDis13Month(8) - __pDeductMonthImu(__pImu13(1),10)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(8) = __pIncDis13Month(8) - __pDeductMonthImu(__pImu13(2),10)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(8) = __pIncDis13Month(8) - __pDeductMonthImu(__pImu13(3),10)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ8_13","IIF(__pIncDis13Month(8) # 0, Allt(STR(__pIncDis13Month(8),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(9) = __pInc13Month(1,11)-__pInc13Month(1,26)","Header"]
[null,"__pIncDis13Month(9) = __pIncDis13Month(9) - __pDeductMonthImu(__pImu13(1),11)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(9) = __pIncDis13Month(9) - __pDeductMonthImu(__pImu13(2),11)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(9) = __pIncDis13Month(9) - __pDeductMonthImu(__pImu13(3),11)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ9_13","IIF(__pIncDis13Month(9) # 0, Allt(STR(__pIncDis13Month(9),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(10) = __pInc13Month(1,12)-__pInc13Month(1,27)","Header"]
[null,"__pIncDis13Month(10) = __pIncDis13Month(10) - __pDeductMonthImu(__pImu13(1),12)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(10) = __pIncDis13Month(10) - __pDeductMonthImu(__pImu13(2),12)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(10) = __pIncDis13Month(10) - __pDeductMonthImu(__pImu13(3),12)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ10_13","IIF(__pIncDis13Month(10) # 0, Allt(STR(__pIncDis13Month(10),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(11) = __pInc13Month(1,13)-__pInc13Month(1,28)","Header"]
[null,"__pIncDis13Month(11) = __pIncDis13Month(11) - __pDeductMonthImu(__pImu13(1),13)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(11) = __pIncDis13Month(11) - __pDeductMonthImu(__pImu13(2),13)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(11) = __pIncDis13Month(11) - __pDeductMonthImu(__pImu13(3),13)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ11_13","IIF(__pIncDis13Month(11) # 0, Allt(STR(__pIncDis13Month(11),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(12) = __pInc13Month(1,14)-__pInc13Month(1,29)","Header"]
[null,"__pIncDis13Month(12) = __pIncDis13Month(12) - __pDeductMonthImu(__pImu13(1),14)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(12) = __pIncDis13Month(12) - __pDeductMonthImu(__pImu13(2),14)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(12) = __pIncDis13Month(12) - __pDeductMonthImu(__pImu13(3),14)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ12_13","IIF(__pIncDis13Month(12) # 0, Allt(STR(__pIncDis13Month(12),16,2)),\"\")","Header"]
[null,"__pIncDis13Month(13) = __pInc13Month(1,15)-__pInc13Month(1,30)","Header"]
[null,"__pIncDis13Month(13) = __pIncDis13Month(13) - __pDeductMonthImu(__pImu13(1),15)","Header","__pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(13) = __pIncDis13Month(13) - __pDeductMonthImu(__pImu13(2),15)","Header","__pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Month(13) = __pIncDis13Month(13) - __pDeductMonthImu(__pImu13(3),15)","Header","__pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
["ДВ_итого_13","IIF(__pIncDis13Month(13) # 0, Allt(STR(__pIncDis13Month(13),16,2)),\"\")","Header"]
[null,"__pIncDis13_0 = 0","Header"]
[null,"__pIncDis13_13 = 0","Header"]
[null,"For i = __pN1 to __pN2","Header","__plRezident"]
[null,"__pIncDis13Year(i) = __pInc13Month(1,i+2)-__pInc13Month(1,i+17)+__pIncDis13_0","Header","__plRezident"]
[null,"__pIncDis13Year(i) = __pIncDis13Year(i) - __pDeductMonthImu(__pImu13(1),i+2)","Header","__plRezident AND __pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Year(i) = __pIncDis13Year(i) - __pDeductMonthImu(__pImu13(2),i+2)","Header","__plRezident AND __pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Year(i) = __pIncDis13Year(i) - __pDeductMonthImu(__pImu13(3),i+2)","Header","__plRezident AND __pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13Year(i) = iif(__pIncDis13Year(i)<0, 0, __pIncDis13Year(i))","Header","__plRezident"]
[null,"__pIncDis13_0 = __pIncDis13_0 + __pInc13Month(1,i+2)-__pInc13Month(1,i+17)","Header","__plRezident"]
[null,"__pIncDis13_0 = __pIncDis13_0 - __pDeductMonthImu(__pImu13(1),i+2)","Header","__plRezident AND __pImu13(1)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13_0 = __pIncDis13_0 - __pDeductMonthImu(__pImu13(2),i+2)","Header","__plRezident AND __pImu13(2)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13_0 = __pIncDis13_0 - __pDeductMonthImu(__pImu13(3),i+2)","Header","__plRezident AND __pImu13(3)#0",null,null,"вычитаем имущественные вычеты"]
[null,"__pIncDis13_0 = iif(__pIncDis13_0<0, 0, __pIncDis13_0)","Header","__plRezident"]
[null,"__pIncDis13_13 =  __pIncDis13Year(i)","Header","__plRezident"]
[null,"EndFor","Header","__plRezident"]
[null,"__pIncDis13Year(13) = __pIncDis13_13","Header"]
["ДВ1_1_13","IIF(__pIncDis13Year(1) # 0, Allt(STR(__pIncDis13Year(1),16,2)),\"\")","Header"]
["ДВ1_2_13","IIF(__pIncDis13Year(2) # 0, Allt(STR(__pIncDis13Year(2),16,2)),\"\")","Header"]
["ДВ1_3_13","IIF(__pIncDis13Year(3) # 0, Allt(STR(__pIncDis13Year(3),16,2)),\"\")","Header"]
["ДВ1_4_13","IIF(__pIncDis13Year(4) # 0, Allt(STR(__pIncDis13Year(4),16,2)),\"\")","Header"]
["ДВ1_5_13","IIF(__pIncDis13Year(5) # 0, Allt(STR(__pIncDis13Year(5),16,2)),\"\")","Header"]
["ДВ1_6_13","IIF(__pIncDis13Year(6) # 0, Allt(STR(__pIncDis13Year(6),16,2)),\"\")","Header"]
["ДВ1_7_13","IIF(__pIncDis13Year(7) # 0, Allt(STR(__pIncDis13Year(7),16,2)),\"\")","Header"]
["ДВ1_8_13","IIF(__pIncDis13Year(8) # 0, Allt(STR(__pIncDis13Year(8),16,2)),\"\")","Header"]
["ДВ1_9_13","IIF(__pIncDis13Year(9) # 0, Allt(STR(__pIncDis13Year(9),16,2)),\"\")","Header"]
["ДВ1_10_13","IIF(__pIncDis13Year(10) # 0, Allt(STR(__pIncDis13Year(10),16,2)),\"\")","Header"]
["ДВ1_11_13","IIF(__pIncDis13Year(11) # 0, Allt(STR(__pIncDis13Year(11),16,2)),\"\")","Header"]
["ДВ1_12_13","IIF(__pIncDis13Year(12) # 0, Allt(STR(__pIncDis13Year(12),16,2)),\"\")","Header"]
["ДВ1_итого_13","IIF(__pIncDis13Year(13) # 0, Allt(STR(__pIncDis13Year(13),16,2)),\"\")","Header"]
[null,"__pNd = ASCAN(__pDeductStandart,\"101\")","Header"]
[null,"__pNd = IIF(__pNd > 0, ASUB(__pDeductStandart, __pNd,1),0)","Header"]
["СВ1_1_стандарт","IIF(__pDeductStandart(__pNd,3) # 0, Allt(STR(__pDeductStandart(__pNd,3),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_2_стандарт","IIF(__pDeductStandart(__pNd,4) # 0, Allt(STR(__pDeductStandart(__pNd,4),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_3_стандарт","IIF(__pDeductStandart(__pNd,5) # 0, Allt(STR(__pDeductStandart(__pNd,5),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_4_стандарт","IIF(__pDeductStandart(__pNd,6) # 0, Allt(STR(__pDeductStandart(__pNd,6),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_5_стандарт","IIF(__pDeductStandart(__pNd,7) # 0, Allt(STR(__pDeductStandart(__pNd,7),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_6_стандарт","IIF(__pDeductStandart(__pNd,8) # 0, Allt(STR(__pDeductStandart(__pNd,8),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_7_стандарт","IIF(__pDeductStandart(__pNd,9) # 0, Allt(STR(__pDeductStandart(__pNd,9),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_8_стандарт","IIF(__pDeductStandart(__pNd,10) # 0, Allt(STR(__pDeductStandart(__pNd,10),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_9_стандарт","IIF(__pDeductStandart(__pNd,11) # 0, Allt(STR(__pDeductStandart(__pNd,11),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_10_стандарт","IIF(__pDeductStandart(__pNd,12) # 0, Allt(STR(__pDeductStandart(__pNd,12),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_11_стандарт","IIF(__pDeductStandart(__pNd,13) # 0, Allt(STR(__pDeductStandart(__pNd,13),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_12_стандарт","IIF(__pDeductStandart(__pNd,14) # 0, Allt(STR(__pDeductStandart(__pNd,14),16,2)),\"\")","Header","__pNd > 0"]
["СВ1_итого_стандарт","IIF(__pDeductStandart(__pNd,15) # 0, Allt(STR(__pDeductStandart(__pNd,15),16,2)),\"\")","Header","__pNd > 0"]
[null,"__pNd = ASCAN(__pDeductStandart,\"102\")","Header"]
[null,"__pNd = IIF(__pNd > 0, ASUB(__pDeductStandart, __pNd,1),0)","Header"]
["СВ2_1_стандарт","IIF(__pDeductStandart(__pNd,3) # 0, Allt(STR(__pDeductStandart(__pNd,3),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_2_стандарт","IIF(__pDeductStandart(__pNd,4) # 0, Allt(STR(__pDeductStandart(__pNd,4),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_3_стандарт","IIF(__pDeductStandart(__pNd,5) # 0, Allt(STR(__pDeductStandart(__pNd,5),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_4_стандарт","IIF(__pDeductStandart(__pNd,6) # 0, Allt(STR(__pDeductStandart(__pNd,6),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_5_стандарт","IIF(__pDeductStandart(__pNd,7) # 0, Allt(STR(__pDeductStandart(__pNd,7),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_6_стандарт","IIF(__pDeductStandart(__pNd,8) # 0, Allt(STR(__pDeductStandart(__pNd,8),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_7_стандарт","IIF(__pDeductStandart(__pNd,9) # 0, Allt(STR(__pDeductStandart(__pNd,9),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_8_стандарт","IIF(__pDeductStandart(__pNd,10) # 0, Allt(STR(__pDeductStandart(__pNd,10),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_9_стандарт","IIF(__pDeductStandart(__pNd,11) # 0, Allt(STR(__pDeductStandart(__pNd,11),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_10_стандарт","IIF(__pDeductStandart(__pNd,12) # 0, Allt(STR(__pDeductStandart(__pNd,12),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_11_стандарт","IIF(__pDeductStandart(__pNd,13) # 0, Allt(STR(__pDeductStandart(__pNd,13),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_12_стандарт","IIF(__pDeductStandart(__pNd,14) # 0, Allt(STR(__pDeductStandart(__pNd,14),16,2)),\"\")","Header","__pNd > 0"]
["СВ2_итого_стандарт","IIF(__pDeductStandart(__pNd,15) # 0, Allt(STR(__pDeductStandart(__pNd,15),16,2)),\"\")","Header","__pNd > 0"]
[null,"__pNd = ASCAN(__pDeductStandart,\"103\")","Header"]
[null,"__pNd = IIF(__pNd > 0, ASUB(__pDeductStandart, __pNd,1),0)","Header"]
["СВ3_1_стандарт","IIF(__pDeductStandart(__pNd,3) # 0, Allt(STR(__pDeductStandart(__pNd,3),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_2_стандарт","IIF(__pDeductStandart(__pNd,4) # 0, Allt(STR(__pDeductStandart(__pNd,4),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_3_стандарт","IIF(__pDeductStandart(__pNd,5) # 0, Allt(STR(__pDeductStandart(__pNd,5),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_4_стандарт","IIF(__pDeductStandart(__pNd,6) # 0, Allt(STR(__pDeductStandart(__pNd,6),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_5_стандарт","IIF(__pDeductStandart(__pNd,7) # 0, Allt(STR(__pDeductStandart(__pNd,7),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_6_стандарт","IIF(__pDeductStandart(__pNd,8) # 0, Allt(STR(__pDeductStandart(__pNd,8),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_7_стандарт","IIF(__pDeductStandart(__pNd,9) # 0, Allt(STR(__pDeductStandart(__pNd,9),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_8_стандарт","IIF(__pDeductStandart(__pNd,10) # 0, Allt(STR(__pDeductStandart(__pNd,10),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_9_стандарт","IIF(__pDeductStandart(__pNd,11) # 0, Allt(STR(__pDeductStandart(__pNd,11),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_10_стандарт","IIF(__pDeductStandart(__pNd,12) # 0, Allt(STR(__pDeductStandart(__pNd,12),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_11_стандарт","IIF(__pDeductStandart(__pNd,13) # 0, Allt(STR(__pDeductStandart(__pNd,13),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_12_стандарт","IIF(__pDeductStandart(__pNd,14) # 0, Allt(STR(__pDeductStandart(__pNd,14),16,2)),\"\")","Header","__pNd > 0"]
["СВ3_итого_стандарт","IIF(__pDeductStandart(__pNd,15) # 0, Allt(STR(__pDeductStandart(__pNd,15),16,2)),\"\")","Header","__pNd > 0"]
[null,"__pNd = ASCAN(__pDeductStandart,\"104\")","Header"]
[null,"__pNd = IIF(__pNd > 0, ASUB(__pDeductStandart, __pNd,1),0)","Header"]
["СВ4_1_стандарт","IIF(__pDeductStandart(__pNd,3) # 0, Allt(STR(__pDeductStandart(__pNd,3),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_2_стандарт","IIF(__pDeductStandart(__pNd,4) # 0, Allt(STR(__pDeductStandart(__pNd,4),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_3_стандарт","IIF(__pDeductStandart(__pNd,5) # 0, Allt(STR(__pDeductStandart(__pNd,5),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_4_стандарт","IIF(__pDeductStandart(__pNd,6) # 0, Allt(STR(__pDeductStandart(__pNd,6),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_5_стандарт","IIF(__pDeductStandart(__pNd,7) # 0, Allt(STR(__pDeductStandart(__pNd,7),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_6_стандарт","IIF(__pDeductStandart(__pNd,8) # 0, Allt(STR(__pDeductStandart(__pNd,8),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_7_стандарт","IIF(__pDeductStandart(__pNd,9) # 0, Allt(STR(__pDeductStandart(__pNd,9),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_8_стандарт","IIF(__pDeductStandart(__pNd,10) # 0, Allt(STR(__pDeductStandart(__pNd,10),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_9_стандарт","IIF(__pDeductStandart(__pNd,11) # 0, Allt(STR(__pDeductStandart(__pNd,11),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_10_стандарт","IIF(__pDeductStandart(__pNd,12) # 0, Allt(STR(__pDeductStandart(__pNd,12),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_11_стандарт","IIF(__pDeductStandart(__pNd,13) # 0, Allt(STR(__pDeductStandart(__pNd,13),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_12_стандарт","IIF(__pDeductStandart(__pNd,14) # 0, Allt(STR(__pDeductStandart(__pNd,14),16,2)),\"\")","Header","__pNd > 0"]
["СВ4_итого_стандарт","IIF(__pDeductStandart(__pNd,15) # 0, Allt(STR(__pDeductStandart(__pNd,15),16,2)),\"\")","Header","__pNd > 0"]
[null,"__pNd = ASCAN(__pDeductStandart,\"105\")","Header"]
[null,"__pNd = IIF(__pNd > 0, ASUB(__pDeductStandart, __pNd,1),0)","Header"]
["СВ5_1_стандарт","IIF(__pDeductStandart(__pNd,3) # 0, Allt(STR(__pDeductStandart(__pNd,3),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_2_стандарт","IIF(__pDeductStandart(__pNd,4) # 0, Allt(STR(__pDeductStandart(__pNd,4),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_3_стандарт","IIF(__pDeductStandart(__pNd,5) # 0, Allt(STR(__pDeductStandart(__pNd,5),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_4_стандарт","IIF(__pDeductStandart(__pNd,6) # 0, Allt(STR(__pDeductStandart(__pNd,6),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_5_стандарт","IIF(__pDeductStandart(__pNd,7) # 0, Allt(STR(__pDeductStandart(__pNd,7),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_6_стандарт","IIF(__pDeductStandart(__pNd,8) # 0, Allt(STR(__pDeductStandart(__pNd,8),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_7_стандарт","IIF(__pDeductStandart(__pNd,9) # 0, Allt(STR(__pDeductStandart(__pNd,9),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_8_стандарт","IIF(__pDeductStandart(__pNd,10) # 0, Allt(STR(__pDeductStandart(__pNd,10),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_9_стандарт","IIF(__pDeductStandart(__pNd,11) # 0, Allt(STR(__pDeductStandart(__pNd,11),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_10_стандарт","IIF(__pDeductStandart(__pNd,12) # 0, Allt(STR(__pDeductStandart(__pNd,12),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_11_стандарт","IIF(__pDeductStandart(__pNd,13) # 0, Allt(STR(__pDeductStandart(__pNd,13),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_12_стандарт","IIF(__pDeductStandart(__pNd,14) # 0, Allt(STR(__pDeductStandart(__pNd,14),16,2)),\"\")","Header","__pNd > 0"]
["СВ5_итого_стандарт","IIF(__pDeductStandart(__pNd,15) # 0, Allt(STR(__pDeductStandart(__pNd,15),16,2)),\"\")","Header","__pNd > 0"]
[null,"__pDeduct_0 = 0","Header"]
[null,"__pDeduct_13 = 0","Header"]
[null,"For i = __pN1 to __pN2","Header"]
[null,"__pDeductYear(i) = __pDeductMonth(1,i+2)+__pDeduct_0"]
[null,"__pDeduct_0 =__pDeduct_0+ __pDeductMonth(1,i+2)"]
[null,"__pDeductYear(i) = __pDeductMonth101(1,i+2)+__pDeductMonth102(1,i+2)+__pDeductMonth103(1,i+2)+__pDeductMonth104(1,i+2)+__pDeductMonth105(1,i+2)+__pDeduct_0","Header",null,"Общая сумма счиается только из стандартных вычетов"]
[null,"__pDeduct_0 =__pDeduct_0+__pDeductMonth101(1,i+2)+__pDeductMonth102(1,i+2)+__pDeductMonth103(1,i+2)+__pDeductMonth104(1,i+2)+__pDeductMonth105(1,i+2)","Header"]
[null,"__pDeduct_13 =  __pDeductYear(i)","Header"]
[null,"EndFor","Header"]
[null,"__pDeductYear(13) = __pDeduct_13","Header"]
["СВ1_1","IIF(__pDeductYear(1) # 0, Allt(STR(__pDeductYear(1),16,2)),\"\")","Header"]
["СВ1_2","IIF(__pDeductYear(2) # 0, Allt(STR(__pDeductYear(2),16,2)),\"\")","Header"]
["СВ1_3","IIF(__pDeductYear(3) # 0, Allt(STR(__pDeductYear(3),16,2)),\"\")","Header"]
["СВ1_4","IIF(__pDeductYear(4) # 0, Allt(STR(__pDeductYear(4),16,2)),\"\")","Header"]
["СВ1_5","IIF(__pDeductYear(5) # 0, Allt(STR(__pDeductYear(5),16,2)),\"\")","Header"]
["СВ1_6","IIF(__pDeductYear(6) # 0, Allt(STR(__pDeductYear(6),16,2)),\"\")","Header"]
["СВ1_7","IIF(__pDeductYear(7) # 0, Allt(STR(__pDeductYear(7),16,2)),\"\")","Header"]
["СВ1_8","IIF(__pDeductYear(8) # 0, Allt(STR(__pDeductYear(8),16,2)),\"\")","Header"]
["СВ1_9","IIF(__pDeductYear(9) # 0, Allt(STR(__pDeductYear(9),16,2)),\"\")","Header"]
["СВ1_10","IIF(__pDeductYear(10) # 0, Allt(STR(__pDeductYear(10),16,2)),\"\")","Header"]
["СВ1_11","IIF(__pDeductYear(11) # 0, Allt(STR(__pDeductYear(11),16,2)),\"\")","Header"]
["СВ1_12","IIF(__pDeductYear(12) # 0, Allt(STR(__pDeductYear(12),16,2)),\"\")","Header"]
["СВ1_13","IIF(__pDeductYear(13) # 0, Allt(STR(__pDeductYear(13),16,2)),\"\")","Header"]
[null,"For i = 1 to 13","Header","__plRezident"]
[null,"__pNalBase13(i) = __pIncDis13Year(i)-__pDeductYear(i)","Header","__plRezident"]
[null,"__pNalBase13(i) = iif(__pNalBase13(i)<0,0,__pNalBase13(i))","Header","__plRezident"]
[null,"__pDelta(i) = __pTax35Month(1,i+2)","Header","__plRezident"]
[null,"EndFor","Header","__plRezident"]
[null,"__pSprNalBase = iif(__pSprNalBase<0,0,__pSprNalBase)","Header","__plRezident"]
[null,"For i = 1 to 13","Header","!__plRezident"]
[null,"__pNalBase13(i) = __pInc13Month(1,i+2)-__pInc13Month(1,i+17)","Header","!__plRezident"]
[null,"__pNalBase13(i) = iif(__pNalBase13(i)<0,0,__pNalBase13(i))","Header","!__plRezident"]
[null,"EndFor","Header","!__plRezident"]
["Налоговая_база_1_13","IIF(__pNalBase13(1) # 0, Allt(STR(__pNalBase13(1),16,2)),\"\")","Header"]
["Налоговая_база_2_13","IIF(__pNalBase13(2) # 0, Allt(STR(__pNalBase13(2),16,2)),\"\")","Header"]
["Налоговая_база_3_13","IIF(__pNalBase13(3) # 0, Allt(STR(__pNalBase13(3),16,2)),\"\")","Header"]
["Налоговая_база_4_13","IIF(__pNalBase13(4) # 0, Allt(STR(__pNalBase13(4),16,2)),\"\")","Header"]
["Налоговая_база_5_13","IIF(__pNalBase13(5) # 0, Allt(STR(__pNalBase13(5),16,2)),\"\")","Header"]
["Налоговая_база_6_13","IIF(__pNalBase13(6) # 0, Allt(STR(__pNalBase13(6),16,2)),\"\")","Header"]
["Налоговая_база_7_13","IIF(__pNalBase13(7) # 0, Allt(STR(__pNalBase13(7),16,2)),\"\")","Header"]
["Налоговая_база_8_13","IIF(__pNalBase13(8) # 0, Allt(STR(__pNalBase13(8),16,2)),\"\")","Header"]
["Налоговая_база_9_13","IIF(__pNalBase13(9) # 0, Allt(STR(__pNalBase13(9),16,2)),\"\")","Header"]
["Налоговая_база_10_13","IIF(__pNalBase13(10) # 0, Allt(STR(__pNalBase13(10),16,2)),\"\")","Header"]
["Налоговая_база_11_13","IIF(__pNalBase13(11) # 0, Allt(STR(__pNalBase13(11),16,2)),\"\")","Header"]
["Налоговая_база_12_13","IIF(__pNalBase13(12) # 0, Allt(STR(__pNalBase13(12),16,2)),\"\")","Header"]
["Налоговая_база_итого_13","IIF(__pNalBase13(13) # 0, Allt(STR(__pNalBase13(13),16,2)),\"\")","Header"]
[null,"For i = 1 to 13","Header","__plRezident"]
[null,"__pNalIsch13(i) = round(__pNalBase13(i)*0.13,0)","Header","__plRezident"]
[null,"EndFor","Header","__plRezident"]
[null,"For i = 1 to 13","Header","!__plRezident"]
[null,"__pNalIsch13(i) = round(__pNalBase13(i)*0.30,0)","Header","!__plRezident"]
[null,"EndFor","Header","!__plRezident"]
["Налог_исчисленный1_13","IIF(__pNalIsch13(1) # 0, Allt(STR(__pNalIsch13(1),16,2)),\"\")","Header"]
["Налог_исчисленный2_13","IIF(__pNalIsch13(2) # 0, Allt(STR(__pNalIsch13(2),16,2)),\"\")","Header"]
["Налог_исчисленный3_13","IIF(__pNalIsch13(3) # 0, Allt(STR(__pNalIsch13(3),16,2)),\"\")","Header"]
["Налог_исчисленный4_13","IIF(__pNalIsch13(4) # 0, Allt(STR(__pNalIsch13(4),16,2)),\"\")","Header"]
["Налог_исчисленный5_13","IIF(__pNalIsch13(5) # 0, Allt(STR(__pNalIsch13(5),16,2)),\"\")","Header"]
["Налог_исчисленный6_13","IIF(__pNalIsch13(6) # 0, Allt(STR(__pNalIsch13(6),16,2)),\"\")","Header"]
["Налог_исчисленный7_13","IIF(__pNalIsch13(7) # 0, Allt(STR(__pNalIsch13(7),16,2)),\"\")","Header"]
["Налог_исчисленный8_13","IIF(__pNalIsch13(8) # 0, Allt(STR(__pNalIsch13(8),16,2)),\"\")","Header"]
["Налог_исчисленный9_13","IIF(__pNalIsch13(9) # 0, Allt(STR(__pNalIsch13(9),16,2)),\"\")","Header"]
["Налог_исчисленный10_13","IIF(__pNalIsch13(10) # 0, Allt(STR(__pNalIsch13(10),16,2)),\"\")","Header"]
["Налог_исчисленный11_13","IIF(__pNalIsch13(11) # 0, Allt(STR(__pNalIsch13(11),16,2)),\"\")","Header"]
["Налог_исчисленный12_13","IIF(__pNalIsch13(12) # 0, Allt(STR(__pNalIsch13(12),16,2)),\"\")","Header"]
["Налог_исчисленный_ит_13","IIF(__pNalIsch13(13) # 0, Allt(STR(__pNalIsch13(13),16,2)),\"\")","Header"]
[null,"__pNalUd_0= 0","Header","__plRezident"]
[null,"__pNalUd_13= 0","Header","__plRezident"]
[null,"For i = __pN1 to __pN2","Header","__plRezident"]
[null,"__pNalUd13(i) = __pTax13Month(1,i+2)+__pNalUd_0","Header","__plRezident"]
[null,"__pNalUd_0 =__pNalUd_0+__pTax13Month(1,i+2)","Header","__plRezident"]
[null,"__pNalUd_13 =  __pNalUd13(i)","Header","__plRezident"]
[null,"EndFor","Header","__plRezident"]
[null,"__pNalUd13(13) = __pNalUd_13","Header","__plRezident"]
[null,"For i = 1 to 13","Header","!__plRezident"]
[null,"__pNalUd13(i) = __pTax13Month(1,i+2)","Header","!__plRezident"]
[null,"EndFor","Header","!__plRezident"]
["Налог_удержанный1_13","IIF(__pNalUd13(1) # 0, Allt(STR(__pNalUd13(1),16,2)),\"\")","Header"]
["Налог_удержанный2_13","IIF(__pNalUd13(2) # 0, Allt(STR(__pNalUd13(2),16,2)),\"\")","Header"]
["Налог_удержанный3_13","IIF(__pNalUd13(3) # 0, Allt(STR(__pNalUd13(3),16,2)),\"\")","Header"]
["Налог_удержанный4_13","IIF(__pNalUd13(4) # 0, Allt(STR(__pNalUd13(4),16,2)),\"\")","Header"]
["Налог_удержанный5_13","IIF(__pNalUd13(5) # 0, Allt(STR(__pNalUd13(5),16,2)),\"\")","Header"]
["Налог_удержанный6_13","IIF(__pNalUd13(6) # 0, Allt(STR(__pNalUd13(6),16,2)),\"\")","Header"]
["Налог_удержанный7_13","IIF(__pNalUd13(7) # 0, Allt(STR(__pNalUd13(7),16,2)),\"\")","Header"]
["Налог_удержанный8_13","IIF(__pNalUd13(8) # 0, Allt(STR(__pNalUd13(8),16,2)),\"\")","Header"]
["Налог_удержанный9_13","IIF(__pNalUd13(9) # 0, Allt(STR(__pNalUd13(9),16,2)),\"\")","Header"]
["Налог_удержанный10_13","IIF(__pNalUd13(10) # 0, Allt(STR(__pNalUd13(10),16,2)),\"\")","Header"]
["Налог_удержанный11_13","IIF(__pNalUd13(11) # 0, Allt(STR(__pNalUd13(11),16,2)),\"\")","Header"]
["Налог_удержанный12_13","IIF(__pNalUd13(12) # 0, Allt(STR(__pNalUd13(12),16,2)),\"\")","Header"]
["Налог_удержанный_ит_13","IIF(__pNalUd13(13) # 0, Allt(STR(__pNalUd13(13),16,2)),\"\")","Header"]
[null,"For i = 1 to 13","Header"]
[null,"__pDolgNal13(i) = iif(__pNalIsch13(i)-__pNalUd13(i)>0,__pNalIsch13(i)-__pNalUd13(i),0)","Header"]
[null,"EndFor","Header"]
[null,"For i = 1 to 13","Header"]
[null,"__pDolgagent13(i) =abs( iif(__pNalIsch13(i)-__pNalUd13(i)<0,__pNalIsch13(i)-__pNalUd13(i),0))","Header"]
[null,"EndFor","Header"]
["Долг1_налогоплательщик_13","IIF(__pDolgNal13(1) # 0, Allt(STR(__pDolgNal13(1),16,2)),\"\") ","Header"]
["Долг2_налогоплательщик_13","IIF(__pDolgNal13(2) # 0, Allt(STR(__pDolgNal13(2),16,2)),\"\")  ","Header"]
["Долг3_налогоплательщик_13","IIF(__pDolgNal13(3) # 0, Allt(STR(__pDolgNal13(3),16,2)),\"\")  ","Header"]
["Долг4_налогоплательщик_13","IIF(__pDolgNal13(4) # 0, Allt(STR(__pDolgNal13(4),16,2)),\"\")  ","Header"]
["Долг5_налогоплательщик_13","IIF(__pDolgNal13(5) # 0, Allt(STR(__pDolgNal13(5),16,2)),\"\")  ","Header"]
["Долг6_налогоплательщик_13","IIF(__pDolgNal13(6) # 0, Allt(STR(__pDolgNal13(6),16,2)),\"\")  ","Header"]
["Долг7_налогоплательщик_13","IIF(__pDolgNal13(7) # 0, Allt(STR(__pDolgNal13(7),16,2)),\"\")  ","Header"]
["Долг8_налогоплательщик_13","IIF(__pDolgNal13(8) # 0, Allt(STR(__pDolgNal13(8),16,2)),\"\")  ","Header"]
["Долг9_налогоплательщик_13","IIF(__pDolgNal13(9) # 0, Allt(STR(__pDolgNal13(9),16,2)),\"\")  ","Header"]
["Долг10_налогоплательщик_13","IIF(__pDolgNal13(10) # 0, Allt(STR(__pDolgNal13(10),16,2)),\"\")  ","Header"]
["Долг11_налогоплательщик_13","IIF(__pDolgNal13(11) # 0, Allt(STR(__pDolgNal13(11),16,2)),\"\")  ","Header"]
["Долг12_налогоплательщик_13","IIF(__pDolgNal13(12) # 0, Allt(STR(__pDolgNal13(12),16,2)),\"\")  ","Header"]
["Долг_итого_налогоплательщик_13","IIF(__pDolgNal13(13) # 0, Allt(STR(__pDolgNal13(13),16,2)),\"\")  ","Header"]
["Долг1_агент_13","IIF(__pDolgagent13(1) # 0, Allt(STR(__pDolgagent13(1),16,2)),\"\") ","Header"]
["Долг2_агент_13","IIF(__pDolgagent13(2) # 0, Allt(STR(__pDolgagent13(2),16,2)),\"\")","Header"]
["Долг3_агент_13","IIF(__pDolgagent13(3) # 0, Allt(STR(__pDolgagent13(3),16,2)),\"\")","Header"]
["Долг4_агент_13","IIF(__pDolgagent13(4) # 0, Allt(STR(__pDolgagent13(4),16,2)),\"\")","Header"]
["Долг5_агент_13","IIF(__pDolgagent13(5) # 0, Allt(STR(__pDolgagent13(5),16,2)),\"\")","Header"]
["Долг6_агент_13","IIF(__pDolgagent13(6) # 0, Allt(STR(__pDolgagent13(6),16,2)),\"\")","Header"]
["Долг7_агент_13","IIF(__pDolgagent13(7) # 0, Allt(STR(__pDolgagent13(7),16,2)),\"\")","Header"]
["Долг8_агент_13","IIF(__pDolgagent13(8) # 0, Allt(STR(__pDolgagent13(8),16,2)),\"\")","Header"]
["Долг9_агент_13","IIF(__pDolgagent13(9) # 0, Allt(STR(__pDolgagent13(9),16,2)),\"\")","Header"]
["Долг10_агент_13","IIF(__pDolgagent13(10) # 0, Allt(STR(__pDolgagent13(10),16,2)),\"\")","Header"]
["Долг11_агент_13","IIF(__pDolgagent13(11) # 0, Allt(STR(__pDolgagent13(11),16,2)),\"\")","Header"]
["Долг12_агент_13","IIF(__pDolgagent13(12) # 0, Allt(STR(__pDolgagent13(12),16,2)),\"\")","Header"]
["Долг_итого_агент_13","IIF(__pDolgagent13(13) # 0, Allt(STR(__pDolgagent13(13),16,2)),\"\")","Header"]
["отметка_3000","iif(__pTaskTaxSum(17,2)>0,'X','')","Header"]
["отметка_500","iif(__pTaskTaxSum(18,2)>0,'X','')","Header"]
["отметка_400","iif(__pTaskTaxSum(19,2)>0,'X','')","Header"]
["Отметка_300","iif(__pTaskTaxSum(20,2)>0,'X','')","Header"]
["Отметка_600","iif(__pTaskTaxSum(21,2)>0,'X','')","Header"]
["Количество_детей","ThisForm.ThisFormData.Count_Table(\"ZANKFAM\",\"F_ORGBASE\",\"*\",ZANK.ORGBASE_RN,\"ZANKFAM.ORGBASE_RN=ZANK.ORGBASE_Rn\",\"!Empty(ZANKFAM.TAXREP_RN).and.ZANKFAM.DEDU_START<=__pD1.and.ZANKFAM.DEDU_END>=__pD1.and.ZANKFAM.DEDU_TYPE='2'\")","Header"]
[null,"For i = 1 to 13","Header"]
[null,"__pStavka30(i) = iif(__pInc30Month(1,i+2)=0,0,30 - __pTax30Month(1,i+2)*100/__pInc30Month(1,i+2))","Header"]
[null,"EndFor","Header"]
["Сумма_дивидентов1_30","IIF(__pInc30Month(1,3) # 0, Allt(STR(__pInc30Month(1,3),16,2)),\"\")","Header"]
["Сумма_дивидентов2_30","IIF(__pInc30Month(1,4) # 0, Allt(STR(__pInc30Month(1,4),16,2)),\"\")","Header"]
["Сумма_дивидентов3_30","IIF(__pInc30Month(1,5) # 0, Allt(STR(__pInc30Month(1,5),16,2)),\"\")","Header"]
["Сумма_дивидентов4_30","IIF(__pInc30Month(1,6) # 0, Allt(STR(__pInc30Month(1,6),16,2)),\"\")","Header"]
["Сумма_дивидентов5_30","IIF(__pInc30Month(1,7) # 0, Allt(STR(__pInc30Month(1,7),16,2)),\"\")","Header"]
["Сумма_дивидентов6_30","IIF(__pInc30Month(1,8) # 0, Allt(STR(__pInc30Month(1,8),16,2)),\"\")","Header"]
["Сумма_дивидентов7_30","IIF(__pInc30Month(1,9) # 0, Allt(STR(__pInc30Month(1,9),16,2)),\"\")","Header"]
["Сумма_дивидентов8_30","IIF(__pInc30Month(1,10) # 0, Allt(STR(__pInc30Month(1,10),16,2)),\"\")","Header"]
["Сумма_дивидентов9_30","IIF(__pInc30Month(1,11) # 0, Allt(STR(__pInc30Month(1,11),16,2)),\"\")","Header"]
["Сумма_дивидентов10_30","IIF(__pInc30Month(1,12) # 0, Allt(STR(__pInc30Month(1,12),16,2)),\"\")","Header"]
["Сумма_дивидентов11_30","IIF(__pInc30Month(1,13) # 0, Allt(STR(__pInc30Month(1,13),16,2)),\"\")","Header"]
["Сумма_дивидентов12_30","IIF(__pInc30Month(1,14) # 0, Allt(STR(__pInc30Month(1,14),16,2)),\"\")","Header"]
["Сумма_дивидентов_итого_30","IIF(__pInc30Month(1,15) # 0, Allt(STR(__pInc30Month(1,15),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов1_30","IIF(__pInc30Month(1,3) # 0, Allt(STR(__pInc30Month(1,3),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов2_30","IIF(__pInc30Month(1,4) # 0, Allt(STR(__pInc30Month(1,4),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов3_30","IIF(__pInc30Month(1,5) # 0, Allt(STR(__pInc30Month(1,5),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов4_30","IIF(__pInc30Month(1,6) # 0, Allt(STR(__pInc30Month(1,6),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов5_30","IIF(__pInc30Month(1,7) # 0, Allt(STR(__pInc30Month(1,7),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов6_30","IIF(__pInc30Month(1,8) # 0, Allt(STR(__pInc30Month(1,8),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов7_30","IIF(__pInc30Month(1,9) # 0, Allt(STR(__pInc30Month(1,9),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов8_30","IIF(__pInc30Month(1,10) # 0, Allt(STR(__pInc30Month(1,10),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов9_30","IIF(__pInc30Month(1,11) # 0, Allt(STR(__pInc30Month(1,11),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов10_30","IIF(__pInc30Month(1,12) # 0, Allt(STR(__pInc30Month(1,12),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов11_30","IIF(__pInc30Month(1,13) # 0, Allt(STR(__pInc30Month(1,13),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов12_30","IIF(__pInc30Month(1,14) # 0, Allt(STR(__pInc30Month(1,14),16,2)),\"\")","Header"]
["Обл_Сумма_дивидентов_итого_30","IIF(__pInc30Month(1,15) # 0, Allt(STR(__pInc30Month(1,15),16,2)),\"\")","Header"]
[null,"Store 0 to  __pNalIsch30(13), __pNalBase30Year, __pNalIsch30Year","Header"]
[null,"For i = 1 to 13","Header","__pFlAlone30"]
[null,"__pNalIsch30(i) = round(__pInc30Month(1,i+2)*0.09,0)","Header","__pFlAlone30"]
[null,"EndFor","Header","__pFlAlone30"]
[null,"For i = 1 to 12","Header","!__pFlAlone30"]
[null,"__pNalBase30Year = __pNalBase30Year + __pInc30Month(1,i+2)","Header","!__pFlAlone30"]
[null,"__pNalIsch30(i) =  round(__pNalBase30Year*0.09 - __pNalIsch30Year,0)","Header","!__pFlAlone30"]
[null,"__pNalIsch30Year = __pNalIsch30Year + __pNalIsch30(i)","Header","!__pFlAlone30"]
[null,"__pNalIsch30(13) = __pNalIsch30(13) + __pNalIsch30(i)","Header","!__pFlAlone30"]
[null,"EndFor","Header","!__pFlAlone30"]
["Налог_исчисленный1_30","IIF(__pNalIsch30(1) # 0, Allt(STR(__pNalIsch30(1),16,2)),\"\")","Header"]
["Налог_исчисленный2_30","IIF(__pNalIsch30(2) # 0, Allt(STR(__pNalIsch30(2),16,2)),\"\")","Header"]
["Налог_исчисленный3_30","IIF(__pNalIsch30(3) # 0, Allt(STR(__pNalIsch30(3),16,2)),\"\")","Header"]
["Налог_исчисленный4_30","IIF(__pNalIsch30(4) # 0, Allt(STR(__pNalIsch30(4),16,2)),\"\")","Header"]
["Налог_исчисленный5_30","IIF(__pNalIsch30(5) # 0, Allt(STR(__pNalIsch30(5),16,2)),\"\")","Header"]
["Налог_исчисленный6_30","IIF(__pNalIsch30(6) # 0, Allt(STR(__pNalIsch30(6),16,2)),\"\")","Header"]
["Налог_исчисленный7_30","IIF(__pNalIsch30(7) # 0, Allt(STR(__pNalIsch30(7),16,2)),\"\")","Header"]
["Налог_исчисленный8_30","IIF(__pNalIsch30(8) # 0, Allt(STR(__pNalIsch30(8),16,2)),\"\")","Header"]
["Налог_исчисленный9_30","IIF(__pNalIsch30(9) # 0, Allt(STR(__pNalIsch30(9),16,2)),\"\")","Header"]
["Налог_исчисленный10_30","IIF(__pNalIsch30(10) # 0, Allt(STR(__pNalIsch30(10),16,2)),\"\")","Header"]
["Налог_исчисленный11_30","IIF(__pNalIsch30(11) # 0, Allt(STR(__pNalIsch30(11),16,2)),\"\")","Header"]
["Налог_исчисленный12_30","IIF(__pNalIsch30(12) # 0, Allt(STR(__pNalIsch30(12),16,2)),\"\")","Header"]
["Налог_исчисленный_итого_30","IIF(__pNalIsch30(13) # 0, Allt(STR(__pNalIsch30(13),16,2)),\"\")","Header"]
[null,"For i = 1 to 13","Header"]
[null,"__pZach30(i) = __pNalIsch30(i)-__pTax30Month(1,i+2)","Header"]
[null,"EndFor","Header"]
["Налог_удержанный1_30","IIF(__pTax30Month(1,3) # 0, Allt(STR(__pTax30Month(1,3),16,2)),\"\")","Header"]
["Налог_удержанный2_30","IIF(__pTax30Month(1,4) # 0, Allt(STR(__pTax30Month(1,4),16,2)),\"\")","Header"]
["Налог_удержанный3_30","IIF(__pTax30Month(1,5) # 0, Allt(STR(__pTax30Month(1,5),16,2)),\"\")","Header"]
["Налог_удержанный4_30","IIF(__pTax30Month(1,6) # 0, Allt(STR(__pTax30Month(1,6),16,2)),\"\")","Header"]
["Налог_удержанный5_30","IIF(__pTax30Month(1,7) # 0, Allt(STR(__pTax30Month(1,7),16,2)),\"\")","Header"]
["Налог_удержанный6_30","IIF(__pTax30Month(1,8) # 0, Allt(STR(__pTax30Month(1,8),16,2)),\"\")","Header"]
["Налог_удержанный7_30","IIF(__pTax30Month(1,9) # 0, Allt(STR(__pTax30Month(1,9),16,2)),\"\")","Header"]
["Налог_удержанный8_30","IIF(__pTax30Month(1,10) # 0, Allt(STR(__pTax30Month(1,10),16,2)),\"\")","Header"]
["Налог_удержанный9_30","IIF(__pTax30Month(1,11) # 0, Allt(STR(__pTax30Month(1,11),16,2)),\"\")","Header"]
["Налог_удержанный10_30","IIF(__pTax30Month(1,12) # 0, Allt(STR(__pTax30Month(1,12),16,2)),\"\")","Header"]
["Налог_удержанный11_30","IIF(__pTax30Month(1,13) # 0, Allt(STR(__pTax30Month(1,13),16,2)),\"\")","Header"]
["Налог_удержанный12_30","IIF(__pTax30Month(1,14) # 0, Allt(STR(__pTax30Month(1,14),16,2)),\"\")","Header"]
["Налог_удержанный_итого_30","IIF(__pTax30Month(1,15) # 0, Allt(STR(__pTax30Month(1,15),16,2)),\"\")","Header"]
[null,"For i = 1 to 13","Header"]
[null," __pDolgNal30(i)=iif(__pNalIsch30(i)-__pTax30Month(1,i+2)>0,__pNalIsch30(i)-__pTax30Month(1,i+2),0)","Header"]
[null,"EndFor","Header"]
[null,"For i = 1 to 13","Header"]
[null,"__pDolgagent30(i) =abs(iif(__pNalIsch30(i)-__pTax30Month(1,i+2)<0,__pNalIsch30(i)-__pTax30Month(1,i+2),0))","Header"]
[null,"EndFor","Header"]
["Долг1_налогоплательщик_30"," IIF(__pDolgNal30(1) # 0, Allt(STR(__pDolgNal30(1),16,2)),\"\")","Header"]
["Долг2_налогоплательщик_30"," IIF(__pDolgNal30(2) # 0, Allt(STR(__pDolgNal30(2),16,2)),\"\")","Header"]
["Долг3_налогоплательщик_30"," IIF(__pDolgNal30(3) # 0, Allt(STR(__pDolgNal30(3),16,2)),\"\")","Header"]
["Долг4_налогоплательщик_30"," IIF(__pDolgNal30(4) # 0, Allt(STR(__pDolgNal30(4),16,2)),\"\")","Header"]
["Долг5_налогоплательщик_30"," IIF(__pDolgNal30(5) # 0, Allt(STR(__pDolgNal30(5),16,2)),\"\")","Header"]
["Долг6_налогоплательщик_30"," IIF(__pDolgNal30(6) # 0, Allt(STR(__pDolgNal30(6),16,2)),\"\")","Header"]
["Долг7_налогоплательщик_30"," IIF(__pDolgNal30(7) # 0, Allt(STR(__pDolgNal30(7),16,2)),\"\")","Header"]
["Долг8_налогоплательщик_30"," IIF(__pDolgNal30(8) # 0, Allt(STR(__pDolgNal30(8),16,2)),\"\")","Header"]
["Долг9_налогоплательщик_30"," IIF(__pDolgNal30(9) # 0, Allt(STR(__pDolgNal30(9),16,2)),\"\")","Header"]
["Долг10_налогоплательщик_30"," IIF(__pDolgNal30(10) # 0, Allt(STR(__pDolgNal30(10),16,2)),\"\")","Header"]
["Долг11_налогоплательщик_30"," IIF(__pDolgNal30(11) # 0, Allt(STR(__pDolgNal30(11),16,2)),\"\")","Header"]
["Долг12_налогоплательщик_30"," IIF(__pDolgNal30(12) # 0, Allt(STR(__pDolgNal30(12),16,2)),\"\")","Header"]
["Долг_итого_налогоплательщик_30"," IIF(__pDolgNal30(13) # 0, Allt(STR(__pDolgNal30(13),16,2)),\"\")","Header"]
["Долг1_агент_30","IIF(__pDolgagent30(1) # 0, Allt(STR(__pDolgagent30(1),16,2)),\"\")","Header"]
["Долг2_агент_30","IIF(__pDolgagent30(2) # 0, Allt(STR(__pDolgagent30(2),16,2)),\"\")","Header"]
["Долг3_агент_30","IIF(__pDolgagent30(3) # 0, Allt(STR(__pDolgagent30(3),16,2)),\"\")","Header"]
["Долг4_агент_30","IIF(__pDolgagent30(4) # 0, Allt(STR(__pDolgagent30(4),16,2)),\"\")","Header"]
["Долг5_агент_30","IIF(__pDolgagent30(5) # 0, Allt(STR(__pDolgagent30(5),16,2)),\"\")","Header"]
["Долг6_агент_30","IIF(__pDolgagent30(6) # 0, Allt(STR(__pDolgagent30(6),16,2)),\"\")","Header"]
["Долг7_агент_30","IIF(__pDolgagent30(7) # 0, Allt(STR(__pDolgagent30(7),16,2)),\"\")","Header"]
["Долг8_агент_30","IIF(__pDolgagent30(8) # 0, Allt(STR(__pDolgagent30(8),16,2)),\"\")","Header"]
["Долг9_агент_30","IIF(__pDolgagent30(9) # 0, Allt(STR(__pDolgagent30(9),16,2)),\"\")","Header"]
["Долг10_агент_30","IIF(__pDolgagent30(10) # 0, Allt(STR(__pDolgagent30(10),16,2)),\"\")","Header"]
["Долг11_агент_30","IIF(__pDolgagent30(11) # 0, Allt(STR(__pDolgagent30(11),16,2)),\"\")","Header"]
["Долг12_агент_30","IIF(__pDolgagent30(12) # 0, Allt(STR(__pDolgagent30(12),16,2)),\"\")","Header"]
["Долг_итого_агент_30","IIF(__pDolgagent30(13) # 0, Allt(STR(__pDolgagent30(13),16,2)),\"\")","Header"]
[null,"__pNloop = 0","Header"]
[null,"__pNalIsch35O = 0","Header"]
[null,"For i = 1 to 13","Header"]
[null,"__pInc352610(1,i+2) = __pInc352610(1,i+2) - __pInc352610(1,i+17)","Header"]
[null,"EndFor","Header"]
[null,"__pFlag1210 = __pInc351210(1,3)#0 or __pInc351210(1,4)#0 or __pInc351210(1,5)#0 or __pInc351210(1,6)#0 or __pInc351210(1,7)#0 or __pInc351210(1,8)#0 or __pInc351210(1,9)#0 or __pInc351210(1,10)#0","Header"]
[null,"__pFlag1210 = __pFlag1210 or __pInc351210(1,11)#0 or __pInc351210(1,12)#0 or __pInc351210(1,13)#0 or __pInc351210(1,14)#0","Header"]
[null,"__pFlag2610 = __pInc352610(1,3)#0 or __pInc352610(1,4)#0 or __pInc352610(1,5)#0 or __pInc352610(1,6)#0 or __pInc352610(1,7)#0 or __pInc352610(1,8)#0 or __pInc352610(1,9)#0 or __pInc352610(1,10)#0","Header"]
[null,"__pFlag2610 = __pFlag2610 or __pInc352610(1,11)#0 or __pInc352610(1,12)#0 or __pInc352610(1,13)#0 or __pInc352610(1,14)#0","Header"]
[null,"__pFlag2740 = __pInc352740(1,3)#0 or __pInc352740(1,4)#0 or __pInc352740(1,5)#0 or __pInc352740(1,6)#0 or __pInc352740(1,7)#0 or __pInc352740(1,8)#0 or __pInc352740(1,9)#0 or __pInc352740(1,10)#0","Header"]
[null,"__pFlag2740 = __pFlag2740 or __pInc352740(1,11)#0 or __pInc352740(1,12)#0 or __pInc352740(1,13)#0 or __pInc352740(1,14)#0","Header"]
[null,"__pFlag3020 = __pInc353020(1,3)#0 or __pInc353020(1,4)#0 or __pInc353020(1,5)#0 or __pInc353020(1,6)#0 or __pInc353020(1,7)#0 or __pInc353020(1,8)#0 or __pInc353020(1,9)#0 or __pInc353020(1,10)#0","Header"]
[null,"__pFlag3020 = __pFlag3020 or __pInc353020(1,11)#0 or __pInc353020(1,12)#0 or __pInc353020(1,13)#0 or __pInc353020(1,14)#0","Header"]
[null,"Dime __pTax35Month1(13)","Header"]
[null,"__pTax35Month1 = 0","Header"]
[null,"Код 1210"]
[null,"__pNloop = __pNloop + 1","WhenSpec"]
[null,"__pTax35Month1 = 0","WhenSpec"]
[null,"ThisForm.lsignloopline = .T.","WhenSpec","__pNloop > 4"]
[null,"ThisForm.lsignloopline = !__pFlag1210","WhenSpec","__pNloop = 1"]
["Раздел5","\" \"","Spec","__pNloop = 1"]
["Код_35","\"1210\"","Spec","__pNloop = 1"]
["Сумма_1_35","IIF(__pInc351210(1,3)#0,Allt(Str(__pInc351210(1,3),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_2_35","IIF(__pInc351210(1,4)#0,Allt(Str(__pInc351210(1,4),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_3_35","IIF(__pInc351210(1,5)#0,Allt(Str(__pInc351210(1,5),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_4_35","IIF(__pInc351210(1,6)#0,Allt(Str(__pInc351210(1,6),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_5_35","IIF(__pInc351210(1,7)#0,Allt(Str(__pInc351210(1,7),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_6_35","IIF(__pInc351210(1,8)#0,Allt(Str(__pInc351210(1,8),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_7_35","IIF(__pInc351210(1,9)#0,Allt(Str(__pInc351210(1,9),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_8_35","IIF(__pInc351210(1,10)#0,Allt(Str(__pInc351210(1,10),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_9_35","IIF(__pInc351210(1,11)#0,Allt(Str(__pInc351210(1,11),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_10_35","IIF(__pInc351210(1,12)#0,Allt(Str(__pInc351210(1,12),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_11_35","IIF(__pInc351210(1,13)#0,Allt(Str(__pInc351210(1,13),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_12_35","IIF(__pInc351210(1,14)#0,Allt(Str(__pInc351210(1,14),16,2)),\"\")","Spec","__pNloop = 1"]
["Сумма_итого_35","IIF(__pInc351210(1,15)#0,Allt(Str(__pInc351210(1,15),16,2)),\"\")","Spec","__pNloop = 1"]
["Вычет_505_1_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_2_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_3_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_4_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_5_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_6_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_7_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_8_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_9_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_10_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_11_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_12_35","\"\"","Spec","__pNloop = 1"]
["Вычет_505_итого_35","\"\"","Spec","__pNloop = 1"]
["Возвр35_агент","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 1 and !__pFlag2610 and !__pFlag2740 and !__pFlag3020"]
["Возвр35_агент1","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 1 and !__pFlag2610 and !__pFlag2740 and !__pFlag3020"]
[null,"For i = 1 to 13","Spec","__pNloop = 1"]
[null,"__pNalBase35(i) = __pInc351210(1,i+2)","Spec","__pNloop = 1"]
[null,"__pNalBase35(i) = iif(__pNalBase35(i) <0,0,__pNalBase35(i))","Spec","__pNloop = 1"]
[null,"EndFor","Spec","__pNloop = 1"]
[null,"__plAddPageBreak = __pFlag2610 or __pFlag2740 or __pFlag3020","Spec","__pNloop = 1"]
["Пропуск_строки_35","this.AddRowPageBreak(__pLastRow)","Spec","__pNloop = 1 and __plAddPageBreak"]
["Пропуск_строки_35","\"\"","Spec","__pNloop = 1 and !__plAddPageBreak"]
[null,"Код 2610"]
[null,"ThisForm.lsignloopline = !__pFlag2610","WhenSpec","__pNloop = 2"]
["Раздел5","\" \"","Spec","__pNloop = 2"]
["Код_35","\"2610\"","Spec","__pNloop = 2"]
["Сумма_1_35","IIF(__pInc352610(1,3)#0, Allt(Str(__pInc352610(1,3),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_2_35","IIF(__pInc352610(1,4)#0, Allt(Str(__pInc352610(1,4),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_3_35","IIF(__pInc352610(1,5)#0, Allt(Str(__pInc352610(1,5),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_4_35","IIF(__pInc352610(1,6)#0, Allt(Str(__pInc352610(1,6),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_5_35","IIF(__pInc352610(1,7)#0, Allt(Str(__pInc352610(1,7),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_6_35","IIF(__pInc352610(1,8)#0, Allt(Str(__pInc352610(1,8),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_7_35","IIF(__pInc352610(1,9)#0, Allt(Str(__pInc352610(1,9),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_8_35","IIF(__pInc352610(1,10)#0, Allt(Str(__pInc352610(1,10),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_9_35","IIF(__pInc352610(1,11)#0, Allt(Str(__pInc352610(1,11),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_10_35","IIF(__pInc352610(1,12)#0, Allt(Str(__pInc352610(1,12),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_11_35","IIF(__pInc352610(1,13)#0, Allt(Str(__pInc352610(1,13),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_12_35","IIF(__pInc352610(1,14)#0, Allt(Str(__pInc352610(1,14),16,2)),\"\")","Spec","__pNloop = 2"]
["Сумма_итого_35","IIF(__pInc352610(1,15)#0, Allt(Str(__pInc352610(1,15),16,2)),\"\")","Spec","__pNloop = 2"]
["Вычет_505_1_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_2_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_3_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_4_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_5_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_6_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_7_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_8_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_9_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_10_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_11_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_12_35","\"\"","Spec","__pNloop = 2"]
["Вычет_505_итого_35","\"\"","Spec","__pNloop = 2"]
["Возвр35_агент","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 2 and  !__pFlag2740 and !__pFlag3020"]
["Возвр35_агент1","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 2 and  !__pFlag2740 and !__pFlag3020"]
[null,"For i = 1 to 13","Spec","__pNloop = 2"]
[null,"__pNalBase35(i) = __pInc352610(1,i+2)","Spec","__pNloop = 2"]
[null,"__pNalBase35(i) = iif(__pNalBase35(i) <0,0,__pNalBase35(i))","Spec","__pNloop = 2"]
[null,"EndFor","Spec","__pNloop = 2"]
[null,"__plAddPageBreak = !__pFlag1210 and (__pFlag2740 or __pFlag3020)","Spec","__pNloop = 2"]
["Пропуск_строки_35","this.AddRowPageBreak(__pLastRow)","Spec","__pNloop = 2 and __plAddPageBreak"]
["Пропуск_строки_35","\"\"","Spec","__pNloop = 2 and !__plAddPageBreak"]
[null,"Код 2740"]
[null,"ThisForm.lsignloopline = !__pFlag2740","WhenSpec","__pNloop = 3"]
["Раздел5","\" \"","Spec","__pNloop = 3"]
["Код_35","\"2740\"","Spec","__pNloop = 3"]
["Сумма_1_35","IIF(__pInc352740(1,3)#0, Allt(Str(__pInc352740(1,3),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_2_35","IIF(__pInc352740(1,4)#0, Allt(Str(__pInc352740(1,4),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_3_35","IIF(__pInc352740(1,5)#0, Allt(Str(__pInc352740(1,5),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_4_35","IIF(__pInc352740(1,6)#0, Allt(Str(__pInc352740(1,6),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_5_35","IIF(__pInc352740(1,7)#0, Allt(Str(__pInc352740(1,7),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_6_35","IIF(__pInc352740(1,8)#0, Allt(Str(__pInc352740(1,8),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_7_35","IIF(__pInc352740(1,9)#0, Allt(Str(__pInc352740(1,9),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_8_35","IIF(__pInc352740(1,10)#0, Allt(Str(__pInc352740(1,10),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_9_35","IIF(__pInc352740(1,11)#0, Allt(Str(__pInc352740(1,11),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_10_35","IIF(__pInc352740(1,12)#0, Allt(Str(__pInc352740(1,12),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_11_35","IIF(__pInc352740(1,13)#0, Allt(Str(__pInc352740(1,13),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_12_35","IIF(__pInc352740(1,14)#0, Allt(Str(__pInc352740(1,14),16,2)),\"\")","Spec","__pNloop = 3"]
["Сумма_итого_35","IIF(__pInc352740(1,15)#0, Allt(Str(__pInc352740(1,15),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_1_35","IIF(__pInc352740(1,18)#0, Allt(Str(__pInc352740(1,18),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_2_35","IIF(__pInc352740(1,19)#0, Allt(Str(__pInc352740(1,19),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_3_35","IIF(__pInc352740(1,20)#0, Allt(Str(__pInc352740(1,20),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_4_35","IIF(__pInc352740(1,21)#0, Allt(Str(__pInc352740(1,21),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_5_35","IIF(__pInc352740(1,22)#0, Allt(Str(__pInc352740(1,22),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_6_35","IIF(__pInc352740(1,23)#0, Allt(Str(__pInc352740(1,23),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_7_35","IIF(__pInc352740(1,24)#0, Allt(Str(__pInc352740(1,24),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_8_35","IIF(__pInc352740(1,25)#0, Allt(Str(__pInc352740(1,25),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_9_35","IIF(__pInc352740(1,26)#0, Allt(Str(__pInc352740(1,26),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_10_35","IIF(__pInc352740(1,27)#0, Allt(Str(__pInc352740(1,27),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_11_35","IIF(__pInc352740(1,28)#0, Allt(Str(__pInc352740(1,28),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_12_35","IIF(__pInc352740(1,29)#0, Allt(Str(__pInc352740(1,29),16,2)),\"\")","Spec","__pNloop = 3"]
["Вычет_505_итого_35","IIF(__pInc352740(1,30)#0, Allt(Str(__pInc352740(1,30),16,2)),\"\")","Spec","__pNloop = 3"]
["Возвр35_агент","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 3 and  !__pFlag3020"]
["Возвр35_агент1","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 3 and  !__pFlag3020"]
[null,"For i = 1 to 13","Spec","__pNloop = 3"]
[null,"__pNalBase35(i) = __pInc352740(1,i+2) - __pInc352740(1,i+17)","Spec","__pNloop = 3"]
[null,"__pNalBase35(i) = iif(__pNalBase35(i) <0,0,__pNalBase35(i))","Spec","__pNloop = 3"]
[null,"EndFor","Spec","__pNloop = 3"]
[null,"__plAddPageBreak = (__pFlag1210 and __pFlag2610 or !__pFlag1210 and !__pFlag2610) and __pFlag3020","Spec","__pNloop = 3"]
["Пропуск_строки_35","this.AddRowPageBreak(__pLastRow)","Spec","__pNloop = 3 and __plAddPageBreak"]
["Пропуск_строки_35","\"\"","Spec","__pNloop = 3 and !__plAddPageBreak"]
[null,"Код 3020"]
[null,"ThisForm.lsignloopline = !__pFlag3020","WhenSpec","__pNloop = 4"]
["Раздел5","\" \"","Spec","__pNloop = 4"]
["Код_35","\"3020\"","Spec","__pNloop = 4"]
["Сумма_1_35","IIF(__pInc353020(1,3)#0, Allt(Str(__pInc353020(1,3),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_2_35","IIF(__pInc353020(1,4)#0, Allt(Str(__pInc353020(1,4),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_3_35","IIF(__pInc353020(1,5)#0, Allt(Str(__pInc353020(1,5),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_4_35","IIF(__pInc353020(1,6)#0, Allt(Str(__pInc353020(1,6),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_5_35","IIF(__pInc353020(1,7)#0, Allt(Str(__pInc353020(1,7),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_6_35","IIF(__pInc353020(1,8)#0, Allt(Str(__pInc353020(1,8),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_7_35","IIF(__pInc353020(1,9)#0, Allt(Str(__pInc353020(1,9),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_8_35","IIF(__pInc353020(1,10)#0, Allt(Str(__pInc353020(1,10),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_9_35","IIF(__pInc353020(1,11)#0, Allt(Str(__pInc353020(1,11),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_10_35","IIF(__pInc353020(1,12)#0, Allt(Str(__pInc353020(1,12),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_11_35","IIF(__pInc353020(1,13)#0, Allt(Str(__pInc353020(1,13),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_12_35","IIF(__pInc353020(1,14)#0, Allt(Str(__pInc353020(1,14),16,2)),\"\")","Spec","__pNloop = 4"]
["Сумма_итого_35","IIF(__pInc353020(1,15)#0, Allt(Str(__pInc353020(1,15),16,2)),\"\")","Spec","__pNloop = 4"]
["Вычет_505_1_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_2_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_3_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_4_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_5_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_6_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_7_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_8_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_9_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_10_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_11_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_12_35","\"\"","Spec","__pNloop = 4"]
["Вычет_505_итого_35","\"\"","Spec","__pNloop = 4"]
["Возвр35_агент","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 4"]
["Возвр35_агент1","iif(__pTax35Month(1,2)<0, Allt(STR(abs(__pTax35Month(1,2)),16,2)),\"\")","Spec","__pNloop = 4"]
[null,"For i = 1 to 13","Spec","__pNloop = 4"]
[null,"__pNalBase35(i) = __pInc353020(1,i+2)","Spec","__pNloop = 4"]
[null,"__pNalBase35(i) = iif(__pNalBase35(i) <0,0,__pNalBase35(i))","Spec","__pNloop = 4"]
[null,"EndFor","Spec","__pNloop = 4"]
["Налоговая_база_1_35","IIF(__pNalBase35(1)#0, Allt(Str(__pNalBase35(1),16,2)),\"\")","Spec"]
["Налоговая_база_2_35","IIF(__pNalBase35(2)#0, Allt(Str(__pNalBase35(2),16,2)),\"\")","Spec"]
["Налоговая_база_3_35","IIF(__pNalBase35(3)#0, Allt(Str(__pNalBase35(3),16,2)),\"\")","Spec"]
["Налоговая_база_4_35","IIF(__pNalBase35(4)#0, Allt(Str(__pNalBase35(4),16,2)),\"\")","Spec"]
["Налоговая_база_5_35","IIF(__pNalBase35(5)#0, Allt(Str(__pNalBase35(5),16,2)),\"\")","Spec"]
["Налоговая_база_6_35","IIF(__pNalBase35(6)#0, Allt(Str(__pNalBase35(6),16,2)),\"\")","Spec"]
["Налоговая_база_7_35","IIF(__pNalBase35(7)#0, Allt(Str(__pNalBase35(7),16,2)),\"\")","Spec"]
["Налоговая_база_8_35","IIF(__pNalBase35(8)#0, Allt(Str(__pNalBase35(8),16,2)),\"\")","Spec"]
["Налоговая_база_9_35","IIF(__pNalBase35(9)#0, Allt(Str(__pNalBase35(9),16,2)),\"\")","Spec"]
["Налоговая_база_10_35","IIF(__pNalBase35(10)#0, Allt(Str(__pNalBase35(10),16,2)),\"\")","Spec"]
["Налоговая_база_11_35","IIF(__pNalBase35(11)#0, Allt(Str(__pNalBase35(11),16,2)),\"\")","Spec"]
["Налоговая_база_12_35","IIF(__pNalBase35(12)#0, Allt(Str(__pNalBase35(12),16,2)),\"\")","Spec"]
["Налоговая_база_итого_35","IIF(__pNalBase35(13)#0, Allt(Str(__pNalBase35(13),16,2)),\"\")","Spec"]
[null,"Store 0 to  __pTax35Month1(13), __pNalIsch35(13), __pNalBase35Year, __pNalIsch35Year","Spec"]
[null,"__pFlagContinue = __pFlag2610 or __pFlag2740 or __pFlag3020","Spec","__pNloop = 1"]
[null,"__pFlagContinue = __pFlag2740 or __pFlag3020","Spec","__pNloop = 2"]
[null,"__pFlagContinue = __pFlag3020","Spec","__pNloop = 3"]
[null,"__pFlagContinue = .F.","Spec","__pNloop = 4"]
[null,"расчет исчисленной суммы по каждому месяцу отдельно"]
[null,"For i = 1 to 12","Spec","__pFlAlone35"]
[null,"__pNalIsch35(i) =  round(__pNalBase35(i)*0.35,0)","Spec","__pFlAlone35"]
[null,"__pNalIsch35(13) = __pNalIsch35(13) + __pNalIsch35(i)","Spec","__pFlAlone35"]
[null,"EndFor","Spec","__pFlAlone35"]
[null,"расчет исчисленной суммы как разность суммы налога с начала года до текущего месяца и суммы налога с начала года до предыдущего"]
[null,"For i = 1 to 12","Spec","!__pFlAlone35"]
[null,"__pNalBase35Year = __pNalBase35Year + __pNalBase35(i)","Spec","!__pFlAlone35"]
[null,"__pNalIsch35(i) =  round(__pNalBase35Year*0.35 - __pNalIsch35Year,0)","Spec","!__pFlAlone35"]
[null,"__pNalIsch35Year = __pNalIsch35Year + __pNalIsch35(i)","Spec","!__pFlAlone35"]
[null,"__pNalIsch35(13) = __pNalIsch35(13) + __pNalIsch35(i)","Spec","!__pFlAlone35"]
[null,"EndFor","Spec","!__pFlAlone35"]
[null,"дробление удержанной суммы налога по ставке 35% по кодам дохода с учетом исчисленной суммы и удержанной суммы по каждому месяцу"]
[null,"For i = 1 to 12","Spec"]
[null,"__pTax35Month1(i) = IIF(__pDelta(i) > __pNalIsch35(i) and __pFlagContinue, __pNalIsch35(i), __pDelta(i)) ","Spec"]
[null,"__pDelta(i) = __pDelta(i) -  __pTax35Month1(i)","Spec"]
[null,"__pTax35Month1(13) = __pTax35Month1(13) +  __pTax35Month1(i)","Spec"]
[null,"EndFor","Spec"]
[null,"__pTax35Month1(13) = IIF(__pDelta(13) > __pTax35Month1(13) and __pFlagContinue, __pTax35Month1(13), __pDelta(13)) ","Spec"]
[null,"__pDelta(13) = __pDelta(13) - __pTax35Month1(13)","Spec"]
[null,"__pNalIsch35O = __pNalIsch35O + __pNalIsch35(13)","Spec"]
["Налог_исчисленный1_35","IIF(__pNalIsch35(1)#0, Allt(Str(__pNalIsch35(1),16,2)),\"\")","Spec"]
["Налог_исчисленный2_35","IIF(__pNalIsch35(2)#0, Allt(Str(__pNalIsch35(2),16,2)),\"\")","Spec"]
["Налог_исчисленный3_35","IIF(__pNalIsch35(3)#0, Allt(Str(__pNalIsch35(3),16,2)),\"\")","Spec"]
["Налог_исчисленный4_35","IIF(__pNalIsch35(4)#0, Allt(Str(__pNalIsch35(4),16,2)),\"\")","Spec"]
["Налог_исчисленный5_35","IIF(__pNalIsch35(5)#0, Allt(Str(__pNalIsch35(5),16,2)),\"\")","Spec"]
["Налог_исчисленный6_35","IIF(__pNalIsch35(6)#0, Allt(Str(__pNalIsch35(6),16,2)),\"\")","Spec"]
["Налог_исчисленный7_35","IIF(__pNalIsch35(7)#0, Allt(Str(__pNalIsch35(7),16,2)),\"\")","Spec"]
["Налог_исчисленный8_35","IIF(__pNalIsch35(8)#0, Allt(Str(__pNalIsch35(8),16,2)),\"\")","Spec"]
["Налог_исчисленный9_35","IIF(__pNalIsch35(9)#0, Allt(Str(__pNalIsch35(9),16,2)),\"\")","Spec"]
["Налог_исчисленный10_35","IIF(__pNalIsch35(10)#0, Allt(Str(__pNalIsch35(10),16,2)),\"\")","Spec"]
["Налог_исчисленный11_35","IIF(__pNalIsch35(11)#0, Allt(Str(__pNalIsch35(11),16,2)),\"\")","Spec"]
["Налог_исчисленный12_35","IIF(__pNalIsch35(12)#0, Allt(Str(__pNalIsch35(12),16,2)),\"\")","Spec"]
["Налог_исчисленный_итого_35","IIF(__pNalIsch35(13)#0, Allt(Str(__pNalIsch35(13),16,2)),\"\")","Spec"]
["Налог_удержанный1_35","IIF(__pTax35Month1(1)#0, Allt(Str(__pTax35Month1(1),16,2)),\"\")","Spec"]
["Налог_удержанный2_35","IIF(__pTax35Month1(2)#0, Allt(Str(__pTax35Month1(2),16,2)),\"\")","Spec"]
["Налог_удержанный3_35","IIF(__pTax35Month1(3)#0, Allt(Str(__pTax35Month1(3),16,2)),\"\")","Spec"]
["Налог_удержанный4_35","IIF(__pTax35Month1(4)#0, Allt(Str(__pTax35Month1(4),16,2)),\"\")","Spec"]
["Налог_удержанный5_35","IIF(__pTax35Month1(5)#0, Allt(Str(__pTax35Month1(5),16,2)),\"\")","Spec"]
["Налог_удержанный6_35","IIF(__pTax35Month1(6)#0, Allt(Str(__pTax35Month1(6),16,2)),\"\")","Spec"]
["Налог_удержанный7_35","IIF(__pTax35Month1(7)#0, Allt(Str(__pTax35Month1(7),16,2)),\"\")","Spec"]
["Налог_удержанный8_35","IIF(__pTax35Month1(8)#0, Allt(Str(__pTax35Month1(8),16,2)),\"\")","Spec"]
["Налог_удержанный9_35","IIF(__pTax35Month1(9)#0, Allt(Str(__pTax35Month1(9),16,2)),\"\")","Spec"]
["Налог_удержанный10_35","IIF(__pTax35Month1(10)#0, Allt(Str(__pTax35Month1(10),16,2)),\"\")","Spec"]
["Налог_удержанный11_35","IIF(__pTax35Month1(11)#0, Allt(Str(__pTax35Month1(11),16,2)),\"\")","Spec"]
["Налог_удержанный12_35","IIF(__pTax35Month1(12)#0, Allt(Str(__pTax35Month1(12),16,2)),\"\")","Spec"]
["Налог_удержанный_итого_35","IIF(__pTax35Month1(13)#0, Allt(Str(__pTax35Month1(13),16,2)),\"\")","Spec"]
[null,"For i = 1 to 13","Spec"]
[null,"__pDolgNal35(i) = iif(__pNalIsch35(i)-__pTax35Month1(i)>0,__pNalIsch35(i)-__pTax35Month1(i),0)","Spec"]
[null,"EndFor","Spec"]
[null,"For i = 1 to 13","Spec"]
[null,"__pDolgagent35(i) = abs(iif(__pNalIsch35(i)-__pTax35Month1(i)<0,__pNalIsch35(i)-__pTax35Month1(i),0))","Spec"]
[null,"EndFor","Spec"]
["Долг1_налогоплательщик_35","IIF(__pDolgNal35(1)#0, Allt(Str(__pDolgNal35(1),16,2)),\"\")","Spec"]
["Долг2_налогоплательщик_35","IIF(__pDolgNal35(2)#0, Allt(Str(__pDolgNal35(2),16,2)),\"\")","Spec"]
["Долг3_налогоплательщик_35","IIF(__pDolgNal35(3)#0, Allt(Str(__pDolgNal35(3),16,2)),\"\")","Spec"]
["Долг4_налогоплательщик_35","IIF(__pDolgNal35(4)#0, Allt(Str(__pDolgNal35(4),16,2)),\"\")","Spec"]
["Долг5_налогоплательщик_35","IIF(__pDolgNal35(5)#0, Allt(Str(__pDolgNal35(5),16,2)),\"\")","Spec"]
["Долг6_налогоплательщик_35","IIF(__pDolgNal35(6)#0, Allt(Str(__pDolgNal35(6),16,2)),\"\")","Spec"]
["Долг7_налогоплательщик_35","IIF(__pDolgNal35(7)#0, Allt(Str(__pDolgNal35(7),16,2)),\"\")","Spec"]
["Долг8_налогоплательщик_35","IIF(__pDolgNal35(8)#0, Allt(Str(__pDolgNal35(8),16,2)),\"\")","Spec"]
["Долг9_налогоплательщик_35","IIF(__pDolgNal35(9)#0, Allt(Str(__pDolgNal35(9),16,2)),\"\")","Spec"]
["Долг10_налогоплательщик_35","IIF(__pDolgNal35(10)#0, Allt(Str(__pDolgNal35(10),16,2)),\"\")","Spec"]
["Долг11_налогоплательщик_35","IIF(__pDolgNal35(11)#0, Allt(Str(__pDolgNal35(11),16,2)),\"\")","Spec"]
["Долг12_налогоплательщик_35","IIF(__pDolgNal35(12)#0, Allt(Str(__pDolgNal35(12),16,2)),\"\")","Spec"]
["Долг_итого_налогоплательщик_35","IIF(__pDolgNal35(13)#0, Allt(Str(__pDolgNal35(13),16,2)),\"\")","Spec"]
["Долг1_агент_35","IIF(__pDolgagent35(1)#0, Allt(Str(__pDolgagent35(1),16,2)),\"\")","Spec"]
["Долг2_агент_35","IIF(__pDolgagent35(2)#0, Allt(Str(__pDolgagent35(2),16,2)),\"\")","Spec"]
["Долг3_агент_35","IIF(__pDolgagent35(3)#0, Allt(Str(__pDolgagent35(3),16,2)),\"\")","Spec"]
["Долг4_агент_35","IIF(__pDolgagent35(4)#0, Allt(Str(__pDolgagent35(4),16,2)),\"\")","Spec"]
["Долг5_агент_35","IIF(__pDolgagent35(5)#0, Allt(Str(__pDolgagent35(5),16,2)),\"\")","Spec"]
["Долг6_агент_35","IIF(__pDolgagent35(6)#0, Allt(Str(__pDolgagent35(6),16,2)),\"\")","Spec"]
["Долг7_агент_35","IIF(__pDolgagent35(7)#0, Allt(Str(__pDolgagent35(7),16,2)),\"\")","Spec"]
["Долг8_агент_35","IIF(__pDolgagent35(8)#0, Allt(Str(__pDolgagent35(8),16,2)),\"\")","Spec"]
["Долг9_агент_35","IIF(__pDolgagent35(9)#0, Allt(Str(__pDolgagent35(9),16,2)),\"\")","Spec"]
["Долг10_агент_35","IIF(__pDolgagent35(10)#0, Allt(Str(__pDolgagent35(10),16,2)),\"\")","Spec"]
["Долг11_агент_35","IIF(__pDolgagent35(11)#0, Allt(Str(__pDolgagent35(11),16,2)),\"\")","Spec"]
["Долг12_агент_35","IIF(__pDolgagent35(12)#0, Allt(Str(__pDolgagent35(12),16,2)),\"\")","Spec"]
["Долг_итого_агент_35","IIF(__pDolgagent35(13)#0, Allt(Str(__pDolgagent35(13),16,2)),\"\")","Spec"]
["Взыскание_35","\"\"","Spec"]
["Сумма_исчисленная6","IIF(__pNalIsch30(13) # 0, Allt(Str(__pNalIsch30(13),16,2)),\"\")","Footer"]
["Сумма_исчисленная13","IIF(__pNalIsch13(13) # 0, Allt(Str(__pNalIsch13(13),16,2)),\"\")","Footer","__plRezident"]
["Сумма_исчисленная30","\"\"","Footer","__plRezident"]
["Сумма_исчисленная13","\"\"","Footer","!__plRezident"]
["Сумма_исчисленная30","IIF(__pNalIsch13(13) # 0, Allt(Str(__pNalIsch13(13),16,2)),\"\")","Footer","!__plRezident"]
["Сумма_исчисленная35","IIF(__pNalIsch35O # 0, Allt(Str(__pNalIsch35O,16,2)),\"\")","Footer"]
["Сумма_исчисленная_итого","IIF(__pNalIsch13(13)+__pNalIsch30(13)+__pNalIsch35O # 0, Allt(Str(__pNalIsch13(13)+__pNalIsch30(13)+__pNalIsch35O,16,2)),\"\")","Footer"]
["Сумма_удержанная6","IIF(__pTax30Month(1,15) # 0, Allt(Str(__pTax30Month(1,15),16,2)),\"\")","Footer"]
["Сумма_удержанная13","IIF(__pTax13Month(1,15) # 0, Allt(Str(__pTax13Month(1,15),16,2)),\"\")","Footer","__plRezident"]
["Сумма_удержанная30","\"\"","Footer","__plRezident"]
["Сумма_удержанная13","\"\"","Footer","!__plRezident"]
["Сумма_удержанная30","IIF(__pTax13Month(1,15) # 0, Allt(Str(__pTax13Month(1,15),16,2)),\"\")","Footer","!__plRezident"]
["Сумма_удержанная35","IIF(__pTax35Month(1,15) # 0, Allt(Str(__pTax35Month(1,15),16,2)),\"\")","Footer"]
["Сумма_удержанная_итого","IIF(__pTax13Month(1,15)+__pTax30Month(1,15)+__pTax35Month(1,15) # 0, Allt(Str(__pTax13Month(1,15)+__pTax30Month(1,15)+__pTax35Month(1,15),16,2)),\"\")","Footer"]
[null,"__pDolgNal35O = iif(__pNalIsch35O -__pTax35Month(1,15)>0,__pNalIsch35O-__pTax35Month(1,15),0)","Footer"]
[null,"__pDolgagent35O = abs(iif(__pNalIsch35O-__pTax35Month(1,15)<0,__pNalIsch35O-__pTax35Month(1,15),0))","Footer"]
["Долг_за_налогоплательщиком6","IIF(__pDolgNal30(13) # 0, Allt(Str(__pDolgNal30(13),16,2)),\"\") ","Footer"]
["Долг_за_налогоплательщиком13","IIF(__pDolgNal13(13) # 0, Allt(Str(__pDolgNal13(13),16,2)),\"\") ","Footer","__plRezident"]
["Долг_за_налогоплательщиком30","\"\"","Footer","__plRezident"]
["Долг_за_налогоплательщиком13","\"\"","Footer","!__plRezident"]
["Долг_за_налогоплательщиком30","IIF(__pDolgNal13(13) # 0, Allt(Str(__pDolgNal13(13),16,2)),\"\") ","Footer","!__plRezident"]
["Долг_за_налогоплательщиком35","IIF(__pDolgNal35O # 0, Allt(Str(__pDolgNal35O,16,2)),\"\") ","Footer"]
[null,"__pDolg = __pDolgNal13(13) + __pDolgNal30(13) +__pDolgNal35O - __pDolgagent13(13) - __pDolgagent30(13) - __pDolgagent35O","Footer"]
["Долг_за_налогоплательщиком_итого","IIF(__pDolg>0, Allt(Str(__pDolg,16,2)),\"\") ","Footer"]
["Долг_за_агентом6","IIF(__pDolgagent30(13) # 0, Allt(Str(__pDolgagent30(13),16,2)),\"\")","Footer"]
["Долг_за_агентом13","IIF(__pDolgagent13(13) # 0, Allt(Str(__pDolgagent13(13),16,2)),\"\")","Footer","__plRezident"]
["Долг_за_агентом30","\"\"","Footer","__plRezident"]
["Долг_за_агентом13","\"\"","Footer","!__plRezident"]
["Долг_за_агентом30","IIF(__pDolgagent13(13) # 0, Allt(Str(__pDolgagent13(13),16,2)),\"\")","Footer","!__plRezident"]
["Долг_за_агентом35","IIF(__pDolgagent35O # 0, Allt(Str(__pDolgagent35O,16,2)),\"\")","Footer"]
["Долг_за_агентом_итого","IIF(__pDolg<0, Allt(Str(abs(__pDolg),16,2)),\"\") ","Footer"]
["КД1_4","__pIncPrCode(1,1)","Footer"]
["СД1_1_4","IIF(__pIncPrCode(1,3) # 0, Allt(Str(__pIncPrCode(1,3),16,2)),\"\")","Footer"]
["СД1_2_4","IIF(__pIncPrCode(1,4) # 0, Allt(Str(__pIncPrCode(1,4),16,2)),\"\")","Footer"]
["СД1_3_4","IIF(__pIncPrCode(1,5) # 0, Allt(Str(__pIncPrCode(1,5),16,2)),\"\")","Footer"]
["СД1_4_4","IIF(__pIncPrCode(1,6) # 0, Allt(Str(__pIncPrCode(1,6),16,2)),\"\")","Footer"]
["СД1_5_4","IIF(__pIncPrCode(1,7) # 0, Allt(Str(__pIncPrCode(1,7),16,2)),\"\")","Footer"]
["СД1_6_4","IIF(__pIncPrCode(1,8) # 0, Allt(Str(__pIncPrCode(1,8),16,2)),\"\")","Footer"]
["СД1_7_4","IIF(__pIncPrCode(1,9) # 0, Allt(Str(__pIncPrCode(1,9),16,2)),\"\")","Footer"]
["СД1_8_4","IIF(__pIncPrCode(1,10) # 0, Allt(Str(__pIncPrCode(1,10),16,2)),\"\")","Footer"]
["СД1_9_4","IIF(__pIncPrCode(1,11) # 0, Allt(Str(__pIncPrCode(1,11),16,2)),\"\")","Footer"]
["СД1_10_4","IIF(__pIncPrCode(1,12) # 0, Allt(Str(__pIncPrCode(1,12),16,2)),\"\")","Footer"]
["СД1_11_4","IIF(__pIncPrCode(1,13) # 0, Allt(Str(__pIncPrCode(1,13),16,2)),\"\")","Footer"]
["СД1_12_4","IIF(__pIncPrCode(1,14) # 0, Allt(Str(__pIncPrCode(1,14),16,2)),\"\")","Footer"]
["СД1_итого__4","IIF(__pIncPrCode(1,15) # 0, Allt(Str(__pIncPrCode(1,15),16,2)),\"\")","Footer"]
["КД2_4","__pIncPrCode(2,1)","Footer"]
["СД2_1_4","IIF(__pIncPrCode(2,3) # 0, Allt(Str(__pIncPrCode(2,3),16,2)),\"\")","Footer"]
["СД2_2_4","IIF(__pIncPrCode(2,4) # 0, Allt(Str(__pIncPrCode(2,4),16,2)),\"\")","Footer"]
["СД2_3_4","IIF(__pIncPrCode(2,5) # 0, Allt(Str(__pIncPrCode(2,5),16,2)),\"\")","Footer"]
["СД2_4_4","IIF(__pIncPrCode(2,6) # 0, Allt(Str(__pIncPrCode(2,6),16,2)),\"\")","Footer"]
["СД2_5_4","IIF(__pIncPrCode(2,7) # 0, Allt(Str(__pIncPrCode(2,7),16,2)),\"\")","Footer"]
["СД2_6_4","IIF(__pIncPrCode(2,8) # 0, Allt(Str(__pIncPrCode(2,8),16,2)),\"\")","Footer"]
["СД2_7_4","IIF(__pIncPrCode(2,9) # 0, Allt(Str(__pIncPrCode(2,9),16,2)),\"\")","Footer"]
["СД2_8_4","IIF(__pIncPrCode(2,10) # 0, Allt(Str(__pIncPrCode(2,10),16,2)),\"\")","Footer"]
["СД2_9_4","IIF(__pIncPrCode(2,11) # 0, Allt(Str(__pIncPrCode(2,11),16,2)),\"\")","Footer"]
["СД2_10_4","IIF(__pIncPrCode(2,12) # 0, Allt(Str(__pIncPrCode(2,12),16,2)),\"\")","Footer"]
["СД2_11_4","IIF(__pIncPrCode(2,13) # 0, Allt(Str(__pIncPrCode(2,13),16,2)),\"\")","Footer"]
["СД2_12_4","IIF(__pIncPrCode(2,14) # 0, Allt(Str(__pIncPrCode(2,14),16,2)),\"\")","Footer"]
["СД2_итого__4","IIF(__pIncPrCode(1,15) # 0, Allt(Str(__pIncPrCode(2,15),16,2)),\"\")","Footer"]
["КД3_4","__pIncPrCode(3,1)","Footer"]
["СД3_1_4","IIF(__pIncPrCode(3,3) # 0, Allt(Str(__pIncPrCode(3,3),16,2)),\"\")","Footer"]
["СД3_2_4","IIF(__pIncPrCode(3,4) # 0, Allt(Str(__pIncPrCode(3,4),16,2)),\"\")","Footer"]
["СД3_3_4","IIF(__pIncPrCode(3,5) # 0, Allt(Str(__pIncPrCode(3,5),16,2)),\"\")","Footer"]
["СД3_4_4","IIF(__pIncPrCode(3,6) # 0, Allt(Str(__pIncPrCode(3,6),16,2)),\"\")","Footer"]
["СД3_5_4","IIF(__pIncPrCode(3,7) # 0, Allt(Str(__pIncPrCode(3,7),16,2)),\"\")","Footer"]
["СД3_6_4","IIF(__pIncPrCode(3,8) # 0, Allt(Str(__pIncPrCode(3,8),16,2)),\"\")","Footer"]
["СД3_7_4","IIF(__pIncPrCode(3,9) # 0, Allt(Str(__pIncPrCode(3,9),16,2)),\"\")","Footer"]
["СД3_8_4","IIF(__pIncPrCode(3,10) # 0, Allt(Str(__pIncPrCode(3,10),16,2)),\"\")","Footer"]
["СД3_9_4","IIF(__pIncPrCode(3,11) # 0, Allt(Str(__pIncPrCode(3,11),16,2)),\"\")","Footer"]
["СД3_10_4","IIF(__pIncPrCode(3,12) # 0, Allt(Str(__pIncPrCode(3,12),16,2)),\"\")","Footer"]
["СД3_11_4","IIF(__pIncPrCode(3,13) # 0, Allt(Str(__pIncPrCode(3,13),16,2)),\"\")","Footer"]
["СД3_12_4","IIF(__pIncPrCode(3,14) # 0, Allt(Str(__pIncPrCode(3,14),16,2)),\"\")","Footer"]
["СД3_итого__4","IIF(__pIncPrCode(3,15) # 0, Allt(Str(__pIncPrCode(3,15),16,2)),\"\")","Footer"]
["КД4_4","__pIncPrCode(4,1)","Footer"]
["СД4_1_4","IIF(__pIncPrCode(4,3) # 0, Allt(Str(__pIncPrCode(4,3),16,2)),\"\")","Footer"]
["СД4_2_4","IIF(__pIncPrCode(4,4) # 0, Allt(Str(__pIncPrCode(4,4),16,2)),\"\")","Footer"]
["СД4_3_4","IIF(__pIncPrCode(4,5) # 0, Allt(Str(__pIncPrCode(4,5),16,2)),\"\")","Footer"]
["СД4_4_4","IIF(__pIncPrCode(4,6) # 0, Allt(Str(__pIncPrCode(4,6),16,2)),\"\")","Footer"]
["СД4_5_4","IIF(__pIncPrCode(4,7) # 0, Allt(Str(__pIncPrCode(4,7),16,2)),\"\")","Footer"]
["СД4_6_4","IIF(__pIncPrCode(4,8) # 0, Allt(Str(__pIncPrCode(4,8),16,2)),\"\")","Footer"]
["СД4_7_4","IIF(__pIncPrCode(4,9) # 0, Allt(Str(__pIncPrCode(4,9),16,2)),\"\")","Footer"]
["СД4_8_4","IIF(__pIncPrCode(4,10) # 0, Allt(Str(__pIncPrCode(4,10),16,2)),\"\")","Footer"]
["СД4_9_4","IIF(__pIncPrCode(4,11) # 0, Allt(Str(__pIncPrCode(4,11),16,2)),\"\")","Footer"]
["СД4_10_4","IIF(__pIncPrCode(4,12) # 0, Allt(Str(__pIncPrCode(4,12),16,2)),\"\")","Footer"]
["СД4_11_4","IIF(__pIncPrCode(4,13) # 0, Allt(Str(__pIncPrCode(4,13),16,2)),\"\")","Footer"]
["СД4_12_4","IIF(__pIncPrCode(4,14) # 0, Allt(Str(__pIncPrCode(4,14),16,2)),\"\")","Footer"]
["СД4_итого__4","IIF(__pIncPrCode(4,15) # 0, Allt(Str(__pIncPrCode(4,15),16,2)),\"\")","Footer"]
["КД5_4","__pIncPrCode(5,1)","Footer"]
["СД5_1_4","IIF(__pIncPrCode(5,3) # 0, Allt(Str(__pIncPrCode(5,3),16,2)),\"\")","Footer"]
["СД5_2_4","IIF(__pIncPrCode(5,4) # 0, Allt(Str(__pIncPrCode(5,4),16,2)),\"\")","Footer"]
["СД5_3_4","IIF(__pIncPrCode(5,5) # 0, Allt(Str(__pIncPrCode(5,5),16,2)),\"\")","Footer"]
["СД5_4_4","IIF(__pIncPrCode(5,6) # 0, Allt(Str(__pIncPrCode(5,6),16,2)),\"\")","Footer"]
["СД5_5_4","IIF(__pIncPrCode(5,7) # 0, Allt(Str(__pIncPrCode(5,7),16,2)),\"\")","Footer"]
["СД5_6_4","IIF(__pIncPrCode(5,8) # 0, Allt(Str(__pIncPrCode(5,8),16,2)),\"\")","Footer"]
["СД5_7_4","IIF(__pIncPrCode(5,9) # 0, Allt(Str(__pIncPrCode(5,9),16,2)),\"\")","Footer"]
["СД5_8_4","IIF(__pIncPrCode(5,10) # 0, Allt(Str(__pIncPrCode(5,10),16,2)),\"\")","Footer"]
["СД5_9_4","IIF(__pIncPrCode(5,11) # 0, Allt(Str(__pIncPrCode(5,11),16,2)),\"\")","Footer"]
["СД5_10_4","IIF(__pIncPrCode(5,12) # 0, Allt(Str(__pIncPrCode(5,12),16,2)),\"\")","Footer"]
["СД5_11_4","IIF(__pIncPrCode(5,13) # 0, Allt(Str(__pIncPrCode(5,13),16,2)),\"\")","Footer"]
["СД5_12_4","IIF(__pIncPrCode(5,14) # 0, Allt(Str(__pIncPrCode(5,14),16,2)),\"\")","Footer"]
["СД5_итого__4","IIF(__pIncPrCode(5,15) # 0, Allt(Str(__pIncPrCode(5,15),16,2)),\"\")","Footer"]
["Номер_справки_орган","rtrim(ZANKTXBS.DOCNUM1)","Footer"]
["дата_справки_орган","dtoc(ZANKTXBS.DOCDATE1)","Footer"]
["Номер_справки_налогоплательщику","rtrim(ZANKTXBS.DOCNUM2)","Footer"]
["Дата_справки_налогоплательщику","dtoc(ZANKTXBS.DOCDATE2)","Footer"]
["Должность_проверяющего","rtrim(Rep_DolControl)","Footer"]
["Фио_проверяющего","rtrim(Rep_FioControl)","Footer"]
[null,"__pLastRow = 0","Header","nForm = 0   "]
[null,"__pLastRow = IIF(VarType(__pLastRow) # \"N\", 0,  __pLastRow)","Header"]
["Конец_листа1","this.AddRowPageBreak(__pLastRow)","Header"]
["Конец_листа2","this.AddRowPageBreak(__pLastRow)","Header"]
["Конец_листа3","this.AddRowPageBreak(@__pLastRow)","Footer"]
[null,"Раздел 8. Результаты перерасчета налога за предшествующие налоговые периоды"]
[null,"__pLDolg = __pTax13Month(1,2) # 0 or __pTax30Month(1,2) # 0 or  __pTax35Month(1,2) # 0","Footer"]
[null,"__pDolg1 = __pTax13Month(1,2)+ __pTax30Month(1,2) + __pTax35Month(1,2)","Footer","__pLDolg"]
[null,"__pdat1 = ThisForm.ThisFormData.d1","Footer","__pLDolg"]
[null,"__pdat2 = ThisForm.ThisFormData.d2","Footer","__pLDolg"]
[null,"__pGod = Year(ThisForm.ThisFormData.d1) - 1","Footer","__pLDolg"]
[null,"ThisForm.ThisFormData.d1 = DATE(__pGod,1,1)","Footer","__pLDolg"]
[null,"ThisForm.ThisFormData.d2 = DATE(__pGod,12,31)","Footer","__pLDolg"]
[null,"Dimension __pTaskTaxSum2(8,2)","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(1,1) = '\"Доход\",\"\",\"*13%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc13Month\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(2,1) = '\"Налог\",\"\",\"*13%\",\"\",\"\",\"SUM\",\"__pTax13Month\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(3,1) = '\"Вычет\",\"\",\"*13%\",\"\",\"\",\"SUM\",\"__pDeductMonth\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(4,1) = '\"Доход\",\"\",\"*30%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc30Month\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(5,1) = '\"Налог\",\"\",\"*30%\",\"\",\"\",\"SUM\",\"__pTax30Month\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(6,1) = '\"Доход\",\"\",\"*35%\",\"\",\"\",\"SUM,DISC_SUM\",\"__pInc35Month\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(7,1) = '\"Налог\",\"\",\"*35%\",\"\",\"\",\"SUM\",\"__pTax35Month\"'","Footer","__pLDolg"]
[null,"__pTaskTaxSum2(8,1) = '\"Доход\",\"^*\",\"*ПРОЧИЕ\",\"\",\"\",\"SUM,DISC_SUM\",\"__pIncPrCode\"'","Footer","__pLDolg"]
[null,"ThisForm.ThisFormData.TAXSUM(ZANK.ANK_RN,@__pTaskTaxSum2,__pFlCont)","Footer","__pLDolg"]
[null,"расчет исчисленной суммы по ставке 13% (30%)"]
[null,"__pNalBase13(13) = __pInc13Month(1,15)-__pInc13Month(1,30)-__pDeductMonth(1,15)","Footer","__pLDolg"]
[null,"__pNalBase13(13) = max(__pNalBase13(13),0)","Footer","__pLDolg"]
[null,"__pNalIsch13(13) = round(__pNalBase13(13)*0.13,0)","Footer","__plRezident and __pLDolg"]
[null,"__pNalIsch13(13) = round(__pNalBase13(13)*0.30,0)","Footer","!__plRezident and __pLDolg"]
[null,"расчет исчисленной суммы по ставке 9%"]
[null,"__pNalBase30(13) = __pInc30Month(1,15)-__pInc30Month(1,30)","Footer","__pLDolg"]
[null,"__pNalBase30(13) = max(__pNalBase30(13),0)","Footer","__pLDolg"]
[null,"__pNalIsch30(13) =  round(__pNalBase30(13)*0.09,0)","Footer","__pLDolg"]
[null,"расчет исчисленной суммы по ставке 35%"]
[null,"__pNalBase35(13) = __pInc35Month(1,15)-__pInc35Month(1,30)","Footer","__pLDolg"]
[null,"__pNalBase35(13) = max(__pNalBase35(13),0)","Footer","__pLDolg"]
[null,"__pNalIsch35(13) =  round(__pNalBase35(13)*0.35,0)","Footer","__pLDolg"]
[null,"**********"]
["Год","STR(__pGod,4)","Footer","__pLDolg"]
["Год1","STR(__pGod,4)","Footer","__pLDolg"]
[null,"__pTmp = __pInc13Month(1,15) + __pInc30Month(1,15) + __pInc35Month(1,15) + __pIncPrCode(1,15)","Footer","__pLDolg"]
["Доход_общ","IIF(__pTmp # 0, Allt(Str(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
["Доход_общ1","IIF(__pTmp # 0, Allt(Str(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp1 = __pInc13Month(1,30) +__pDeductMonth(1,15) + __pInc30Month(1,30) + __pInc35Month(1,30)","Footer","__pLDolg"]
["Вычет_общ","IIF(__pTmp1 # 0, Allt(Str(__pTmp1,16,2)),\"\")","Footer","__pLDolg"]
["Вычет_общ1","IIF(__pTmp1 # 0, Allt(Str(__pTmp1,16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp = __pTmp - __pTmp1","Footer","__pLDolg"]
["База_общ","IIF(__pTmp # 0, Allt(Str(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
["База_общ1","IIF(__pTmp # 0, Allt(Str(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp = __pNalIsch13(13) + __pNalIsch30(13) + __pNalIsch35(13)","Footer","__pLDolg"]
["Налог_исч_общ","IIF(__pTmp # 0, Allt(Str(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
["Налог_исч_общ1","IIF(__pTmp # 0, Allt(Str(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp1 = __pTax13Month(1,15) + __pTax30Month(1,15) + __pTax35Month(1,15)","Footer","__pLDolg"]
["Налог_уд_общ","IIF(__pTmp1 # 0, Allt(Str(__pTmp1,16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp = __pTmp - __pTmp1","Footer","__pLDolg"]
["Долг_налогоплательщик_общ","iif(__pTmp>0, Allt(STR(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
["Долг_агент_общ","iif(__pTmp<0, Allt(STR(abs(__pTmp),16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp = __pNalIsch13(13) + __pNalIsch30(13) + __pNalIsch35(13)","Footer","__pLDolg"]
[null,"__pTmp1 = __pTax13Month(1,15) + __pTax30Month(1,15) + __pTax35Month(1,15)","Footer","__pLDolg"]
[null,"__pTmp1 = __pTmp1 + __pDolg1","Footer","__pLDolg"]
["Налог_уд_общ1","IIF(__pTmp1 # 0, Allt(Str(__pTmp1,16,2)),\"\")","Footer","__pLDolg"]
[null,"__pTmp = __pTmp - __pTmp1","Footer","__pLDolg"]
["Долг_налогоплательщик_общ1","iif(__pTmp>0, Allt(STR(__pTmp,16,2)),\"\")","Footer","__pLDolg"]
["Долг_агент_общ1","iif(__pTmp<0, Allt(STR(abs(__pTmp),16,2)),\"\")","Footer","__pLDolg"]
[null,"возвращаем РП"]
[null,"ThisForm.ThisFormData.d1 = __pdat1","Footer","__pLDolg"]
[null,"ThisForm.ThisFormData.d2 = __pdat2","Footer","__pLDolg"]