[2026-08-31 10:10:21] docflow.INFO: DETAIL LEAD{"order":{"use_nds":"0","items":[{"name":"Reportaj fotografic 20\/08\/26 C\u0103u\u0219eni ","count":"1","measure":"serv","price":"5000","discount":"0","total_discount":"0","total_price":"5000.00"}],"total_price":"5000.00","total_discount":"0.00","total_nds":"0.00"}} [] {"uid":"972a144"}
[2026-08-31 10:10:33] docflow.INFO: Apel createDoc {"data":{"amoAccountId":"29548744","amoUserId":null,"amoEntityId":"32463987","amoEntityType":"2","templateId":"11477","corporateEntityId":"","settlementAccountId":"","is_signed":null,"gdi":null,"number":null,"currentAmoUserId":null,"lang":null}} {"uid":"d2e81df"}
[2026-08-31 10:10:33] docflow.INFO: Token is valid for account 29548744. [] {"uid":"d2e81df"}
[2026-08-31 10:10:33] docflow.DEBUG: getClientAuth returned {"auth":"[object] (stdClass: {\"domain\":\"schimbatorstudio.amocrm.ru\",\"access_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjYyOWZhMjBiNTYyZjRkYjM3NjQ4MDI1MDZlNWQ5N2NiYmViNmEzM2RjZWI2MmUyMTU2YWQwMTliODQyZTc2Zjg0MmRkOWE0YzZkZTYwMzQ5In0.eyJhdWQiOiJlOWY4NTA4NS05YzE2LTQ4YzktODU4YS0wMjliMmM4OWVlNWYiLCJqdGkiOiI2MjlmYTIwYjU2MmY0ZGIzNzY0ODAyNTA2ZTVkOTdjYmJlYjZhMzNkY2ViNjJlMjE1NmFkMDE5Yjg0MmU3NmY4NDJkZDlhNGM2ZGU2MDM0OSIsImlhdCI6MTc1MTM2OTk1MywibmJmIjoxNzUxMzY5OTUzLCJleHAiOjE4ODAxNTA0MDAsInN1YiI6IjcxNjcwMjgiLCJncmFudF90eXBlIjoiIiwiYWNjb3VudF9pZCI6Mjk1NDg3NDQsImJhc2VfZG9tYWluIjoiYW1vY3JtLnJ1IiwidmVyc2lvbiI6Miwic2NvcGVzIjpbImNybSIsImZpbGVzIiwiZmlsZXNfZGVsZXRlIiwibm90aWZpY2F0aW9ucyIsInB1c2hfbm90aWZpY2F0aW9ucyJdLCJoYXNoX3V1aWQiOiI2ZTY1ZDYzMC1hNmRhLTQ2ZmEtYWZlMy0zNTE0NGU5YzU4ZDIiLCJhcGlfZG9tYWluIjoiYXBpLWIuYW1vY3JtLnJ1In0.AAYuEBV80lIrOkUXCBqwd5bwr31EDN780mA9x8LmJlQR0WVsr_nq0ozYRgUDtCEbc4VMejlFae1b1vddi7tJE2AoB2fGLuGtDbvOhG1BXUeNy6yqZHlM8lBZz7v5yBbjr01BmYzD1uAPUJ29T59mWjuIbYOpJ4Ka6FfCWFh47ECJjbhv8xxfQjDZMagFSUyISsJIL2o_zSFG_uUKcaPnSaQLsEJuwxyolHPxtC5I-mm41iRgl6pjNfZCUS8dwUy5twYIizYnZeCUteBwrcrMwD5Ocgv9Irk0X4jYHlnOP5KWdguew7VbRSMkt_IpckRQRFC3a8OIx1FfyqpoFZ_1Qw\"})","file":"/home/ytvmclwh/document.amocrm.md/src/Models/Docs.php","line":121} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://google.emale.uno/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32463987","entity_type":"leads"}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.WARNING: AmoDrive docflow context request failed {"url":"https://google.emale.uno/api/docflow/google-context","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/google-context?account_id=29548744&amp;entity_id=32463987&amp;entity_type=leads</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/31 10:10:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n"} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.DEBUG: AmoDrive docflow context request {"url":"https://gd.glucose-dev.online/api/docflow/google-context","query":{"account_id":"29548744","entity_id":"32463987","entity_type":"leads"}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.WARNING: AmoDrive docflow context response is not ready, trying next backend. {"url":"https://gd.glucose-dev.online/api/docflow/google-context","payload":{"ok":true,"accountId":29548744,"entityId":"32463987","entityType":"leads","amodrive":{"installed":false,"widgetStatus":"not_installed","amoAccountId":null,"accountHost":null,"license":{"status":"expired","configuredStatus":"expired","expiresAt":null,"isExpired":true,"isTrial":false,"isActive":false,"expiredByDate":false,"daysRemaining":null,"isLifetime":false},"licenseActive":false,"googleConnected":false,"googleEmail":null,"googleHasDriveScope":false,"googleHasDriveFileScope":false,"googleHasOwnershipScope":false,"readyForGeneratedFileMove":false,"readyForTransfer":false},"folder":null}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32463987","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://google.emale.uno/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 400 ","response":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n Sorry for the inconvenience.<br/>\r\nPlease report this message and include the following information to us.<br/>\r\nThank you very much!</p>\r\n<table>\r\n<tr>\r\n<td>URL:</td>\r\n<td>https://gd.glucose-dev.online/api/docflow/prepare-generated-doc</td>\r\n</tr>\r\n<tr>\r\n<td>Server:</td>\r\n<td>mail.glucose-dev.online</td>\r\n</tr>\r\n<tr>\r\n<td>Date:</td>\r\n<td>2026/08/31 10:10:38</td>\r\n</tr>\r\n</table>\r\n<hr><center>tengine</center>\r\n</body>\r\n</html>\r\n","payload":{"account_id":"29548744","entity_id":"32463987","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.DEBUG: AmoDrive prepare-generated-doc request {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","payload":{"account_id":"29548744","entity_id":"32463987","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.WARNING: AmoDrive prepare-generated-doc request failed {"url":"https://gd.glucose-dev.online/api/docflow/prepare-generated-doc","http_code":null,"error":"HTTP/2 404 ","response":"[object] (stdClass: {\"ok\":false,\"error\":\"AmoDrive is not installed for this account.\",\"accountId\":29548744})","payload":{"account_id":"29548744","entity_id":"32463987","entity_type":"leads","generator_email":"info@glucose.md"}} {"uid":"d2e81df"}
[2026-08-31 10:10:38] docflow.DEBUG: GAS request {"url":"https://script.google.com/macros/s/AKfycbwrvOJD46zkuoTzdhpc1kulhV8jRfgQBFZfQ121nkIip_k8yKit4xrbWTOzaJ-C-Yed6w/exec","body":{"templateFileId":"1-joxND8bCEDSaoRftBxf3x9z1WlBMAN0DyfDpscbqAk","accountId":"29548744","folderId":"1Us2AfskxgdA729xVr0F2vjZU9y5PlYDe","key":"~VTsK5dcnHc2cSSsjM$LFSjLlgbmJXwrp3R2P5nd","data":"{\"fileName\":\"Act de primire predare 726 20260831101038\",\"leadId\":\"32463987\",\"entities\":{\"\\u0441\\u0434\\u0435\\u043b\\u043a\\u0430\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"31.08.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"31.08.2026\",\"TVA\":\"Scutit\",\"ID\":\"32463987\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Foto casa Valentina Dobrovolschi\",\"Lead_name\":\"Foto casa Valentina Dobrovolschi\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2500\",\"Budget\":\"2500\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"lead\":{\"Sursa\":\"Client existent\",\"Statut achitare\":\"Neachitat\",\"Mod achitare\":\"Transfer bancar\",\"Tip serviciu\":\"Reportaje fotografice\",\"Data \\u0219edin\\u021bei\":\"31.08.2026\",\"Data livr\\u0103rii lucr\\u0103rilor\":\"31.08.2026\",\"TVA\":\"Scutit\",\"ID\":\"32463987\",\"\\u0421\\u0434\\u0435\\u043b\\u043a\\u0430_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Foto casa Valentina Dobrovolschi\",\"Lead_name\":\"Foto casa Valentina Dobrovolschi\",\"\\u0411\\u044e\\u0434\\u0436\\u0435\\u0442\":\"2500\",\"Budget\":\"2500\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\":{\"Email\":\"valentina.dbv@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069233217\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina DOBROVOLSCHI KUL\",\"Contact_name\":\"Valentina DOBROVOLSCHI KUL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"contact\":{\"Email\":\"valentina.dbv@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069233217\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina DOBROVOLSCHI KUL\",\"Contact_name\":\"Valentina DOBROVOLSCHI KUL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u043a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442\\u044b\":[{\"Email\":\"valentina.dbv@gmail.com\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"069233217\",\"\\u041a\\u043e\\u043d\\u0442\\u0430\\u043a\\u0442_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"Valentina DOBROVOLSCHI KUL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\"}],\"\\u043a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f\":{\"Cod fiscal\":\"1017600008182\",\"Banca\":\"ProCreditBank, Chisinau, Moldova\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"MD 2068, Chisinau, str. N. Dimo 17\\/1, of. 34\\nOffice MD 2064, Chisinau, str. Primaverii 14\",\"Cod Bancar\":\"PRCBMD22\",\"IBAN\":\"MD87PR002224188326001498\",\"TVA\":\"0609597\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"00\",\"Referal\":\"OMS\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"RS COMMUNICATIONS SRL\",\"Company_name\":\"RS COMMUNICATIONS SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"company\":{\"Cod fiscal\":\"1017600008182\",\"Banca\":\"ProCreditBank, Chisinau, Moldova\",\"Tip Companie\":\"A.O.\",\"\\u0410\\u0434\\u0440\\u0435\\u0441\":\"MD 2068, Chisinau, str. N. Dimo 17\\/1, of. 34\\nOffice MD 2064, Chisinau, str. Primaverii 14\",\"Cod Bancar\":\"PRCBMD22\",\"IBAN\":\"MD87PR002224188326001498\",\"TVA\":\"0609597\",\"Tip companie\":\"Cump\\u0103r\\u0103tor\",\"\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d\":\"00\",\"Referal\":\"OMS\",\"\\u041a\\u043e\\u043c\\u043f\\u0430\\u043d\\u0438\\u044f_\\u043d\\u0430\\u0438\\u043c\\u0435\\u043d\\u043e\\u0432\\u0430\\u043d\\u0438\\u0435\":\"RS COMMUNICATIONS SRL\",\"Company_name\":\"RS COMMUNICATIONS SRL\",\"\\u041e\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u0435\\u043d\\u043d\\u044b\\u0439\":\"Marina Balan\",\"Responsible\":\"Marina Balan\"},\"\\u0434\\u043e\\u043a\\u0443\\u043c\\u0435\\u043d\\u0442\":{\"\\u0414\\u0430\\u0442\\u0430\":\"31.08.2026\",\"\\u041d\\u043e\\u043c\\u0435\\u0440\":\"726\"},\"document\":{\"Date\":\"31.08.2026\",\"Number\":\"726\"},\"\\u0444\\u0430\\u043a\\u0442\\u0443\\u0440\\u043d\\u0430\\u044f \\u0447\\u0430\\u0441\\u0442\\u044c\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 20\\/08\\/26 C\\u0103u\\u0219eni \",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"5000\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"5000.00\"}],\"total_price\":\"5000.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}},\"invoice part\":{\"order\":{\"use_nds\":\"0\",\"items\":[{\"name\":\"Reportaj fotografic 20\\/08\\/26 C\\u0103u\\u0219eni \",\"count\":\"1\",\"measure\":\"serv\",\"price\":\"5000\",\"discount\":\"0\",\"total_discount\":\"0\",\"total_price\":\"5000.00\"}],\"total_price\":\"5000.00\",\"total_discount\":\"0.00\",\"total_nds\":\"0.00\"}}}}","edit":true}} {"uid":"d2e81df"}
[2026-08-31 10:10:45] docflow.DEBUG: GAS raw response {"raw":"[object] (stdClass: {\"code\":1,\"url\":\"https://docs.google.com/open?id=1SXMgasx4AYRZhL-LzCo0TkQqx-vJJDgKEJ-PaAC_sA0\",\"file_id\":\"1SXMgasx4AYRZhL-LzCo0TkQqx-vJJDgKEJ-PaAC_sA0\",\"error\":\"\",\"vars\":\"\"})"} {"uid":"d2e81df"}
[2026-08-31 10:10:45] docflow.WARNING: AmoDrive generated-file move is not ready. {"fileId":"1SXMgasx4AYRZhL-LzCo0TkQqx-vJJDgKEJ-PaAC_sA0","context":null} {"uid":"d2e81df"}
