chore: initial commit del proyecto SCAII_Sync_Client
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
18
registros/scaf/reg_502.py
Normal file
18
registros/scaf/reg_502.py
Normal 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
|
||||
Reference in New Issue
Block a user