De ceva luni nu merg descarcarile fisierelor pt P300 (json)..
Stiti ceva de asta ?
Folosesc codul:
**xxfis3=fisier zip
**xxanetva=an
**xxlunaetva=luna
**xxcifetva=CIF
**APPTKN=date token JWT
xxfis3='attachment; filename="'+xxfis3+'.zip"'
cURL = "https://api.anaf.ro/decont/ws/v1/info?c ... ="+ALLTRIM(STR(xxanetva))+"&luna="+ALLTRIM(STR(xxlunaetva))
loHTTP = Createobject("WinHttp.WinHttpRequest.5.1")
loHTTP.Open("GET", cURL , .F.)
loHTTP.SetRequestHeader("Authorization","Bearer " + APPTKN)
loHTTP.SetRequestHeader("content-type", "application/json") && or other mime types for other file types.
loHTTP.SetRequestHeader("content-disposition", xxfis3)
loHTTP.Send()
xraspuns=loHTTP.responseText
xraspuns2=loHTTP.responseBody
care a mers pana in decembrie 2024 la toti clientii

Acum primesc invariabil mesajul:
"{"trace_id":"ebc0f334-f35e-4ce7-8b27-8d031774e801","dateResponse":"202504302130","error":"Nu exista raspuns pentru cui=xxxxxx , an=2025, luna=01"} "
La voi merge ?