{"openapi":"3.0.3","info":{"title":"Api tramites Tesoreria","version":"1.0.0","contact":{}},"servers":[{"url":"{{url}}api"}],"paths":{"/auth/login":{"post":{"tags":["Admin"],"summary":"Login","description":"Login","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"{{user}}"},"password":{"type":"string","example":"{{password}}"}}},"examples":{"Login":{"value":{"email":"{{user}}","password":"{{password}}"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/auth/me":{"get":{"tags":["Admin"],"summary":"Me","description":"Me","operationId":"me","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/auth/refresh":{"post":{"tags":["Admin"],"summary":"Refresh","description":"Refresh","operationId":"refresh","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"refresh_token":{"type":"string","example":"{{refresh_token}}"}}},"examples":{"Refresh":{"value":{"refresh_token":"{{refresh_token}}"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/catalogo/tramites":{"get":{"tags":["Catalogos"],"summary":"Tramites","description":"Tramites","operationId":"tramites","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/catalogo/estados":{"get":{"tags":["Catalogos"],"summary":"Estados","description":"Estados","operationId":"estados","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/catalogo/estados/15/municipios":{"get":{"tags":["Catalogos"],"summary":"Municipios","description":"Municipios","operationId":"municipios","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/contribuyentes":{"post":{"tags":["Contribuyente"],"summary":"Guardar","description":"Guardar","operationId":"guardar","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"apellido_materno":{"type":"string","example":"López"},"apellido_paterno":{"type":"string","example":"Pérez"},"calle":{"type":"string","example":"Av. Chimalhuacán"},"celular":{"type":"string","example":"5512345678"},"codigo_postal":{"type":"string","example":"57000"},"colonia":{"type":"string","example":"Benito Juárez"},"correo":{"type":"string","example":"juan.perez@correo.com"},"curp":{"type":"string","example":"PELJ850101HDFRPN09"},"lote":{"type":"string","example":"10"},"manzana":{"type":"string","example":"5"},"municipio_id":{"type":"number","example":58},"nombre":{"type":"string","example":"Juan"},"numero_exterior":{"type":"string","example":"123"},"numero_interior":{"type":"string","example":"A"},"regimen_fiscal_id":{"type":"number","example":605},"rfc":{"type":"string","example":"PELJ850101ABC"},"telefono":{"type":"string","example":"5551234567"}}},"examples":{"Guardar":{"value":{"apellido_materno":"López","apellido_paterno":"Pérez","calle":"Av. Chimalhuacán","celular":"5512345678","codigo_postal":"57000","colonia":"Benito Juárez","correo":"juan.perez@correo.com","curp":"PELJ850101HDFRPN09","lote":"10","manzana":"5","municipio_id":58,"nombre":"Juan","numero_exterior":"123","numero_interior":"A","regimen_fiscal_id":605,"rfc":"PELJ850101ABC","telefono":"5551234567"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/contribuyentes/871153":{"get":{"tags":["Contribuyente"],"summary":"Contribuyente","description":"Contribuyente","operationId":"contribuyente","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"put":{"tags":["Contribuyente"],"summary":"Actualizar","description":"Actualizar","operationId":"actualizar","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"calle":{"type":"string","example":"Av. Central"},"celular":{"type":"string","example":"5511122233"},"codigo_postal":{"type":"string","example":"57130"},"colonia":{"type":"string","example":"Las Águilas"},"correo":{"type":"string","example":"contacto@empresa.com"},"lote":{"type":"string","example":"3"},"manzana":{"type":"string","example":"12"},"municipio_id":{"type":"number","example":58},"numero_exterior":{"type":"string","example":"250"},"numero_interior":{"type":"string","example":"2"},"razon_social":{"type":"string","example":"Comercializadora Ejemplo S.A. de C.V."},"regimen_fiscal_id":{"type":"number","example":601},"rfc":{"type":"string","example":"CEJ230101AB1"},"telefono":{"type":"string","example":"5559876543"}}},"examples":{"Actualizar":{"value":{"calle":"Av. Central","celular":"5511122233","codigo_postal":"57130","colonia":"Las Águilas","correo":"contacto@empresa.com","lote":"3","manzana":"12","municipio_id":58,"numero_exterior":"250","numero_interior":"2","razon_social":"Comercializadora Ejemplo S.A. de C.V.","regimen_fiscal_id":601,"rfc":"CEJ230101AB1","telefono":"5559876543"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/liquidador/diversos":{"post":{"tags":["Liquidación"],"summary":"Guardar","description":"Guardar","operationId":"guardar1","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"clave_catastral_id":{"nullable":true,"example":null},"contribuyente_id":{"type":"number","example":871153},"detalles":{"type":"array","items":{"type":"object","properties":{"cantidad":{"type":"number","example":2},"descripcion":{"type":"string","example":"Prueba 1"},"tramite_id":{"type":"number","example":562}}},"example":[{"cantidad":2,"descripcion":"Prueba 1","tramite_id":562},{"cantidad":1,"descripcion":"hola 1","tramite_id":616}]},"fecha_limite":{"type":"string","example":"2026-08-31"},"periodo_fin":{"nullable":true,"example":null},"periodo_inicio":{"nullable":true,"example":null}}},"examples":{"Guardar":{"value":{"clave_catastral_id":null,"contribuyente_id":871153,"detalles":[{"cantidad":2,"descripcion":"Prueba 1","tramite_id":562},{"cantidad":1,"descripcion":"hola 1","tramite_id":616}],"fecha_limite":"2026-08-31","periodo_fin":null,"periodo_inicio":null}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/liquidador/diversos/1732033":{"get":{"tags":["Liquidación"],"summary":"Consultar","description":"Consultar","operationId":"consultar","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"Admin"},{"name":"Catalogos"},{"name":"Contribuyente"},{"name":"Liquidación"}]}