chore: initial commit del proyecto SCAII_Sync_Client

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 13:38:20 -05:00
commit 10dc063cf1
26 changed files with 2069 additions and 0 deletions

18
registros/scaf/reg_502.py Normal file
View File

@@ -0,0 +1,18 @@
from typing import Dict, Any
class Generador502SCAF:
@staticmethod
def preparar_json(id_pedimento: int, datos_transporte: Dict[str, Any]) -> Dict[str, Any]:
"""
Lógica para Registro 502 (Transporte) - SCAF.
"""
placas = datos_transporte.get("NUMEROPLACAS", " ") if datos_transporte else " "
pais = datos_transporte.get("PAIS", " ") if datos_transporte else " "
registro = {
"id_pedimento": id_pedimento,
"numero_placas_502": placas,
"codigo_pais_transporte_502": pais
}
return registro