fix: se modifican las claves del tipo de error de pedimento completo, partidas, coves. Para identidcar el tipo de error correspondiente.

This commit is contained in:
2026-01-29 08:04:59 -07:00
parent 47c8bf51c7
commit d49747f288
4 changed files with 5 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ async def consume_ws_get_pedimento_completo(**kwargs) -> Dict[str, Any]:
organizacion=pedimento_data.get('organizacion'),
pedimento=pedimento_data.get('id'),
file_name=f"vu_PC_{pedimento_data.get('pedimento_app', 'unknown')}_ERROR.xml",
document_type=10,
document_type=14,
)
raise HTTPException(status_code=500, detail="Error en la respuesta del servicio SOAP")