[2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] ========== 新请求开始 ========== [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 请求ID: 20260831143737_57445737 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 日志类型: es_hague_api [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] ES海牙API请求开始 | Context: {"method":"POST","request_id":"20260831143737_57445737","input_raw":"{\"PushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"Country\":\"ES\",\"Data\":{\"LegalPersonSurnamePinyin\":\"WANG\",\"LegalPersonIdNumberBackPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/f053473e-e49a-4b2b-a645-5ad7f50ccb4a.png\",\"fileName\":\"反面.png\"}],\"LegalPersonIdStartDate\":\"2024-09-06\",\"LegalPersonCountry\":\"CN\",\"LegalPersonNamePinyin\":\"ZICHENG\",\"LegalPersonIdEndDate\":\"2044-09-06\",\"Nationality\":\"汉\",\"LegalPersonPhone\":\"+86 18820990915\",\"LegalPersonBirthDate\":\"1996-05-17\",\"LegalSignedFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/5bf8ec07-bc40-4186-af3e-dd4115026ec0.png\\\",\\\"fileName\\\":\\\"正面.png\\\"}]\",\"LegalPersonIdNumber\":\"650203199605170718\",\"LegalPersonAddressProvinceEn\":\"hongkong\",\"LegalPersonEmail\":\"460082351@qq.com\",\"LegalPersonGender\":\"男\",\"LegalPersonCityEngName\":\"hongkong\",\"LegalPersonName\":\"王子成\",\"LegalPersonIDCardAddress\":\"杭州市余杭区余杭街道凤新路354号1幢\",\"LegalPersonIDCardAddressEng\":null,\"LegalPersonIDCardType\":\"IDCARD\",\"LegalPersonIdNumberFrontPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/c3598158-3760-4b8d-81ea-2a83b13bdea8.png\",\"fileName\":\"正面.png\"}],\"__extraFile\":null,\"LocalTaxNumber\":null,\"Code\":null,\"VATTaxNumber\":null,\"AR\":\"M\",\"ProductsRange\":\"helmet Accessories\",\"BusinessPlatform_En\":\"Amazon\",\"ShopName\":\"motofan\",\"ShopUrl\":\"https:\\/\\/www.temu.com\\/mall.html?_bg_fs=1&mall_id=634418231606221\",\"ShopAccount\":\"634418231606221\",\"BusinessCRFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/2694f95d-1745-4c4a-bdc9-b33883c93da7.pdf\\\",\\\"fileName\\\":\\\"CR文件.pdf\\\"}]\",\"RegAddressEng\":\"RM 93, ZONE 2, 27\\/F EGL TOWER,83 HUNG TO RD,KWUN TONG,HONG KONG,999077HK\",\"CreditReportPic\":null,\"BusinessConstitutionFile\":null,\"EstablishmentDate\":null,\"RegisteredCapital\":null,\"CompanyAddressLine2En\":null,\"CRSignerPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/9539d37e-b431-4c0c-aa94-dba94d6a949e.png\",\"fileName\":\"CR签发人.png\"}],\"BRFooterPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/19a90d37-688c-450e-8a34-cb547022a976.png\",\"fileName\":\"BR脚码.png\"}],\"NameCN\":\"香港機車迷貿易有限公司\",\"NameEng\":\"HONG KONG MOTOFANS TRADING LIMITED\",\"CityEngName\":\"distrito de Yuhang\",\"RegNumber\":\"80684478\",\"CompanyCountry\":\"HK\",\"CompanyAddressPostcode\":\"311100\",\"RegisteredCapitalCurrency\":null,\"CompanyAddressLine1En\":\"barrio de Yuhang\",\"CompanyAddressProvinceEn\":\"HONG KONG\",\"Country\":\"HK\",\"BusinessLicensePic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/961313a2-815c-49aa-a758-cf87556ad758.pdf\",\"fileName\":\"CR文件.pdf\"}]},\"bizParam\":{\"deliveryId\":58214,\"pushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"operatorId\":253,\"logId\":null,\"operatorTime\":\"2026-08-31 14:37:37\",\"BusinessSerialNumber\":\"ES2026082917550712\",\"BusinessId\":\"58214\"},\"files\":[]}"} [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 开始处理ES海牙API请求 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 请求参数解析 | Context: {"PushType":"ES_VAT_REGISTER_HAGUE_FILE","Country":"ES","bizParam":{"deliveryId":58214,"pushType":"ES_VAT_REGISTER_HAGUE_FILE","operatorId":253,"logId":null,"operatorTime":"2026-08-31 14:37:37","BusinessSerialNumber":"ES2026082917550712","BusinessId":"58214"},"data_keys":["LegalPersonSurnamePinyin","LegalPersonIdNumberBackPic","LegalPersonIdStartDate","LegalPersonCountry","LegalPersonNamePinyin","LegalPersonIdEndDate","Nationality","LegalPersonPhone","LegalPersonBirthDate","LegalSignedFile","LegalPersonIdNumber","LegalPersonAddressProvinceEn","LegalPersonEmail","LegalPersonGender","LegalPersonCityEngName","LegalPersonName","LegalPersonIDCardAddress","LegalPersonIDCardAddressEng","LegalPersonIDCardType","LegalPersonIdNumberFrontPic","__extraFile","LocalTaxNumber","Code","VATTaxNumber","AR","ProductsRange","BusinessPlatform_En","ShopName","ShopUrl","ShopAccount","BusinessCRFile","RegAddressEng","CreditReportPic","BusinessConstitutionFile","EstablishmentDate","RegisteredCapital","CompanyAddressLine2En","CRSignerPic","BRFooterPic","NameCN","NameEng","CityEngName","RegNumber","CompanyCountry","CompanyAddressPostcode","RegisteredCapitalCurrency","CompanyAddressLine1En","CompanyAddressProvinceEn","Country","BusinessLicensePic"]} [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 开始由API参数构造业务数据 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 国家字段解析成功: LegalPersonCountry=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 国家字段解析成功: Country=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 国家字段解析成功: CompanyCountry=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] AR值确定: M(使用原模板) [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 必填字段验证通过 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 开始刷新国家数据缓存 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 国家数据缓存保存成功 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 国家数据缓存刷新成功 | Context: {"total_records":48,"cache_keys":144} [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 法人国家验证通过: CN -> China [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] VAT扩展字段验证通过 (客户类型: 海牙) [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 香港公司:由API参数构造CR/BR/查册文件 [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a95213164afb/CR文件.pdf [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] CR文件(注册证书)预下载成功: CR文件.pdf [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a952131a33ba/CR文件.pdf [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] BR文件(商业登记证)预下载成功: CR文件.pdf [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a952131c09f3/BR脚码.png [2026-08-31 14:37:37] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] BR脚码预下载成功: BR脚码.png [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a952131db421/CR签发人.png [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] CR签发人预下载成功: CR签发人.png [2026-08-31 14:37:38] [SUCCESS] [Req:20260831143737_57445737] [App:es_hague_api] API参数业务数据构造完成 | Context: {"is_hong_kong_company":true} [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 身份证正面文件URL校验通过: HTTP 200, 大小 647KB [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 身份证反面文件URL校验通过: HTTP 200, 大小 662.1KB [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] CR文件(注册证书)本地文件大小校验通过: 235.5KB [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] BR文件(商业登记证)本地文件大小校验通过: 235.5KB [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] BR脚码本地文件大小校验通过: 63.5KB [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] CR签发人本地文件大小校验通过: 43.6KB [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] RPA数据库连接成功 [环境: development] [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] 异步任务创建成功 | Context: {"task_id":"73","vat_business_record_id":"58214","priority":0} [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] ES海牙API任务创建成功 | Context: {"task_id":"73","data_source":"api","vat_business_record_id":"58214"} [2026-08-31 14:37:38] [SUCCESS] [Req:20260831143737_57445737] [App:es_hague_api] ES海牙API异步受理成功 | Context: {"task_id":"73","push_type":"ES_VAT_REGISTER_HAGUE_FILE","business_id":"58214"} [2026-08-31 14:37:38] [INFO] [Req:20260831143737_57445737] [App:es_hague_api] ES海牙API响应 | Context: {"status_code":200,"message":"success","has_data":false} [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] ========== 新请求开始 ========== [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 请求ID: 20260831143936_6ec9bfe4 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 日志类型: es_hague_api [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] ES海牙API请求开始 | Context: {"method":"POST","request_id":"20260831143936_6ec9bfe4","input_raw":"{\"PushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"Country\":\"ES\",\"Data\":{\"LegalPersonSurnamePinyin\":\"WANG\",\"LegalPersonIdNumberBackPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/f053473e-e49a-4b2b-a645-5ad7f50ccb4a.png\",\"fileName\":\"反面.png\"}],\"LegalPersonIdStartDate\":\"2024-09-06\",\"LegalPersonCountry\":\"CN\",\"LegalPersonNamePinyin\":\"ZICHENG\",\"LegalPersonIdEndDate\":\"2044-09-06\",\"Nationality\":\"汉\",\"LegalPersonPhone\":\"+86 18820990915\",\"LegalPersonBirthDate\":\"1996-05-17\",\"LegalSignedFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/5bf8ec07-bc40-4186-af3e-dd4115026ec0.png\\\",\\\"fileName\\\":\\\"正面.png\\\"}]\",\"LegalPersonIdNumber\":\"650203199605170718\",\"LegalPersonAddressProvinceEn\":\"hongkong\",\"LegalPersonEmail\":\"460082351@qq.com\",\"LegalPersonGender\":\"男\",\"LegalPersonCityEngName\":\"hongkong\",\"LegalPersonName\":\"王子成\",\"LegalPersonIDCardAddress\":\"杭州市余杭区余杭街道凤新路354号1幢\",\"LegalPersonIDCardAddressEng\":null,\"LegalPersonIDCardType\":\"IDCARD\",\"LegalPersonIdNumberFrontPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/c3598158-3760-4b8d-81ea-2a83b13bdea8.png\",\"fileName\":\"正面.png\"}],\"__extraFile\":null,\"LocalTaxNumber\":null,\"Code\":null,\"VATTaxNumber\":null,\"AR\":\"M\",\"ProductsRange\":\"helmet Accessories\",\"BusinessPlatform_En\":\"Amazon\",\"ShopName\":\"motofan\",\"ShopUrl\":\"https:\\/\\/www.temu.com\\/mall.html?_bg_fs=1&mall_id=634418231606221\",\"ShopAccount\":\"634418231606221\",\"BusinessCRFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/2694f95d-1745-4c4a-bdc9-b33883c93da7.pdf\\\",\\\"fileName\\\":\\\"CR文件.pdf\\\"}]\",\"RegAddressEng\":\"RM 93, ZONE 2, 27\\/F EGL TOWER,83 HUNG TO RD,KWUN TONG,HONG KONG,999077HK\",\"CreditReportPic\":null,\"BusinessConstitutionFile\":null,\"EstablishmentDate\":null,\"RegisteredCapital\":null,\"CompanyAddressLine2En\":null,\"CRSignerPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/9539d37e-b431-4c0c-aa94-dba94d6a949e.png\",\"fileName\":\"CR签发人.png\"}],\"BRFooterPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/19a90d37-688c-450e-8a34-cb547022a976.png\",\"fileName\":\"BR脚码.png\"}],\"NameCN\":\"香港機車迷貿易有限公司\",\"NameEng\":\"HONG KONG MOTOFANS TRADING LIMITED\",\"CityEngName\":\"distrito de Yuhang\",\"RegNumber\":\"80684478\",\"CompanyCountry\":\"HK\",\"CompanyAddressPostcode\":\"311100\",\"RegisteredCapitalCurrency\":null,\"CompanyAddressLine1En\":\"barrio de Yuhang\",\"CompanyAddressProvinceEn\":\"HONG KONG\",\"Country\":\"HK\",\"BusinessLicensePic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/961313a2-815c-49aa-a758-cf87556ad758.pdf\",\"fileName\":\"CR文件.pdf\"}]},\"bizParam\":{\"deliveryId\":58214,\"pushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"operatorId\":93,\"logId\":null,\"operatorTime\":\"2026-08-31 14:39:30\",\"BusinessSerialNumber\":\"ES2026082917550712\",\"BusinessId\":\"58214\"},\"files\":[]}"} [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 开始处理ES海牙API请求 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 请求参数解析 | Context: {"PushType":"ES_VAT_REGISTER_HAGUE_FILE","Country":"ES","bizParam":{"deliveryId":58214,"pushType":"ES_VAT_REGISTER_HAGUE_FILE","operatorId":93,"logId":null,"operatorTime":"2026-08-31 14:39:30","BusinessSerialNumber":"ES2026082917550712","BusinessId":"58214"},"data_keys":["LegalPersonSurnamePinyin","LegalPersonIdNumberBackPic","LegalPersonIdStartDate","LegalPersonCountry","LegalPersonNamePinyin","LegalPersonIdEndDate","Nationality","LegalPersonPhone","LegalPersonBirthDate","LegalSignedFile","LegalPersonIdNumber","LegalPersonAddressProvinceEn","LegalPersonEmail","LegalPersonGender","LegalPersonCityEngName","LegalPersonName","LegalPersonIDCardAddress","LegalPersonIDCardAddressEng","LegalPersonIDCardType","LegalPersonIdNumberFrontPic","__extraFile","LocalTaxNumber","Code","VATTaxNumber","AR","ProductsRange","BusinessPlatform_En","ShopName","ShopUrl","ShopAccount","BusinessCRFile","RegAddressEng","CreditReportPic","BusinessConstitutionFile","EstablishmentDate","RegisteredCapital","CompanyAddressLine2En","CRSignerPic","BRFooterPic","NameCN","NameEng","CityEngName","RegNumber","CompanyCountry","CompanyAddressPostcode","RegisteredCapitalCurrency","CompanyAddressLine1En","CompanyAddressProvinceEn","Country","BusinessLicensePic"]} [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 开始由API参数构造业务数据 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 国家字段解析成功: LegalPersonCountry=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 国家字段解析成功: Country=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 国家字段解析成功: CompanyCountry=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] AR值确定: M(使用原模板) [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 必填字段验证通过 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 从缓存加载国家数据成功,共 144 条记录 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 法人国家验证通过: CN -> China [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] VAT扩展字段验证通过 (客户类型: 海牙) [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 香港公司:由API参数构造CR/BR/查册文件 [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9521a89cbcf/CR文件.pdf [2026-08-31 14:39:36] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] CR文件(注册证书)预下载成功: CR文件.pdf [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9521a8e5415/CR文件.pdf [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] BR文件(商业登记证)预下载成功: CR文件.pdf [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9521a91ee3c/BR脚码.png [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] BR脚码预下载成功: BR脚码.png [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9521a93d901/CR签发人.png [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] CR签发人预下载成功: CR签发人.png [2026-08-31 14:39:37] [SUCCESS] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] API参数业务数据构造完成 | Context: {"is_hong_kong_company":true} [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 身份证正面文件URL校验通过: HTTP 200, 大小 647KB [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 身份证反面文件URL校验通过: HTTP 200, 大小 662.1KB [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] CR文件(注册证书)本地文件大小校验通过: 235.5KB [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] BR文件(商业登记证)本地文件大小校验通过: 235.5KB [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] BR脚码本地文件大小校验通过: 63.5KB [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] CR签发人本地文件大小校验通过: 43.6KB [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] RPA数据库连接成功 [环境: development] [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] 异步任务创建成功 | Context: {"task_id":"74","vat_business_record_id":"58214","priority":0} [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] ES海牙API任务创建成功 | Context: {"task_id":"74","data_source":"api","vat_business_record_id":"58214"} [2026-08-31 14:39:37] [SUCCESS] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] ES海牙API异步受理成功 | Context: {"task_id":"74","push_type":"ES_VAT_REGISTER_HAGUE_FILE","business_id":"58214"} [2026-08-31 14:39:37] [INFO] [Req:20260831143936_6ec9bfe4] [App:es_hague_api] ES海牙API响应 | Context: {"status_code":200,"message":"success","has_data":false} [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] ========== 新请求开始 ========== [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 请求ID: 20260831144242_f06e3005 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 日志类型: es_hague_api [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] ES海牙API请求开始 | Context: {"method":"POST","request_id":"20260831144242_f06e3005","input_raw":"{\"PushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"Country\":\"ES\",\"Data\":{\"LegalPersonSurnamePinyin\":\"WANG\",\"LegalPersonIdNumberBackPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/f053473e-e49a-4b2b-a645-5ad7f50ccb4a.png\",\"fileName\":\"反面.png\"}],\"LegalPersonIdStartDate\":\"2024-09-06\",\"LegalPersonCountry\":\"CN\",\"LegalPersonNamePinyin\":\"ZICHENG\",\"LegalPersonIdEndDate\":\"2044-09-06\",\"Nationality\":\"汉\",\"LegalPersonPhone\":\"+86 18820990915\",\"LegalPersonBirthDate\":\"1996-05-17\",\"LegalSignedFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/5bf8ec07-bc40-4186-af3e-dd4115026ec0.png\\\",\\\"fileName\\\":\\\"正面.png\\\"}]\",\"LegalPersonIdNumber\":\"650203199605170718\",\"LegalPersonAddressProvinceEn\":\"hongkong\",\"LegalPersonEmail\":\"460082351@qq.com\",\"LegalPersonGender\":\"男\",\"LegalPersonCityEngName\":\"hongkong\",\"LegalPersonName\":\"王子成\",\"LegalPersonIDCardAddress\":\"杭州市余杭区余杭街道凤新路354号1幢\",\"LegalPersonIDCardAddressEng\":null,\"LegalPersonIDCardType\":\"IDCARD\",\"LegalPersonIdNumberFrontPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/c3598158-3760-4b8d-81ea-2a83b13bdea8.png\",\"fileName\":\"正面.png\"}],\"__extraFile\":null,\"LocalTaxNumber\":null,\"Code\":null,\"VATTaxNumber\":null,\"AR\":\"M\",\"ProductsRange\":\"helmet Accessories\",\"BusinessPlatform_En\":\"Amazon\",\"ShopName\":\"motofan\",\"ShopUrl\":\"https:\\/\\/www.temu.com\\/mall.html?_bg_fs=1&mall_id=634418231606221\",\"ShopAccount\":\"634418231606221\",\"BusinessCRFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/2694f95d-1745-4c4a-bdc9-b33883c93da7.pdf\\\",\\\"fileName\\\":\\\"CR文件.pdf\\\"}]\",\"RegAddressEng\":\"RM 93, ZONE 2, 27\\/F EGL TOWER,83 HUNG TO RD,KWUN TONG,HONG KONG,999077HK\",\"CreditReportPic\":null,\"BusinessConstitutionFile\":null,\"EstablishmentDate\":null,\"RegisteredCapital\":null,\"CompanyAddressLine2En\":null,\"CRSignerPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/9539d37e-b431-4c0c-aa94-dba94d6a949e.png\",\"fileName\":\"CR签发人.png\"}],\"BRFooterPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/19a90d37-688c-450e-8a34-cb547022a976.png\",\"fileName\":\"BR脚码.png\"}],\"NameCN\":\"香港機車迷貿易有限公司\",\"NameEng\":\"HONG KONG MOTOFANS TRADING LIMITED\",\"CityEngName\":\"distrito de Yuhang\",\"RegNumber\":\"80684478\",\"CompanyCountry\":\"HK\",\"CompanyAddressPostcode\":\"311100\",\"RegisteredCapitalCurrency\":null,\"CompanyAddressLine1En\":\"barrio de Yuhang\",\"CompanyAddressProvinceEn\":\"HONG KONG\",\"Country\":\"HK\",\"BusinessLicensePic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/961313a2-815c-49aa-a758-cf87556ad758.pdf\",\"fileName\":\"CR文件.pdf\"}]},\"bizParam\":{\"deliveryId\":58214,\"pushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"operatorId\":93,\"logId\":null,\"operatorTime\":\"2026-08-31 14:42:36\",\"BusinessSerialNumber\":\"ES2026082917550712\",\"BusinessId\":\"58214\"},\"files\":[]}"} [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 开始处理ES海牙API请求 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 请求参数解析 | Context: {"PushType":"ES_VAT_REGISTER_HAGUE_FILE","Country":"ES","bizParam":{"deliveryId":58214,"pushType":"ES_VAT_REGISTER_HAGUE_FILE","operatorId":93,"logId":null,"operatorTime":"2026-08-31 14:42:36","BusinessSerialNumber":"ES2026082917550712","BusinessId":"58214"},"data_keys":["LegalPersonSurnamePinyin","LegalPersonIdNumberBackPic","LegalPersonIdStartDate","LegalPersonCountry","LegalPersonNamePinyin","LegalPersonIdEndDate","Nationality","LegalPersonPhone","LegalPersonBirthDate","LegalSignedFile","LegalPersonIdNumber","LegalPersonAddressProvinceEn","LegalPersonEmail","LegalPersonGender","LegalPersonCityEngName","LegalPersonName","LegalPersonIDCardAddress","LegalPersonIDCardAddressEng","LegalPersonIDCardType","LegalPersonIdNumberFrontPic","__extraFile","LocalTaxNumber","Code","VATTaxNumber","AR","ProductsRange","BusinessPlatform_En","ShopName","ShopUrl","ShopAccount","BusinessCRFile","RegAddressEng","CreditReportPic","BusinessConstitutionFile","EstablishmentDate","RegisteredCapital","CompanyAddressLine2En","CRSignerPic","BRFooterPic","NameCN","NameEng","CityEngName","RegNumber","CompanyCountry","CompanyAddressPostcode","RegisteredCapitalCurrency","CompanyAddressLine1En","CompanyAddressProvinceEn","Country","BusinessLicensePic"]} [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 开始由API参数构造业务数据 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 国家字段解析成功: LegalPersonCountry=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 国家字段解析成功: Country=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 国家字段解析成功: CompanyCountry=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] AR值确定: M(使用原模板) [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 必填字段验证通过 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 从缓存加载国家数据成功,共 144 条记录 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 法人国家验证通过: CN -> China [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] VAT扩展字段验证通过 (客户类型: 海牙) [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 香港公司:由API参数构造CR/BR/查册文件 [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a95226288134/CR文件.pdf [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] CR文件(注册证书)预下载成功: CR文件.pdf [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a952262b1a51/CR文件.pdf [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] BR文件(商业登记证)预下载成功: CR文件.pdf [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a952262cfd10/BR脚码.png [2026-08-31 14:42:42] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] BR脚码预下载成功: BR脚码.png [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a952262ec724/CR签发人.png [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] CR签发人预下载成功: CR签发人.png [2026-08-31 14:42:43] [SUCCESS] [Req:20260831144242_f06e3005] [App:es_hague_api] API参数业务数据构造完成 | Context: {"is_hong_kong_company":true} [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 身份证正面文件URL校验通过: HTTP 200, 大小 647KB [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 身份证反面文件URL校验通过: HTTP 200, 大小 662.1KB [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] CR文件(注册证书)本地文件大小校验通过: 235.5KB [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] BR文件(商业登记证)本地文件大小校验通过: 235.5KB [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] BR脚码本地文件大小校验通过: 63.5KB [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] CR签发人本地文件大小校验通过: 43.6KB [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] RPA数据库连接成功 [环境: development] [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] 异步任务创建成功 | Context: {"task_id":"75","vat_business_record_id":"58214","priority":0} [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] ES海牙API任务创建成功 | Context: {"task_id":"75","data_source":"api","vat_business_record_id":"58214"} [2026-08-31 14:42:43] [SUCCESS] [Req:20260831144242_f06e3005] [App:es_hague_api] ES海牙API异步受理成功 | Context: {"task_id":"75","push_type":"ES_VAT_REGISTER_HAGUE_FILE","business_id":"58214"} [2026-08-31 14:42:43] [INFO] [Req:20260831144242_f06e3005] [App:es_hague_api] ES海牙API响应 | Context: {"status_code":200,"message":"success","has_data":false} [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] ========== 新请求开始 ========== [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 请求ID: 20260831144354_db415cc6 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 日志类型: es_hague_api [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] ES海牙API请求开始 | Context: {"method":"POST","request_id":"20260831144354_db415cc6","input_raw":"{\"PushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"Country\":\"ES\",\"Data\":{\"LegalPersonIdNumberBackPic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/06\\/ad9ba397-3a41-443c-8c96-d567f9f567c3.jpg\\\",\\\"fileName\\\":\\\"DownAnnexesFileByFileUrl (2).jpg\\\"}]\",\"LegalPersonIdStartDate\":\"2019-04-15\",\"LegalPersonIdEndDate\":\"2039-04-15\",\"Nationality\":\"1\",\"LegalPersonNamePinyin\":\"ZHENHUA\",\"LegalPersonSurnamePinyin\":\"LIU\",\"LegalPersonPhone\":\"8618117939375\",\"LegalPersonBirthDate\":\"1987-06-25\",\"LegalSignedFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/06\\/60198b6f-122a-4c74-ae64-07502628b828.png\\\",\\\"fileName\\\":\\\"DownAnnexesFileByFileUrl.png\\\"}]\",\"LegalPersonIdNumber\":\"510681198706252865\",\"LegalPersonEmail\":\"liu5zhen7h7ua@outlook.com\",\"LegalPersonGender\":\"1\",\"LegalPersonName\":\"刘振华\",\"LegalPersonIDCardAddress\":\"四川省广汉市和兴镇国防村4组43号\",\"LegalPersonIDCardAddressEng\":\"hexing zhen guofang cun 4 zu 43 hao hexing zhen,guanghan shi,sichuan sheng,618300,CN\",\"LegalPersonIdNumberFrontPic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/06\\/d257b28a-ea62-4197-b912-dffed75617af.jpg\\\",\\\"fileName\\\":\\\"DownAnnexesFileByFileUrl (1).jpg\\\"}]\",\"LocalTaxNumber\":\"本土税号\",\"ExpectedSalesYear2\":\"20000.00\",\"ExpectedSalesYear1\":\"10000.00\",\"DELogisticsSituation\":\"Calle de Alcalá 21, 28014 Madrid, Comunidad de Madrid\",\"ProductsRange\":\"Home goods\",\"BusinessPlatform_En\":\"1\",\"StoreFBAAcitveSetSetScreenShot\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/8388e6e0-87fd-4bd0-b881-392fbd7d6bb2.png\\\",\\\"fileName\\\":\\\"4359bc31121b45fd974bf91f0e1dff1b.png\\\"}]\",\"ShopName\":\"Kyntysc\",\"ShopUrl\":\"https:\\/\\/www.amazon.es\\/sp?ie=UTF8&seller=A1DGLUTXACSUO\",\"ShopAccount\":\"A1DGLUTXACSUO\",\"StoreWarehouseAddressScreenShot\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/26bd44df-e802-431c-af44-62ebd6e76c20.png\\\",\\\"fileName\\\":\\\"e62ec40c4ccb456fbc911cfac02b54fb.png\\\"}]\",\"StoreOtherSetScreenShot\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/1c1345cb-c588-491a-8f28-17968c49e3e0.png\\\",\\\"fileName\\\":\\\"logo.png\\\"}]\",\"CompanyAddressLine1En\":\"No. W82, 2nd floor, Group 6, Jiangjiaopo Village, Anfu Temple, Zhijiang City, Yichang City, Hubei Province\",\"EstablishmentDate\":\"2024-03-22\",\"RegisteredCapital\":\"100000.00\",\"CityEngName\":\"Zhi Jiang\",\"NameEng\":\"zhijiangshixialuxunshangmaoyouxiangongsi\",\"NameCN\":\"枝江市霞陆逊商贸有限公司\",\"RegNumber\":\"91420583MADDMTJE7M\",\"CompanyAddressPostcode\":\"443200\",\"RegisteredCapitalCurrency\":[\"1\",\"2\"],\"Country\":\"CN\",\"CompanyCountry\":\"CN\",\"BusinessLicensePic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/06\\/019baf3f-801e-45aa-bf6d-a80c2b07e15d.jpg\\\",\\\"fileName\\\":\\\"DownAnnexesFileByFileUrl.jpg\\\"}]\",\"AR\":\"M\",\"SpecsName\":\"海牙\",\"RegAddressEng\":\"No. W82, 2nd floor, Group 6, Jiangjiaopo Village, Anfu Temple, Zhijiang City, Yichang City, Hubei Province\",\"CompanyAddressLine2En\":\"\",\"CompanyAddressProvinceEn\":\"Hubei\",\"LegalPersonCityEngName\":\"Guang Han\",\"LegalPersonIDCardType\":\"1\",\"LegalPersonCountry\":\"CN\",\"LegalPersonAddressProvinceEn\":\"Sichuan\",\"BusinessCode\":\"\",\"Code\":\"\",\"CreditReportPic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/credit_report.pdf\\\",\\\"fileName\\\":\\\"credit_report.pdf\\\"}]\",\"HagueType\":3,\"BusinessCRFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/cr.pdf\\\",\\\"fileName\\\":\\\"cr.pdf\\\"}]\",\"BRFooterPic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/br_footer.png\\\",\\\"fileName\\\":\\\"br_footer.png\\\"}]\",\"CRSignerPic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/cr_signer.png\\\",\\\"fileName\\\":\\\"cr_signer.png\\\"}]\",\"CompanyParticularsPic\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/07\\/particulars.pdf\\\",\\\"fileName\\\":\\\"particulars.pdf\\\"}]\"},\"bizParam\":{\"BusinessSerialNumber\":\"EVAT12312312312312313\",\"Businessld\":789012}}"} [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 开始处理ES海牙API请求 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 请求参数解析 | Context: {"PushType":"ES_VAT_REGISTER_HAGUE_FILE","Country":"ES","bizParam":{"BusinessSerialNumber":"EVAT12312312312312313","Businessld":789012},"data_keys":["LegalPersonIdNumberBackPic","LegalPersonIdStartDate","LegalPersonIdEndDate","Nationality","LegalPersonNamePinyin","LegalPersonSurnamePinyin","LegalPersonPhone","LegalPersonBirthDate","LegalSignedFile","LegalPersonIdNumber","LegalPersonEmail","LegalPersonGender","LegalPersonName","LegalPersonIDCardAddress","LegalPersonIDCardAddressEng","LegalPersonIdNumberFrontPic","LocalTaxNumber","ExpectedSalesYear2","ExpectedSalesYear1","DELogisticsSituation","ProductsRange","BusinessPlatform_En","StoreFBAAcitveSetSetScreenShot","ShopName","ShopUrl","ShopAccount","StoreWarehouseAddressScreenShot","StoreOtherSetScreenShot","CompanyAddressLine1En","EstablishmentDate","RegisteredCapital","CityEngName","NameEng","NameCN","RegNumber","CompanyAddressPostcode","RegisteredCapitalCurrency","Country","CompanyCountry","BusinessLicensePic","AR","SpecsName","RegAddressEng","CompanyAddressLine2En","CompanyAddressProvinceEn","LegalPersonCityEngName","LegalPersonIDCardType","LegalPersonCountry","LegalPersonAddressProvinceEn","BusinessCode","Code","CreditReportPic","HagueType","BusinessCRFile","BRFooterPic","CRSignerPic","CompanyParticularsPic"]} [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 开始由API参数构造业务数据 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 国家字段解析成功: LegalPersonCountry=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 国家字段解析成功: Country=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 国家字段解析成功: CompanyCountry=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] AR值确定: M(使用原模板) [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 必填字段验证通过 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 从缓存加载国家数据成功,共 144 条记录 [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 法人国家验证通过: CN -> China [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] VAT扩展字段验证通过 (客户类型: 海牙) [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 非香港公司:由API参数构造营业执照文件 [2026-08-31 14:43:54] [SUCCESS] [Req:20260831144354_db415cc6] [App:es_hague_api] API参数业务数据构造完成 | Context: {"is_hong_kong_company":false} [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 身份证正面文件URL校验通过: HTTP 200, 大小 264.4KB [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 身份证反面文件URL校验通过: HTTP 200, 大小 211.3KB [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] 营业执照文件URL校验通过: HTTP 200, 大小 1944.8KB [2026-08-31 14:43:54] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] RPA数据库连接成功 [环境: development] [2026-08-31 14:43:55] [WARNING] [Req:20260831144354_db415cc6] [App:es_hague_api] 文件下载失败: URL=https://usaeu-1259285998.cos.ap-guangzhou.myqcloud.com/common-test/2026/08/07/credit_report.pdf, HTTP=403, Error= [2026-08-31 14:43:55] [ERROR] [Req:20260831144354_db415cc6] [App:es_hague_api] ES海牙API参数校验失败 | Context: {"exception":"企业信用报告(CreditReportPic)下载失败: https://usaeu-1259285998.cos.ap-guangzhou.myqcloud.com/common-test/2026/08/07/credit_report.pdf","file":"E:\\phpProject\\TEST\\es\\es_haiya\\src\\VATDataService.php","line":814} [2026-08-31 14:43:55] [ERROR] [Req:20260831144354_db415cc6] [App:es_hague_api] ES海牙API错误响应 | Context: {"status_code":400,"message":"企业信用报告(CreditReportPic)下载失败: https://usaeu-1259285998.cos.ap-guangzhou.myqcloud.com/common-test/2026/08/07/credit_report.pdf","request_id":"20260831144354_db415cc6"} [2026-08-31 14:43:55] [INFO] [Req:20260831144354_db415cc6] [App:es_hague_api] ES海牙API响应 | Context: {"status_code":400,"message":"企业信用报告(CreditReportPic)下载失败: https://usaeu-1259285998.cos.ap-guangzhou.myqcloud.com/common-test/2026/08/07/credit_report.pdf","has_data":false} [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] ========== 新请求开始 ========== [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 请求ID: 20260831144933_c3da9f20 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 日志类型: es_hague_api [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] ES海牙API请求开始 | Context: {"method":"POST","request_id":"20260831144933_c3da9f20","input_raw":"{\"PushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"Country\":\"ES\",\"Data\":{\"LegalPersonSurnamePinyin\":\"WANG\",\"LegalPersonIdNumberBackPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/f053473e-e49a-4b2b-a645-5ad7f50ccb4a.png\",\"fileName\":\"反面.png\"}],\"LegalPersonIdStartDate\":\"2024-09-06\",\"LegalPersonCountry\":\"CN\",\"LegalPersonNamePinyin\":\"ZICHENG\",\"LegalPersonIdEndDate\":\"2044-09-06\",\"Nationality\":\"汉\",\"LegalPersonPhone\":\"+86 18820990915\",\"LegalPersonBirthDate\":\"1996-05-17\",\"LegalSignedFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/5bf8ec07-bc40-4186-af3e-dd4115026ec0.png\\\",\\\"fileName\\\":\\\"正面.png\\\"}]\",\"LegalPersonIdNumber\":\"650203199605170718\",\"LegalPersonAddressProvinceEn\":\"hongkong\",\"LegalPersonEmail\":\"460082351@qq.com\",\"LegalPersonGender\":\"男\",\"LegalPersonCityEngName\":\"hongkong\",\"LegalPersonName\":\"王子成\",\"LegalPersonIDCardAddress\":\"杭州市余杭区余杭街道凤新路354号1幢\",\"LegalPersonIDCardAddressEng\":null,\"LegalPersonIDCardType\":\"IDCARD\",\"LegalPersonIdNumberFrontPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/c3598158-3760-4b8d-81ea-2a83b13bdea8.png\",\"fileName\":\"正面.png\"}],\"__extraFile\":null,\"LocalTaxNumber\":null,\"Code\":null,\"VATTaxNumber\":null,\"AR\":\"M\",\"ProductsRange\":\"helmet Accessories\",\"BusinessPlatform_En\":\"Amazon\",\"ShopName\":\"motofan\",\"ShopUrl\":\"https:\\/\\/www.temu.com\\/mall.html?_bg_fs=1&mall_id=634418231606221\",\"ShopAccount\":\"634418231606221\",\"BusinessCRFile\":\"[{\\\"fileUrl\\\":\\\"common-test\\/2026\\/08\\/29\\/2694f95d-1745-4c4a-bdc9-b33883c93da7.pdf\\\",\\\"fileName\\\":\\\"CR文件.pdf\\\"}]\",\"RegAddressEng\":\"RM 93, ZONE 2, 27\\/F EGL TOWER,83 HUNG TO RD,KWUN TONG,HONG KONG,999077HK\",\"CreditReportPic\":null,\"BusinessConstitutionFile\":null,\"EstablishmentDate\":null,\"RegisteredCapital\":null,\"CompanyAddressLine2En\":null,\"CRSignerPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/9539d37e-b431-4c0c-aa94-dba94d6a949e.png\",\"fileName\":\"CR签发人.png\"}],\"BRFooterPic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/19a90d37-688c-450e-8a34-cb547022a976.png\",\"fileName\":\"BR脚码.png\"}],\"NameCN\":\"香港機車迷貿易有限公司\",\"NameEng\":\"HONG KONG MOTOFANS TRADING LIMITED\",\"CityEngName\":\"distrito de Yuhang\",\"RegNumber\":\"80684478\",\"CompanyCountry\":\"HK\",\"CompanyAddressPostcode\":\"311100\",\"RegisteredCapitalCurrency\":null,\"CompanyAddressLine1En\":\"barrio de Yuhang\",\"CompanyAddressProvinceEn\":\"HONG KONG\",\"Country\":\"HK\",\"BusinessLicensePic\":[{\"fileUrl\":\"common-test\\/2026\\/08\\/29\\/961313a2-815c-49aa-a758-cf87556ad758.pdf\",\"fileName\":\"CR文件.pdf\"}]},\"bizParam\":{\"deliveryId\":58214,\"pushType\":\"ES_VAT_REGISTER_HAGUE_FILE\",\"operatorId\":93,\"logId\":null,\"operatorTime\":\"2026-08-31 14:49:27\",\"BusinessSerialNumber\":\"ES2026082917550712\",\"BusinessId\":\"58214\"},\"files\":[]}"} [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 开始处理ES海牙API请求 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 请求参数解析 | Context: {"PushType":"ES_VAT_REGISTER_HAGUE_FILE","Country":"ES","bizParam":{"deliveryId":58214,"pushType":"ES_VAT_REGISTER_HAGUE_FILE","operatorId":93,"logId":null,"operatorTime":"2026-08-31 14:49:27","BusinessSerialNumber":"ES2026082917550712","BusinessId":"58214"},"data_keys":["LegalPersonSurnamePinyin","LegalPersonIdNumberBackPic","LegalPersonIdStartDate","LegalPersonCountry","LegalPersonNamePinyin","LegalPersonIdEndDate","Nationality","LegalPersonPhone","LegalPersonBirthDate","LegalSignedFile","LegalPersonIdNumber","LegalPersonAddressProvinceEn","LegalPersonEmail","LegalPersonGender","LegalPersonCityEngName","LegalPersonName","LegalPersonIDCardAddress","LegalPersonIDCardAddressEng","LegalPersonIDCardType","LegalPersonIdNumberFrontPic","__extraFile","LocalTaxNumber","Code","VATTaxNumber","AR","ProductsRange","BusinessPlatform_En","ShopName","ShopUrl","ShopAccount","BusinessCRFile","RegAddressEng","CreditReportPic","BusinessConstitutionFile","EstablishmentDate","RegisteredCapital","CompanyAddressLine2En","CRSignerPic","BRFooterPic","NameCN","NameEng","CityEngName","RegNumber","CompanyCountry","CompanyAddressPostcode","RegisteredCapitalCurrency","CompanyAddressLine1En","CompanyAddressProvinceEn","Country","BusinessLicensePic"]} [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 开始由API参数构造业务数据 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 国家字段解析成功: LegalPersonCountry=CN -> 中文名: 中国, 英文名: China, 区域代码: 156 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 国家字段解析成功: Country=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 国家字段解析成功: CompanyCountry=HK -> 中文名: 中国香港, 英文名: Hongkong, 区域代码: 344 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] AR值确定: M(使用原模板) [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 必填字段验证通过 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 从缓存加载国家数据成功,共 144 条记录 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 法人国家验证通过: CN -> China [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] VAT扩展字段验证通过 (客户类型: 海牙) [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 香港公司:由API参数构造CR/BR/查册文件 [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9523fd1f20c/CR文件.pdf [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] CR文件(注册证书)预下载成功: CR文件.pdf [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9523fd467b7/CR文件.pdf [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] BR文件(商业登记证)预下载成功: CR文件.pdf [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9523fd68c28/BR脚码.png [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] BR脚码预下载成功: BR脚码.png [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 文件下载成功: E:\phpProject\TEST\es\es_haiya\config/../temp/api_files_6a9523fd82589/CR签发人.png [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] CR签发人预下载成功: CR签发人.png [2026-08-31 14:49:33] [SUCCESS] [Req:20260831144933_c3da9f20] [App:es_hague_api] API参数业务数据构造完成 | Context: {"is_hong_kong_company":true} [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 身份证正面文件URL校验通过: HTTP 200, 大小 647KB [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 身份证反面文件URL校验通过: HTTP 200, 大小 662.1KB [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] CR文件(注册证书)本地文件大小校验通过: 235.5KB [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] BR文件(商业登记证)本地文件大小校验通过: 235.5KB [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] BR脚码本地文件大小校验通过: 63.5KB [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] CR签发人本地文件大小校验通过: 43.6KB [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] RPA数据库连接成功 [环境: development] [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] 异步任务创建成功 | Context: {"task_id":"76","vat_business_record_id":"58214","priority":0} [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] ES海牙API任务创建成功 | Context: {"task_id":"76","data_source":"api","vat_business_record_id":"58214"} [2026-08-31 14:49:33] [SUCCESS] [Req:20260831144933_c3da9f20] [App:es_hague_api] ES海牙API异步受理成功 | Context: {"task_id":"76","push_type":"ES_VAT_REGISTER_HAGUE_FILE","business_id":"58214"} [2026-08-31 14:49:33] [INFO] [Req:20260831144933_c3da9f20] [App:es_hague_api] ES海牙API响应 | Context: {"status_code":200,"message":"success","has_data":false}