Fix tipoDocumento PE/PT: map to single char 'E' for TNS API compatibility

TNS API (C#) expects System.Char for tipoDocumento; "PE" and "PT" caused
400 validation errors. Mapped both to "E" (Cédula Extranjería).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-11 08:31:33 -05:00
co-authored by Claude Sonnet 4.6
parent 2794e9f9dd
commit 2a7553267b
+1 -1
View File
@@ -59,7 +59,7 @@ def _fmt_datetime(val) -> str:
_TIPO_DOC_MAP = {
"CC": "C", "TI": "T", "RC": "R", "CE": "E",
"PA": "P", "AS": "A", "MS": "M", "NU": "U",
"SC": "S", "PE": "PE", "PT": "PT", "SI": "A",
"SC": "S", "PE": "E", "PT": "E", "SI": "A",
"CN": "C", "DE": "E", "CD": "P",
}