{"openapi":"3.0.1","info":{"title":"World Office API","description":"Información de los parámetros de la aplicación","version":"1.0"},"servers":[{"url":"https://api.worldoffice.cloud","description":"Generated server url"}],"tags":[{"name":"Recordatorios","description":"HU — Recordatorios por paciente"},{"name":"Alergias","description":"F-HC-004 — HU-011 · HU-012"},{"name":"Historias Clínicas","description":"Listado y eliminación de historias clínicas"},{"name":"Pacientes","description":"HU — Consulta integral del paciente"},{"name":"Adjuntos de atención","description":"HU — Archivos adjuntos por atención"},{"name":"GruposSanguineos","description":"HU — Grupo sanguíneo por paciente"},{"name":"Facturación de atenciones","description":"Datos y vínculo con la factura por atención"},{"name":"Atenciones","description":"F-HC-002/003/006/007 — HU-004 · HU-005 · HU-006 · HU-007 · HU-008 · HU-009 · HU-010 · HU-016 · HU-017"},{"name":"Resumen Clínico","description":"HU — Resumen clínico del paciente (alertas, diagnósticos activos, últimos cambios y pendientes)"},{"name":"HistoriaClinica","description":"F-HC-001 — HU-001 · HU-002 · HU-003"},{"name":"Antecedentes","description":"F-HC-005 — HU-013 · HU-014 · HU-015"}],"paths":{"/api/v1/terceros/editarTercero":{"put":{"tags":["Terceros"],"summary":"Editar tercero","description":"<div id='DatosCrear'><p>Edita el tercero buscado por la identificaci&oacute;n</p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/terceros/editarTercero</div><cite>idTerceroTipoIdentificacion</cite> -> Id registrado de tipo de identificacion del tercero,<br><cite>identificacion</cite> -> numero de identificación del terecero,<br><cite>primerNombre</cite> -> Primer nombre,<br><cite>segundoNombre</cite> -> Segundo nombre,<br><cite>primerApellido</cite> -> Primer apellido,<br><cite>segundoApellido</cite> -> Segundo apellido,<br><cite>direccion</cite> -> Dirección del tercero,<br><cite>idCiudad</cite> -> Id registrado de la ciudad,<br><cite>telefono</cite> -> Telefono del tercero,<br><cite>email</cite> -> Correo electronico del tercero,<br><cite>plazoDias</cite> -> En credito plazo maximo para pago de mercancia,<br><cite>idTerceroTipoContribuyente</cite> -> Id registrado de tipo de contribuyente,<br><cite>idClasificacionImpuestos</cite> -> Id registrado para la clasificacion de impuestos,<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/editarTercero</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br> id: integer,<br> terceroTipoIdentificacion: {<br>   id: integer,<br>   abreviatura: string,<br>   nombre: string,<br>   codigo: string,<br>   senEsEmpresa: boolean,<br>   senManejaDV: boolean,<br>   ubicacionPais: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     codAlterno: string<br>   }<br> },<br> identificacion: string,<br> digitoVerificacion: integer,<br> digitoVerificacionGenerado: boolean,<br> primerNombre: string,<br> segundoNombre: string,<br> primerApellido: string,<br> segundoApellido: string,<br> nombreCompleto: string,<br> ciudad: {<br>   id: integer,<br>   nombre: string,<br>   codigo: string,<br>   senSistema: boolean,<br>   ubicacionDepartamento: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     senSistema: boolean,<br>     ubicacionPais: {<br>       id: integer,<br>       nombre: string,<br>       codigo: string,<br>       codAlterno: string<br>     }<br>   }<br> },<br> codigo: string,<br> senActivo: boolean,<br> senManejaNomina: boolean,<br> atributos: boolean,<br> tarifaICA: integer,<br> aplicaICAVentas: boolean,<br> terceroTipos: [<br>   {<br>     id: integer,<br>     codigo: string,<br>     nombre: string<br>   }<br> ]<br>}</pre></div>","operationId":"editarTercero","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearTerceroAPIPojo"}}},"required":true},"responses":{"400":{"description":"La peticion presenta inconsistencias","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Tercero editado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPITerceroPojo"}}}}}}},"/api/v1/recordatorios/{id}/resolver":{"put":{"tags":["rest-historia-clinica-recordatorios-api"],"operationId":"resolverRecordatorio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordatorioResolverRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/recordatorios/{id}/ocultar":{"put":{"tags":["rest-historia-clinica-recordatorios-api"],"operationId":"ocultarRecordatorio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordatorioOcultarRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/prefijos-documentos/{id}":{"get":{"tags":["prefijo-documento-controller"],"operationId":"obtenerPorId","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOPrefijoDocumentoDTO"}}}}}},"put":{"tags":["prefijo-documento-controller"],"operationId":"actualizar","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefijoDocumentoDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOPrefijoDocumentoDTO"}}}}}},"delete":{"tags":["prefijo-documento-controller"],"operationId":"eliminar","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOVoid"}}}}}}},"/api/v1/inventarios/editarSalidaAlmacen":{"put":{"tags":["Inventario"],"summary":"Editar documento de almacén","description":"<div id='DatosCrear'><p>Edita el documento de salida de almacén al id ingresado con los siguientes campo: </p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/editarSalidaAlmacen</div>Proceso para editar el documento registrado, se ajustan los datos de acuerdo al ID registrado en el sistema, para cambiar los detalles registrado debe incluir el ID del detalle a cambiar, si desea ingresar un nuevo detalle solo ingrese la informaci&oacute;n nueva, en caso de que se desee a cruzar o ajustar el documento cruzado, debe incluir el ID del documento que desea, y de igual forma incluir los Id de los detalles del documento cruzado o quitar de la lista los que desea desvincular.<br><br><cite>id</cite> -> ID del documento a editar,<br><cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>prefijo</cite> -> ID del prefijo,<br><cite>concepto</cite> -> Concepto del documento,<br><cite>documentoTipo</cite> -> Codigó de documento registrado (SA -> Salida de almacen),<br><cite>idEmpresa</cite> -> ID empresa registrada,<br><cite>idTerceroExterno</cite> -> ID tercero registrado,<br><cite>idTerceroInterno</cite> -> ID tercero registrado,<br><cite>idFormaPago</cite> -> ID forma de pago registrado,<br><cite>idMoneda</cite> -> ID moneda registrada,<br><cite>idDocumentoMotivosGeneracion</cite> -> Para los documentos de Notas id motivo generacion,<br><cite>idClasificacion</cite> -> Para los documentos de Notas id clasificacion registrada,<br><cite>porcentajeDescuento</cite> -> Campo booleano <b>Verdadero</b> Si el descuento es calculado por un porcentaje,<br><cite>porcentajeTodosRenglones</cite> -> Campo booleano <b>Verdadero</b> Si el descuento aplica para todos los detalles,<br><cite>valDescuento</cite> -> Valor que se descuenta a los detalles ingresado,<br><dl><dt><cite>renglones</cite> -> Arreglo de los detalles de la factura que se van a registrar,</dt><dd>id -> ID del reglon registrado que se desea editar, (consulte el id registrado en el servicio &#39;Consultar productos de documento de venta&#39;),si esta gregando un nuevo detalle este campo no es necesario</dd><dd>idInventario -> ID inventario registrado del detalle,</dd><dd>unidadMedida -> Codigo de unidad de medida,</dd><dd>cantidad -> Cantidad del deatlle,</dd><dd>valorUnitario -> Valor unitario del detalle,</dd><dd>valorTotal -> Valor total de detalle,</dd><dd>idBodega -> ID bodega del detalle,</dd><dd>idCentroCosto -> ID centro de costro,</dd><dd>concepto -> Concempto de detalle ,</dd><dd>porDescuento -> porcentaje de descuento del detalle si aplica,</dd></dl><cite>idFactura</cite> -> Si est&aacute; editando el documento y este se encuentre cruzar, ingresar el ID para realizar cualquier ajuste sobre los detalles de este. (Opcional),<br><cite>idDetalles</cite> -> Si desea ingresar detalles del documento cruzado, ingrese los ID&#39;s de los detalles que se pueden consultar en el servicio &#39;Consultar productos de documento de venta&#39;(Opcional),<br><br>Petici&oacute;n de servicio:<br><pre>{<br>  id: integer,<br>  fecha: Date,<br>  prefijo: integer,<br>  documentoTipo: String,<br>  idEmpresa: integer,<br>  idTerceroExterno: integer,<br>  idTerceroInterno: integer,<br>  idFormaPago: integer,<br>  idMoneda: integer,<br>  trm: integer,<br>  porcentajeDescuento: boolean,<br>  porcentajeTodosRenglones: boolean,<br>  valDescuento: integer,<br>  reglones: [<br>    {<br>      id: integer,      idInventario: number,<br>      unidadMedida: String,<br>      cantidad: number,<br>      valorUnitario: number,<br>      idBodega: integer,<br>      porDescuento: number,<br>      concepto: String<br>    }<br>  ],<br>  idFactura: integer,<br>  idDetalles: [integer]<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"editarSalidaAlmacen","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoEncabezadoPojo"}}},"required":true},"responses":{"400":{"description":"Error al editar algun campo del documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se editar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"404":{"description":"No se encuentra el documento de venta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/editarInventario/{id}":{"put":{"tags":["Inventario"],"summary":"Editar inventario","description":"<div id='DatosCrear'><p>Editar inventario</p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/editarInventario/{id}</div>Edita un producto o servicio proporcionando el ID del mismo como parámetro y los campos respectivos junto con sus nuevos valores en el cuerpo de la solicitud<cite>codigo</cite> -> Codigo de invemtario,<br><cite>descripcion</cite> -> Descripcion del inventario,<br><cite>idUnidadMedida</cite> -> Id unidad de medida,<br><cite>idInventarioClasificacion</cite> ->  Id clasificación de inventario,<br><cite>idCentroCosto</cite> -> Id centro de costo,<br><cite>idInventarioGrupo</cite> -> Id grupo de inventario,<br><cite>idInventarioTipoImpuestoVenta</cite> -> Id tipo impuesto de venta de inventario,<br><cite>idContabilizacion</cite> -> Id contabilizacion<br><br>Petici&oacute;n de servicio:<br><pre>{<br>  codigo: String,<br>  descripcion: String,<br>  idUnidadMedida : integer,<br>  idInventarioClasificacion: integer ,<br>  idCentroCosto: integer,<br>  idInventarioGrupo: integer,<br>  idInventarioTipoImpuestoVenta: integer,<br>  idContabilizacion: integer<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    codigoInternacional: String,<br>    descripcion: String,<br>    unidadMedida: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean,<br>      unidadMedidaTipo: {<br>        id: integer,<br>        nombre: String<br>      },<br>      unidadMedidaAdministradorImpuestos: {<br>        id: integer,<br>        codigo: String,<br>        descripcion: String,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: String,<br>          String codigo: String,<br>          String cod_alterno: String<br>        }<br>      },<br>      unidadMedidaBaseId: integer,<br>      factor: number<br>    },<br>    senActivo: boolean,<br>    inventarioClasificacion: {<br>      id: integer,<br>      nombre: String,<br>      senAfectaCostoPromedio: boolean,<br>      senDeSistema: boolean<br>    },<br>    centroCosto: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String<br>    },<br>    grupo: {<br>      id: integer,<br>      codigo: String,<br>      nombreGrupo: String,<br>      folder: boolean,<br>      seleccionado: boolean,<br>      senActivo: boolean,<br>      borrador: boolean<br>    },<br>    contabilizacion: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean<br>    },<br>    senFacturarSinExistencias: boolean,<br>    senManejaSeriales: boolean,<br>    utilidadEstimada: number,<br>    impuestos: [<br>      {<br>        id: integer,<br>        valor: number,<br>        senSumaAlCosto: boolean,<br>        idProceso: integer,<br>        impuesto: {<br>          id: integer,<br>          tipo: String,<br>          nombre: String,<br>          tipoCobro: String,<br>          tarifa: number,<br>          empresas: [integer]<br>        },<br>        empresas: [<br>          {<br>            id: integer,<br>            nombre: String,<br>            prefijo: String,<br>            identificacion: String,<br>            digitoVerificacion: integer,<br>            digitoVerificacionGenerado: boolean,<br>            senPrincipal: boolean,<br>            numeroEstablecimientos: integer,<br>            tercero: {<br>              id: integer,<br>              terceroTipoIdentificacion {<br>                id: integer,<br>                abreviatura: String,<br>                nombre: String,<br>                codigo: String,<br>                senEsEmpresa: boolean,<br>                senManejaDV: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  cod_alterno: String<br>                }<br>              },<br>              identificacion: String,<br>              digitoVerificacion: integer,<br>              digitoVerificacionGenerado: boolean,<br>              primerNombre: String,<br>              segundoNombre: String,<br>              primerApellido: String,<br>              segundoApellido: String,<br>              nombreCompleto: String,<br>              ciudad: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean<br>                ubicacionDepartamento {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  boolean senSistema: boolean<br>                  ubicacionPais: {<br>                    id: integer,<br>                    nombre: String,<br>                    codigo: String,<br>                    cod_alterno: String<br>                  }<br>                },<br>              }<br>              codigo: String,<br>              senActivo: boolean,<br>              senManejaNomina: boolean,<br>              atributos: boolean,<br>              tarifaICA: numeric,<br>              aplicaICAVentas: boolean,<br>              terceroTipos: [<br>                {<br>                  id: integer,<br>                  codigo: String,<br>                  nombre: String<br>                }<br>              ]<br>            },<br>            ubicacionCiudad: {<br>              id: integer,<br>            \t nombre: String,<br>            \t codigo: String,<br>            \t senSistema: String<br>            \t ubicacionDepartamento: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>            \t     cod_alterno: String<br>                }<br>              }<br>            },<br>            infoTributariaAdicional: String,<br>            responsabilidadFiscal: [<br>              {<br>                id: integer,<br>                codigo: String,<br>                significado: String<br>              }<br>            ]<br>          }<br>        ],<br>        inventarioTipoImpuestoVenta: {<br>          id: integer,<br>          nombre: String,<br>          tipo: String,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: String,<br>            codigo: String,<br>            cod_alterno: String<br>          }<br>        },<br>        muestraAlerta: boolean<br>      }<br>    ],<br>    atributos: boolean,<br>    senManejaLotes: boolean<br>  }<br>]</pre></div>","operationId":"editaInventario","parameters":[{"name":"id","in":"path","description":"ID de inventario","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearInventarioPojo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Inventario modificado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIInventarioPojo"}}}}}}},"/api/v1/historias-clinicas":{"get":{"tags":["rest-historia-clinica-api"],"operationId":"consultarHistoriaClinica","parameters":[{"name":"idtercero","in":"query","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HistoriaClinicaResponse"}}}}}},"put":{"tags":["rest-historia-clinica-api"],"operationId":"editarHistoriaClinica","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditarHistoriaClinicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HistoriaClinicaResponse"}}}}}},"post":{"tags":["rest-historia-clinica-api"],"operationId":"crearHistoriaClinica","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearHistoriaClinicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HistoriaClinicaResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-api"],"operationId":"eliminarHistoriaClinica","parameters":[{"name":"idtercero","in":"query","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/historiaclinica/recordatorios/{id}/resolver":{"put":{"tags":["Recordatorios"],"summary":"Resolver / deshacer recordatorio","description":"Establece el estado de resolución del recordatorio (true=resolver, false=deshacer).","operationId":"resolverRecordatorio_1","parameters":[{"name":"id","in":"path","description":"ID del recordatorio","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordatorioResolverRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Recordatorio no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"Estado de resolución actualizado"}}}},"/api/v1/historiaclinica/recordatorios/{id}/ocultar":{"put":{"tags":["Recordatorios"],"summary":"Ocultar / desocultar recordatorio","description":"Establece el estado de ocultamiento del recordatorio (true=ocultar, false=desocultar).","operationId":"ocultarRecordatorio_1","parameters":[{"name":"id","in":"path","description":"ID del recordatorio","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordatorioOcultarRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Estado de ocultamiento actualizado"},"404":{"description":"Recordatorio no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/historias-clinicas":{"get":{"tags":["Historias Clínicas","HistoriaClinica"],"summary":"Consultar Historia Clínica por paciente","description":"**HU-002 / Azure #14023** El `tenant_id` se toma del contexto de seguridad, **nunca del URL**. HTTP 404 si no existe o pertenece a otra licencia. Método del servicio anotado con `@Transactional(readOnly = true)`. ","operationId":"consultarHistoriaClinica_1","parameters":[{"name":"idtercero","in":"query","description":"ID del paciente en la tabla `terceros` del esquema del cliente","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"HC encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoriaClinicaResponse"}}}},"404":{"description":"HC no encontrada o de otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"tags":["Historias Clínicas","HistoriaClinica"],"summary":"Editar Historia Clínica","description":"**HU-003 / Azure #14025** Cambia el paciente (`idtercero`) de la HC. Solo permitido si **no tiene registros asociados** (atenciones u otras tablas relacionadas). HTTP 409 si tiene movimientos. ","operationId":"editarHistoriaClinica_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditarHistoriaClinicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"HC con registros asociados — no se puede editar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"HC editada exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoriaClinicaResponse"}}}},"404":{"description":"HC no encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Historias Clínicas","HistoriaClinica"],"summary":"Crear Historia Clínica","description":"**HU-001 / Azure #14022** Registra una nueva HC para un paciente. El `tenant_id` se extrae del contexto de seguridad. Restricción: `UNIQUE(idtercero, tenant_id)` → HTTP 409 si ya existe. ","operationId":"crearHistoriaClinica_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearHistoriaClinicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Ya existe HC para este paciente en la licencia activa","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"HC creada exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoriaClinicaResponse"}}}}}},"delete":{"tags":["Historias Clínicas","HistoriaClinica"],"summary":"Eliminar Historia Clínica","description":"**HU-001 / Azure #14022** Elimina la HC del paciente para la licencia del contexto. Solo si **no tiene registros asociados**. ","operationId":"eliminarHistoriaClinica_1","parameters":[{"name":"idtercero","in":"query","description":"ID del paciente","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"HC con registros asociados — no se puede eliminar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"HC eliminada exitosamente"},"404":{"description":"HC no encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/historia-clinica/completo/atenciones/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Atención Clínica Completa","description":"Actualiza una atención clínica completa en una única solicitud transaccional.  **Reglas de negocio:** - La operación es 100% transaccional: si cualquier validación falla, no se persiste ningún dato. - El `tenant_id` se extrae del contexto de seguridad, nunca del body. - Reemplaza completamente todos los registros hijo: motivo consulta, enfermedad actual (con sistemas), signos vitales, diagnósticos, formulación médica y conceptos facturados. ","operationId":"editarAtencionCompleta","parameters":[{"name":"id","in":"path","description":"ID de la atención a editar","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAtencionCompletaRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Atención clínica completa editada exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Atención no encontrada o de otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/grupos-sanguineos-paciente/{id}":{"put":{"tags":["GruposSanguineos"],"summary":"Editar grupo sanguíneo del paciente","operationId":"editarGrupoSanguineoPaciente","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Registro no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"Grupo sanguíneo actualizado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoPacienteResponse"}}}}}},"delete":{"tags":["GruposSanguineos"],"summary":"Eliminar grupo sanguíneo del paciente","operationId":"eliminarGrupoSanguineoPaciente","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Registro no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Atención","description":"**HU-006 / Azure #14028** Campos modificables: `fechaHoraAtencion`, `profesional`, `servicioPrestado`. Valida que `profesional` e `idinventario` existan en el esquema del cliente. ","operationId":"editarAtencion","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditarAtencionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Atención editada exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtencionResponse"}}}},"404":{"description":"Atención no encontrada o de otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Atención","description":"**HU-004 / Azure #14026** Solo elimina si **no tiene registros asociados** (motivo consulta, signos vitales, etc.). ","operationId":"eliminarAtencion","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Atención con registros asociados — no se puede eliminar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Atención eliminada exitosamente"},"404":{"description":"Atención no encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/signos-vitales/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Signos Vitales","description":"**HU-017 / Azure #14064**","operationId":"editarSignosVitales","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Signos vitales actualizados","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Signos Vitales","description":"**HU-017 / Azure #14064**","operationId":"eliminarSignosVitales","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/motivo-consulta/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Motivo de Consulta","description":"**HU-007 / Azure #14029**","operationId":"editarMotivoConsulta","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Motivo de consulta actualizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Motivo de Consulta","description":"**HU-007 / Azure #14029**","operationId":"eliminarMotivoConsulta","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/formulacion-medica/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Formulación Médica","description":"**HU-010 / Azure #14032**","operationId":"editarFormulacionMedica","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulacionMedicaRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Formulación médica actualizada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulacionMedicaResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Formulación Médica","description":"**HU-010 / Azure #14032**","operationId":"eliminarFormulacionMedica","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/enfermedad-actual/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Enfermedad Actual","description":"**HU-008 / Azure #14030**","operationId":"editarEnfermedadActual","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Enfermedad actual actualizada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Enfermedad Actual","description":"**HU-008 / Azure #14030**","operationId":"eliminarEnfermedadActual","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/diagnosticos/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Diagnóstico","description":"**HU-016 / Azure #14062**","operationId":"editarDiagnostico","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticoRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Diagnóstico actualizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticoResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Diagnóstico","description":"**HU-016 / Azure #14062**","operationId":"eliminarDiagnostico","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/conceptos-facturados/{id}":{"put":{"tags":["Atenciones"],"summary":"Editar Concepto Facturado","description":"**HU-009 / Azure #14031**","operationId":"editarConceptoFacturado","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptoFacturadoRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Concepto facturado actualizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptoFacturadoResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Atenciones"],"summary":"Eliminar Concepto Facturado","description":"**HU-009 / Azure #14031**","operationId":"eliminarConceptoFacturado","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/facturacion/por-documento/{documentoEncabezadoId}":{"put":{"tags":["Facturación de atenciones"],"summary":"Reemplazar las atenciones que factura un documento","description":"Deja las atenciones vinculadas al documento exactamente en la lista recibida: marca las que vienen y libera las que ya no. Es idempotente, y una lista vacía libera todas. Todo ocurre en una sola transacción.","operationId":"reemplazarFacturacionAtenciones","parameters":[{"name":"documentoEncabezadoId","in":"path","description":"ID del documento de venta que factura las atenciones","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReemplazarFacturacionAtencionesRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Alguna atención no existe","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"Selección guardada"}}}},"/api/v1/historiaclinica/antecedentes/patologico/{id}":{"put":{"tags":["Antecedentes"],"summary":"Editar Antecedente Patológico","description":"**HU-013 / Azure #14049**","operationId":"editarAntecedentePatologico","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedentePatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Antecedente patológico actualizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedentePatologicoResponse"}}}},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Antecedentes"],"summary":"Eliminar Antecedente Patológico","description":"**HU-013 / Azure #14049**","operationId":"eliminarAntecedentePatologico","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/no-patologico/{id}":{"put":{"tags":["Antecedentes"],"summary":"Editar Antecedente No Patológico","description":"**HU-015 / Azure #14059**","operationId":"editarAntecedenteNoPatologico","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteNoPatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Antecedente no patológico actualizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteNoPatologicoResponse"}}}},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Antecedentes"],"summary":"Eliminar Antecedente No Patológico","description":"**HU-015 / Azure #14059**","operationId":"eliminarAntecedenteNoPatologico","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/familiar/{id}":{"put":{"tags":["Antecedentes"],"summary":"Editar Antecedente Familiar","description":"**HU-014 / Azure #14054**","operationId":"editarAntecedenteFamiliar","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteFamiliarRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Antecedente familiar actualizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteFamiliarResponse"}}}},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Antecedentes"],"summary":"Eliminar Antecedente Familiar","description":"**HU-014 / Azure #14054**","operationId":"eliminarAntecedenteFamiliar","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/alergias-paciente/{id}":{"put":{"tags":["Alergias"],"summary":"Editar Alergia de Paciente","description":"**HU-012 / Azure #14041**","operationId":"editarAlergiaPaciente","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlergiaPacienteRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Alergia actualizada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlergiaPacienteResponse"}}}},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Alergias"],"summary":"Eliminar Alergia de Paciente","description":"**HU-012 / Azure #14041**","operationId":"eliminarAlergiaPaciente","parameters":[{"name":"id","in":"path","description":"ID del registro","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Registro no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historia-clinica/completo/atenciones/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarAtencionCompleta_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAtencionCompletaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/grupos-sanguineos-paciente/{id}":{"put":{"tags":["rest-historia-clinica-grupos-sanguineos-api"],"operationId":"editarGrupoSanguineoPaciente_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoPacienteResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-grupos-sanguineos-api"],"operationId":"eliminarGrupoSanguineoPaciente_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/documentos/editarDocumentoVenta":{"put":{"tags":["Ventas"],"summary":"Editar documento de venta","description":"<div id='DatosCrear'><p>Edita el documento de venta al id ingresado con los siguientes campo: </p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/documentos/editarDocumentoVenta</div>Proceso para editar el documento registrado, se ajustan los datos de acuerdo al ID registrado en el sistema, para cambiar los detalles registrado debe incluir el ID del detalle a cambiar, si desea ingresar un nuevo detalle solo ingrese la informaci&oacute;n nueva, en caso de que se desee a cruzar o ajustar el documento cruzado, debe incluir el ID del documento que desea, y de igual forma incluir los Id de los detalles del documento cruzado o quitar de la lista los que desea desvincular.<br><br><cite>id</cite> -> ID del documento a editar,<br><cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>prefijo</cite> -> ID del prefijo,<br><cite>concepto</cite> -> Concepto del documento,<br><cite>documentoTipo</cite> -> Codigó de documento registrado (FV -> Factura Venta, NDV -> Nota Debito, NCV -> Nota Credito, CZ -> Cotizacion, REM -> Remision de Ventas, PD -> Pedido),<br><cite>idEmpresa</cite> -> ID empresa registrada,<br><cite>idTerceroExterno</cite> -> ID tercero registrado,<br><cite>idTerceroInterno</cite> -> ID tercero registrado,<br><cite>idFormaPago</cite> -> ID forma de pago registrado,<br><cite>idMoneda</cite> -> ID moneda registrada,<br><cite>idDocumentoMotivosGeneracion</cite> -> Para los documentos de Notas id motivo generacion,<br><cite>idClasificacion</cite> -> Para los documentos de Notas id clasificacion registrada,<br><cite>porcentajeDescuento</cite> -> Campo booleano <b>Verdadero</b> Si el descuento es calculado por un porcentaje,<br><cite>porcentajeTodosRenglones</cite> -> Campo booleano <b>Verdadero</b> Si el descuento aplica para todos los detalles,<br><cite>valDescuento</cite> -> Valor que se descuenta a los detalles ingresado,<br><dl><dt><cite>renglones</cite> -> Arreglo de los detalles de la factura que se van a registrar,</dt><dd>id -> ID del reglon registrado que se desea editar, (consulte el id registrado en el servicio &#39;Consultar productos de documento de venta&#39;),si esta gregando un nuevo detalle este campo no es necesario</dd><dd>idInventario -> ID inventario registrado del detalle,</dd><dd>unidadMedida -> Codigo de unidad de medida,</dd><dd>cantidad -> Cantidad del deatlle,</dd><dd>valorUnitario -> Valor unitario del detalle,</dd><dd>valorTotal -> Valor total de detalle,</dd><dd>idBodega -> ID bodega del detalle,</dd><dd>idCentroCosto -> ID centro de costro,</dd><dd>concepto -> Concempto de detalle ,</dd><dd>porDescuento -> porcentaje de descuento del detalle si aplica,</dd></dl><cite>idFactura</cite> -> Si est&aacute; editando el documento y este se encuentre cruzar, ingresar el ID para realizar cualquier ajuste sobre los detalles de este. (Opcional),<br><cite>idDetalles</cite> -> Si desea ingresar detalles del documento cruzado, ingrese los ID&#39;s de los detalles que se pueden consultar en el servicio &#39;Consultar productos de documento de venta&#39;(Opcional),<br><br>Petici&oacute;n de servicio:<br><pre>{<br>  id: integer,<br>  fecha: Date,<br>  prefijo: integer,<br>  documentoTipo: String,<br>  idEmpresa: integer,<br>  idTerceroExterno: integer,<br>  idTerceroInterno: integer,<br>  idFormaPago: integer,<br>  idMoneda: integer,<br>  trm: integer,<br>  porcentajeDescuento: boolean,<br>  porcentajeTodosRenglones: boolean,<br>  valDescuento: integer,<br>  reglones: [<br>    {<br>      id: integer,      idInventario: number,<br>      unidadMedida: String,<br>      cantidad: number,<br>      valorUnitario: number,<br>      idBodega: integer,<br>      porDescuento: number,<br>      concepto: String<br>    }<br>  ],<br>  idFactura: integer,<br>  idDetalles: [integer]<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"editarDocumentoVenta","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoEncabezadoPojo"}}},"required":true},"responses":{"400":{"description":"Error al editar algun campo del documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se editar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"404":{"description":"No se encuentra el documento de venta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/cuentasContables/editarCuentaContable":{"put":{"tags":["Cuentas contables"],"summary":"Editar cuenta contable","description":"<div id='DatosCrear'><p>Editar cuenta contable</p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/editarCuentaContable</div>Edita la cuenta contable registrada en el sistema por el id consultado<cite>id</cite> -> Id de la cuenta contable registrada,<br><cite>codigo</cite> -> Codigó de la cuenta contable,<br><cite>nombre</cite> -> Nombre de la cuenta contable,<br><cite>idSubCuentaContable</cite> -> Id subcuenta contable,<br><cite>idCuentaContableTipo</cite> -> Id Tipo cuenta cotable,<br><cite>idCuentaContableGrupo</cite> -> Id grupo cuenta contable,<br><cite>senVisible</cite> -> Campo booleano <b>Verdadero</b> si la cuenta es visible,<br><cite>senActivo</cite> -> Campo booleano <b>Verdadero</b> si la cuenta esta activa,<br><cite>senDetalleTercero</cite> -> Campo booleano,<br><cite>senManejaCentroCosto</cite> -> Campo booleano <b>Verdadero</b> si maneja centro de costo,<br><cite>senAutoretencion</cite> -> Campo booleano <b>Verdadero</b> si tiene auto retencion,<br><cite>idCuentaContableConcepto</cite> -> Id concepto cuenta contable,<br><cite>idConceptoRetencion</cite> -> Id concepto de retencion<br>}<br><br>Petici&oacute;n de servicio:<br><pre>{  id: 5192,<br>  codigo: \"14351004\",<br>  nombre: \"Test\",<br>  idSubCuentaContable: 878,<br>  idCuentaContableTipo: 10,<br>  idCuentaContableGrupo: 2,<br>  senVisible: true,<br>  senActivo: true,<br>  senDetalleTercero: true,<br>  senManejaCentroCosto: true,<br>  senAutoretencion: true,<br>  idCuentaContableConcepto: 5,<br>  idConceptoRetencion:54<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    subCuentaContable: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String<br>    },<br>    cuentaContableTipo: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String,<br>      cuentaContableNaturaleza: String<br>    },<br>    cuentaContableGrupo: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String,<br>      senRetencion: boolean,<br>      impuesto: String<br>    },<br>    senVisible: boolean,<br>    senActivo: boolean,<br>    senDetalleTercero: boolean,<br>    senManejaCentroCosto: boolean,<br>    senAutoretencion: boolean<br>  }<br>]</pre></div>","operationId":"editarCuentaContable","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearCuentaContablePojo"}}},"required":true},"responses":{"400":{"description":"No se permite la edicion de la cuenta contable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPICuentaContablePojo"}}}},"200":{"$ref":"#/components/responses/ResponseAPICuentaContablePojo"},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/editarDocContable":{"put":{"tags":["Contabilidad"],"summary":"Editar documento contable","description":"<div id='DatosCrear'><p>Editar registro contable</p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/editarDocContable</div>El servicio de edici&oacute;n permite modificar la informaci&oacute;n de un documento previamente registrado en el sistema.Sin embargo, es importante tener en cuenta que si el documento contiene asientos contables, el encabezado del documento no podr&aacute; ser editado. En este caso, se podrán modificar solamente los campos que corresponden a los asientos contables<cite>documentoId</cite> -> Id Documento contable,<br><cite>documentoTipo</cite> -> Codigo tipo documento que se quiere registrar (RC -> RECIBO DE CAJA, NC -> NOTA DE CONTABILIDAD, CE -> COMPROBANTE DE EGRESO, CV -> COSTOS DE VENTAS)<cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>empresaId</cite> -> Id empresa,<br><cite>terceroId</cite> -> Id tercero,<br><cite>prefijoId</cite> -> Id prefijo,<br><cite>concepto</cite> -> Concepto a registrar,<br><cite>asientos</cite> -> Arreglo de asientos contables <br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/editarDocContable</b><br><pre>{<br>  \"documentoId\": numeric,<br>  \"documentoTipo\": \"string\"<br>  \"fecha\": \"string\",<br>  \"empresaId\": numeric,<br>  \"terceroId\": numeric,<br>  \"prefijoId\": numeric,<br>  \"concepto\": \"string\",<br>  \"asientos\": [<br>    {<br>      \"asientoId\": numeric,<br>      \"cuentaContableId\": numeric,<br>      \"concepto\": \"string\",<br>      \"terceroId\": numeric,<br>      \"valorDebito\": numeric,<br>      \"valorCredito\": numeric,<br>      \"centroCostosId\": numeric,<br>      \"fechaVencimiento\": \"string\",<br>      \"retencionBase\": numeric,<br>      \"retencionPorcentaje\": numeric,<br>      \"formaPago\": {<br>        \"formaPagoId\": numeric,<br>        \"numeroDocumento\": \"string\",<br>        \"fechaVencimiento\": \"string\",<br>        \"terceroId\": 0<br>      }<br>    }<br>  ]<br>}</pre><br>Respuesta en el contenido de la petici&oacute;n:<br><pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: numeric,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: numeric,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: numeric,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: numeric,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: numeric,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>   },<br>   terceroExterno: {<br>     id: integer,<br>     nombreCompleto: string,<br>     primerNombre: string,<br>     segundoNombre: string,<br>     primerApellido: string,<br>     segundoApellido: string,<br>     terceroTipoIdentificacion: string,<br>     identificacion: string,<br>     terceroTipoContribuyente: string,<br>     terceroClasificacionAdministradorImpuesto: string,<br>     terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>     ],<br>     senCupoCredito: boolean,<br>     terceroVendedorPredeterminado: {<br>       id: integer,<br>       nombreCompleto: string,<br>       primerNombre: string,<br>       segundoNombre: string,<br>       primerApellido: string,<br>       segundoApellido: string,<br>       terceroTipoIdentificacion: string,<br>       identificacion: string<br>     },<br>     formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>     },<br>     listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>      }<br>    },<br>    terceroInterno: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    direccionTerceroExterno: {<br>      id: integer,<br>      direccion: string,<br>      ciudad: string,<br>      telefonoPrincipal: string,<br>      sucursal: string,<br>      senPrincipal: boolean<br>    },<br>    formaPago: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: numeric,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    concepto: string,<br>    trm: numeric,<br>    senContabilizado: boolean,<br>    documentoEncabezadosEstados: [<br>      {<br>        id: integer,<br>        codigo: String,<br>        nombre: string<br>      }<br>    ],<br>    numeroExterno: string,<br>    prefijoExterno: string,<br>    docAsociado: {<br>      id: integer,<br>      prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: numeric,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: numeric,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>      trm: numeric,<br>      versionFe: numeric,<br>      cufe: string<br>    },<br>    documentoMotivoGeneracion: {<br>      id: integer,<br>      codigo: string,<br>      motivo: string<br>    },<br>    documentoTipoNotaCredito: {<br>      id: integer,<br>      codigo: strin,<br>      tipoNotaCredito: string,<br>      efectoEnInventario: integer<br>    },<br>    tieneRenglones: boolean,<br>    senGenerado: boolean,<br>    elaboradoPor: {<br>      id: integer,<br>      nombres: string<br>    },<br>    tieneResolucionElectronica: boolean,<br>    atributosRequeridos: boolean,<br>    atributosEncabezado: boolean,<br>    atributosRenglones: boolean,<br>    historialPrefijoPos: {<br>      numero: numeric,<br>      nombrePrefijo: string<br>    }<br>  }<br></pre></div>","operationId":"editarDocumentoContable","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoRecaudosAPI"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Se realiza el cambio al documento contable exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/configuracion-proveedor-dian":{"get":{"tags":["configuracion-proveedor-dian-controller"],"operationId":"obtenerPorTerceroId","parameters":[{"name":"terceroId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOConfiguracionProveedorDianDTO"}}}}}},"put":{"tags":["configuracion-proveedor-dian-controller"],"operationId":"actualizar_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfiguracionProveedorDianDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOConfiguracionProveedorDianDTO"}}}}}},"post":{"tags":["configuracion-proveedor-dian-controller"],"operationId":"insertar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfiguracionProveedorDianDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOConfiguracionProveedorDianDTO"}}}}}}},"/api/v1/configuracion-dian-empresa/{id}":{"put":{"tags":["configuracion-dian-empresa-controller"],"operationId":"actualizar_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfiguracionDianEmpresaDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOConfiguracionDianEmpresaDTO"}}}}}},"delete":{"tags":["configuracion-dian-empresa-controller"],"operationId":"eliminar_2","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOVoid"}}}}}}},"/api/v1/compra/editarCompra":{"put":{"tags":["Compras"],"summary":"Editar documento de compra","description":"<div id='DatosCrear'><p>Editar documento de compra</p><div id='put'><span></span>https://api.worldoffice.cloud/api/v1/compra/editarCompra</div>Edita el documento de compra al ID ingresado con los siguientes campo:<br><cite>id</cite> -> ID del docuemnto a editar,<br><cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>prefijo</cite> -> ID del prefijo,<br><cite>concepto</cite> -> Concepto del documento,<br><cite>documentoTipo</cite> -> Codigó de documento registrado (FC -> Factura Compra, REMC -> Remision de Compra, OC -> Orden Compra, DREMC -> Devoluciones de Remisiones de Compra, NDC -> Nota Débito de Compra, NCC -> Notas Crédito de Compra),<br><cite>idEmpresa</cite> -> ID empresa registrada,<br><cite>idTerceroExterno</cite> -> ID tercero registrado,<br><cite>idTerceroInterno</cite> -> ID tercero registrado,<br><cite>idFormaPago</cite> -> ID forma de pago registrado,<br><cite>idMoneda</cite> -> ID moneda registrada,<br><cite>idDocumentoMotivosGeneracion</cite> -> Para los documentos de Notas id motivo generacion,<br><cite>idClasificacion</cite> -> Para los documentos de Notas id clasificacion registrada,<br><cite>porcentajeDescuento</cite> -> Campo booleano <b>Verdadero</b> Si el descuento es calculado por un porcentaje,<br><cite>porcentajeTodosRenglones</cite> -> Campo booleano <b>Verdadero</b> Si el descuento aplica para todos los detalles,<br><cite>valDescuento</cite> -> Valor que se descuenta a los detalles ingresado,<br><dl><dt><cite>renglones</cite> -> Arreglo de los detalles de la factura que se van a registrar,</dt><dd>idInventario -> ID inventario registrado del detalle,</dd><dd>unidadMedida -> Codigo de unidad de medida,</dd><dd>cantidad -> Cantidad del deatlle,</dd><dd>valorUnitario -> Valor unitario del detalle,</dd><dd>valorTotal -> Valor total de detalle,</dd><dd>idBodega -> ID bodega del detalle,</dd><dd>idCentroCosto -> ID centro de costro,</dd><dd>concepto -> Concempto de detalle ,</dd><dd>porDescuento -> porcentaje de descuento del detalle si aplica,</dd></dl><cite>idFactura</cite> -> En caso de cruce de docuemnto, ID docuemnto a cruzar,<br><cite>idDetalles</cite> -> ID detalles del documento cruzado para ingresar en el detalle,<br>Petici&oacute;n de servicio:<br><pre>{<br>  id: integer,<br>  fecha: Date,<br>  prefijo: integer,<br>  documentoTipo: String,<br>  idEmpresa: integer,<br>  idTerceroExterno: integer,<br>  idTerceroInterno: integer,<br>  idFormaPago: integer,<br>  idMoneda: integer,<br>  trm: integer,<br>  porcentajeDescuento: boolean,<br>  porcentajeTodosRenglones: boolean,<br>  valDescuento: integer,<br>  reglones: [<br>    {<br>      id: integer,      idInventario: number,<br>      unidadMedida: String,<br>      cantidad: number,<br>      valorUnitario: number,<br>      idBodega: integer,<br>      porDescuento: number,<br>      concepto: String<br>    }<br>  ],<br>  idFactura: integer,<br>  idDetalles: [integer]<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"editaDocumentoCompra","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoEncabezadoPojo"}}},"required":true},"responses":{"400":{"description":"No se editar la compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Registros exito de la compra","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIListaDocumentoEncabezadoPojo"}}}},"403":{"description":"No se editar la compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/atenciones/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarAtencion_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditarAtencionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AtencionResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarAtencion_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/atenciones/{atencionId}/signos-vitales/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarSignosVitales_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SignosVitalesResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarSignosVitales_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/atenciones/{atencionId}/motivo-consulta/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarMotivoConsulta_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MotivoConsultaResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarMotivoConsulta_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/atenciones/{atencionId}/formulacion-medica/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarFormulacionMedica_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulacionMedicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/FormulacionMedicaResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarFormulacionMedica_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/atenciones/{atencionId}/enfermedad-actual/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarEnfermedadActual_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnfermedadActualResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarEnfermedadActual_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/atenciones/{atencionId}/diagnosticos/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarDiagnostico_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DiagnosticoResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarDiagnostico_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/atenciones/{atencionId}/conceptos-facturados/{id}":{"put":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"editarConceptoFacturado_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptoFacturadoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ConceptoFacturadoResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"eliminarConceptoFacturado_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/antecedentes/patologico/{id}":{"put":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"editarAntecedentePatologico_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedentePatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AntecedentePatologicoResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"eliminarAntecedentePatologico_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/antecedentes/no-patologico/{id}":{"put":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"editarAntecedenteNoPatologico_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteNoPatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AntecedenteNoPatologicoResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"eliminarAntecedenteNoPatologico_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/antecedentes/familiar/{id}":{"put":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"editarAntecedenteFamiliar_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteFamiliarRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AntecedenteFamiliarResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"eliminarAntecedenteFamiliar_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/alergias-paciente/{id}":{"put":{"tags":["rest-historia-clinica-alergias-api"],"operationId":"editarAlergiaPaciente_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlergiaPacienteRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AlergiaPacienteResponse"}}}}}},"delete":{"tags":["rest-historia-clinica-alergias-api"],"operationId":"eliminarAlergiaPaciente_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/agenda/horarios-profesional-espacio/{id}":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarHorarioProfesionalEspacio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseHorarioProfesionalEspacioResponse"}}}}}},"put":{"tags":["rest-agenda-api"],"operationId":"actualizarHorarioProfesionalEspacio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActualizarHorarioProfesionalEspacioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/unidadesDeMedida/listarUnidadMedida":{"post":{"tags":["Globales"],"summary":"Listar tipos de unidad de medida","description":"<div id='DatosCrear'><p>Listar unidades de medida</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/unidadesDeMedida/listarUnidadMedida</div>Lista los tipos de unidad de medida registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br> {<br>  id: Integer,<br>  nombre: String,<br>  codigo: String,<br>  senDeSistema: boolean,<br>  unidadMedidaTipo: {<br>    id: Integer,<br>    nombre: String<br>  },<br>  unidadMedidaAdministradorImpuestos: {<br>    id: Integer,<br>    codigo: String,<br>    descripcion: String,<br>    ubicacionPais: {<br>      id: Integer,<br>      nombre: String,<br>      codigo: Integer,<br>      codAlterno: String<br>    }<br>  },<br>  unidadMedidaBaseId: Integer,<br>  factor: number<br>  }<br>]</pre></div>","operationId":"listarUnidades","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/tiposIdentificacion":{"post":{"tags":["Globales"],"summary":"Listar Tipos de identificación","description":"<div id='DatosCrear'><p>Listar tipos de identificaci&oacute;n terceros</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/tiposIdentificacion</div>Permite consultar los tipos de identificaci&oacute;n necesarios para el registro de un tercero.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    abreviatura: String,<br>    nombre: String,<br>    codigo: String,<br>    senEsEmpresa: boolean,<br>    senManejaDV: boolean,<br>    ubicacionPais { <br>      id: integer<br>      nombre: String,<br>      codigo: String,<br>      codAlterno: String<br>    }<br>  }<br>]</pre></div>","operationId":"listarTiposIdentificacion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/tiposContribuyente":{"post":{"tags":["Terceros"],"summary":"Listar Tipos de contribuyente","description":"<div id='DatosCrear'><p>Listar tipos de contribuyente terceros</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/tiposContribuyente</div>Permite consultar los tipos de contribuyente necesarios para el registro de un tercero.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: String,<br>    codigo: String<br>  }<br>]</pre></div>","operationId":"listarTiposContribuyente","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/terceroTipos":{"post":{"tags":["Terceros"],"summary":"Listar tipos de tercero","description":"<div id='DatosCrear'><p>Listar tercero tipos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/terceroTipos</div>Lista los tipos de terceros registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"listarTerceroTipos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageImpl"}}}}}}},"/api/v1/terceros/listarTipoCuenta":{"post":{"tags":["Globales"],"summary":"Listar tipo de cuentas","description":"<div id='DatosCrear'><p>Listar tipos de cuentas</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/listarTipoCuenta</div>Lista los tipos de cuentas registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"listarTipoCuenta","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/listarTerceros":{"post":{"tags":["Terceros"],"summary":"Listar terceros","description":"<div id='DatosCrear'><p>Listar Tercero</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/listarTerceros</div>Consulta la informaci&oacute;n de todos los terceros registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    tipoIdentificacion: String,<br>    identificacion: String,<br>    nombreCompleto: String,<br>    primerNombre: String,<br>    segundoNombre: String,<br>    primerApellido: String,<br>    segundoApellido: String,<br>    ubicacionCiudad: String,<br>    codigo: String,<br>    senActivo: boolean,<br>    senManejaNomina: boolean,<br>    terceroTipos: String,<br>    aplicaICAVentas: boolean,<br>  }<br>]</pre></div>","operationId":"listarTerceros","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/listarResponsabilidadFiscal":{"post":{"tags":["Terceros"],"summary":"Listar responsabilidad fiscal","description":"<div id='DatosCrear'><p>Listar Responsabilidad fiscal</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/listarResponsabilidadFiscal</div>Lista las responsabilidad fiscales registradas en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    significado: String<br>  }<br>]</pre></div>","operationId":"responsabilidadFiscal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/listarGenero":{"post":{"tags":["Globales"],"summary":"Listar genero","description":"<div id='DatosCrear'><p>Listar genero</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/listarGenero</div>Lista el genero registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 5,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"listarGenero","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"503":{"description":"Microservicio de géneros no disponible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/listarEstadoCivil":{"post":{"tags":["Globales"],"summary":"Listar estado civil","description":"<div id='DatosCrear'><p>Listar estado civil</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/listarEstadoCivil</div>Lista el estado civil registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"listarEstadoCivil","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/terceros/listarBancos":{"post":{"tags":["Globales"],"summary":"Listar bancos","description":"<div id='DatosCrear'><p>Listar bancos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/listarBancos</div>Lista los bancos registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"listarBancos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/direccion/{terceroId}":{"post":{"tags":["Terceros"],"summary":"Listar dirección terceros","description":"<div id='DatosCrear'><p>Listar direcci&oacute;n terceros</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/direccion/{terceroId}</div>Permite consultar las direcciones registradas en el sistema de los terceros.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/direccion/123</b><br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean,<br>  }<br>]<br></pre></div>","operationId":"listarDirecciones","parameters":[{"name":"terceroId","in":"path","description":"ID del tercero","required":true,"schema":{"type":"string"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/terceros/crearTercero":{"post":{"tags":["Terceros"],"summary":"Crear tercero","description":"<div id='DatosCrear'><p>Registrar un nuevo Tercero</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/crearTercero</div><cite>idTerceroTipoIdentificacion</cite> -> Id registrado de tipo de identificacion del tercero,<br><cite>identificacion</cite> -> numero de identificación del terecero,<br><cite>primerNombre</cite> -> Primer nombre,<br><cite>segundoNombre</cite> -> Segundo nombre,<br><cite>primerApellido</cite> -> Primer apellido,<br><cite>segundoApellido</cite> -> Segundo apellido,<br><cite>direccion</cite> -> Dirección del tercero,<br><cite>idCiudad</cite> -> Id registrado de la ciudad,<br><cite>telefono</cite> -> Telefono del tercero,<br><cite>email</cite> -> Correo electronico del tercero,<br><cite>plazoDias</cite> -> En credito plazo maximo para pago de mercancia,<br><cite>idListaPrecioPredeterminada</cite> -> Id registrado,<br><cite>idTerceroVendedorPredeterminado</cite> -> Id registrado,<br><cite>idTerceroTipoContribuyente</cite> -> Id registrado,<br><cite>idClasificacionImpuestos</cite> -> Id registrado,<br><cite>responsabilidadFiscal</cite> -> Arreglo de id´s que se van a registrar, <br><cite>idTerceroTipos</cite> -> Arreglo de id´s de los tipos de tercero que se le asignaran al tercero.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/crearTercero</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br> id: integer,<br> terceroTipoIdentificacion: {<br>   id: integer,<br>   abreviatura: string,<br>   nombre: string,<br>   codigo: string,<br>   senEsEmpresa: boolean,<br>   senManejaDV: boolean,<br>   ubicacionPais: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     codAlterno: string<br>   }<br> },<br> identificacion: string,<br> digitoVerificacion: integer,<br> digitoVerificacionGenerado: boolean,<br> primerNombre: string,<br> segundoNombre: string,<br> primerApellido: string,<br> segundoApellido: string,<br> nombreCompleto: string,<br> ciudad: {<br>   id: integer,<br>   nombre: string,<br>   codigo: string,<br>   senSistema: boolean,<br>   ubicacionDepartamento: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     senSistema: boolean,<br>     ubicacionPais: {<br>       id: integer,<br>       nombre: string,<br>       codigo: string,<br>       codAlterno: string<br>     }<br>   }<br> },<br> codigo: string,<br> senActivo: boolean,<br> senManejaNomina: boolean,<br> atributos: boolean,<br> tarifaICA: integer,<br> aplicaICAVentas: boolean,<br> terceroTipos: [<br>   {<br>     id: integer,<br>     codigo: string,<br>     nombre: string<br>   }<br> ]<br>}</pre></div>","operationId":"crearTercero","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearTerceroAPIPojo"}}},"required":true},"responses":{"400":{"description":"La peticion presenta inconsistencias","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Tercero creado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPITerceroPojo"}}}}}}},"/api/v1/terceros/clasificacionImpuestos":{"post":{"tags":["Terceros"],"summary":"Listar clasificación impuestos","description":"<div id='DatosCrear'><p>Listar tipos de clasificación de impuestos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/terceros/clasificacionImpuestos</div>Permite consultar los tipos de contribuyente necesarios para el registro de un tercero.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: string,<br>  }<br>]<br></pre></div>","operationId":"listarClasificacionImpuestos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/recordatorios":{"post":{"tags":["rest-historia-clinica-recordatorios-api"],"operationId":"crearRecordatorio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordatorioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/recordatorios/tercero/{idtercero}/vigentes/listar":{"post":{"tags":["rest-historia-clinica-recordatorios-api"],"operationId":"listarRecordatoriosVigentes","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponseRecordatorioResponse"}}}}}}},"/api/v1/recordatorios/tercero/{idtercero}/archivados/listar":{"post":{"tags":["rest-historia-clinica-recordatorios-api"],"operationId":"listarRecordatoriosArchivados","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponseRecordatorioResponse"}}}}}}},"/api/v1/prefijos-documentos":{"post":{"tags":["prefijo-documento-controller"],"operationId":"crear","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefijoDocumentoDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOPrefijoDocumentoDTO"}}}}}}},"/api/v1/monedas/listarMonedas":{"post":{"tags":["Globales"],"summary":"Listar tipos de moneda","description":"<div id='DatosCrear'><p>Listar monedas</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/monedas/listarMonedas</div>Lista los tipos de moneda registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>\t{<br>   id: integer,<br>   nombre: String,<br>   codigo: String,<br>   simbolo: String<br>\t}<br>]</pre></div>","operationId":"listaMonedas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/inventarios/{inventarioId}/bodegas":{"post":{"tags":["Inventario"],"summary":"Consultar bodegas por inventario","description":"<div id='DatosCrear'><p>Consultar bodegas por inventario</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/{inventarioId}/bodegas</div>Consulta las bodegas disponibles para un inventario, recibe por parametro el id del inventario<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    bodegaId: integer,<br>    bodega: String,<br>    ubicacion: String,<br>    senPrincipal: boolean,<br>    existenciaMinimaPermitida: integer,<br>    existenciaMaximaPermitida: integer,<br>    existenciaMinimaReorden: integer<br>  }<br>]</pre></div>","operationId":"listarInventarioBodega","parameters":[{"name":"inventarioId","in":"path","description":"Identificador del inventario para el cual se va a llevar a cabo la consulta de sus bodegas asociadas.","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Inventario no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/listarInventarios":{"post":{"tags":["Inventario"],"summary":"Listar inventarios","description":"<div id='DatosCrear'><p>Listar inventarios</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/listarInventarios</div>Lista la informaci&oacute;n de todos los inventarios registrados en el sistema<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    codigoInternacional: String,<br>    descripcion: String,<br>    unidadMedida: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean,<br>      unidadMedidaTipo: {<br>        id: integer,<br>        nombre: String<br>      },<br>      unidadMedidaAdministradorImpuestos: {<br>        id: integer,<br>        codigo: String,<br>        descripcion: String,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: String,<br>          String codigo: String,<br>          String cod_alterno: String<br>        }<br>      },<br>      unidadMedidaBaseId: integer,<br>      factor: number<br>    },<br>    senActivo: boolean,<br>    inventarioClasificacion: {<br>      id: integer,<br>      nombre: String,<br>      senAfectaCostoPromedio: boolean,<br>      senDeSistema: boolean<br>    },<br>    centroCosto: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String<br>    },<br>    grupo: {<br>      id: integer,<br>      codigo: String,<br>      nombreGrupo: String,<br>      folder: boolean,<br>      seleccionado: boolean,<br>      senActivo: boolean,<br>      borrador: boolean<br>    },<br>    contabilizacion: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean<br>    },<br>    senFacturarSinExistencias: boolean,<br>    senManejaSeriales: boolean,<br>    utilidadEstimada: number,<br>    impuestos: [<br>      {<br>        id: integer,<br>        valor: number,<br>        senSumaAlCosto: boolean,<br>        idProceso: integer,<br>        impuesto: {<br>          id: integer,<br>          tipo: String,<br>          nombre: String,<br>          tipoCobro: String,<br>          tarifa: number,<br>          empresas: [integer]<br>        },<br>        empresas: [<br>          {<br>            id: integer,<br>            nombre: String,<br>            prefijo: String,<br>            identificacion: String,<br>            digitoVerificacion: integer,<br>            digitoVerificacionGenerado: boolean,<br>            senPrincipal: boolean,<br>            numeroEstablecimientos: integer,<br>            tercero: {<br>              id: integer,<br>              terceroTipoIdentificacion {<br>                id: integer,<br>                abreviatura: String,<br>                nombre: String,<br>                codigo: String,<br>                senEsEmpresa: boolean,<br>                senManejaDV: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  cod_alterno: String<br>                }<br>              },<br>              identificacion: String,<br>              digitoVerificacion: integer,<br>              digitoVerificacionGenerado: boolean,<br>              primerNombre: String,<br>              segundoNombre: String,<br>              primerApellido: String,<br>              segundoApellido: String,<br>              nombreCompleto: String,<br>              ciudad: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean<br>                ubicacionDepartamento {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  boolean senSistema: boolean<br>                  ubicacionPais: {<br>                    id: integer,<br>                    nombre: String,<br>                    codigo: String,<br>                    cod_alterno: String<br>                  }<br>                },<br>              }<br>              codigo: String,<br>              senActivo: boolean,<br>              senManejaNomina: boolean,<br>              atributos: boolean,<br>              tarifaICA: numeric,<br>              aplicaICAVentas: boolean,<br>              terceroTipos: [<br>                {<br>                  id: integer,<br>                  codigo: String,<br>                  nombre: String<br>                }<br>              ]<br>            },<br>            ubicacionCiudad: {<br>              id: integer,<br>            \t nombre: String,<br>            \t codigo: String,<br>            \t senSistema: String<br>            \t ubicacionDepartamento: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>            \t     cod_alterno: String<br>                }<br>              }<br>            },<br>            infoTributariaAdicional: String,<br>            responsabilidadFiscal: [<br>              {<br>                id: integer,<br>                codigo: String,<br>                significado: String<br>              }<br>            ]<br>          }<br>        ],<br>        inventarioTipoImpuestoVenta: {<br>          id: integer,<br>          nombre: String,<br>          tipo: String,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: String,<br>            codigo: String,<br>            cod_alterno: String<br>          }<br>        },<br>        muestraAlerta: boolean<br>      }<br>    ],<br>    atributos: boolean,<br>    senManejaLotes: boolean<br>  }<br>]</pre></div>","operationId":"ListarInventarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/listarDocumentoSalidaAlmacen":{"post":{"tags":["Inventario"],"summary":"Listar documentos de salida de almacén","description":"<div id='DatosCrear'><p>Listar documentos de salida de almacén</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/listarDocumentoSalidaAlmacen</div>Lista la informaci&oacute;n de los documentos de salida de almacén registrados en el sistema, es obligatorio que ingrese en el campo valor del objetofiltro el tipo de documento a listar ejemplo: SA.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/listarDocumentoSalidaAlmacen</b><br><pre>{<br>    \"columnaOrdenar\": \"fecha,id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 19,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [<br>       {<br>            \"atributo\": \"documentoTipo.codigoDocumento\",<br>            \"valor\": \"PD\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 0,<br>            \"nombreColumna\": null,<br>            \"valores\": null,<br>            \"clase\": null,<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        },<br>        {<br>            \"atributo\": \"moneda.id\",<br>            \"valor\": \"31\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 4,<br>            \"nombreColumna\": null,<br>            \"valores\": null,<br>            \"clase\": null,<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        }<br>    ],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>content: [<br>  {<br>  \"id\": integer,<br>  \"prefijo\": string,<br>  \"motivo\": string,<br>  \"idPrefijo\": integer,<br>  \"numero\": integer,<br>  \"fecha\": Date,<br>  \"empresa\": string,<br>  \"idEmpresa\": integer,<br>  \"terceroExterno\": string,<br>  \"primerNombreTerceroExterno\": string,<br>  \"segundoNombreTerceroExterno\": string,<br>  \"primerApellidoTerceroExterno\": string,<br>  \"segundoApellidoTerceroExterno\": string,<br>  \"idTerceroExterno\": integer,<br>  \"terceroInterno\": string,<br>  \"primerNombreTerceroInterno\": string,<br>  \"segundoNombreTerceroInterno:\" string,<br>  \"primerApellidoTerceroInterno\": string,<br>  \"segundoApellidoTerceroInterno\": string,<br>  \"idTerceroInterno\": integer,<br>  \"formaPago\": string,<br>  \"idFormaPago\": integer,<br>  \"concepto\": string,<br>  \"responsable\": string<br>  }<br>]<br></pre></div>","operationId":"listarDocumentoSalidaAlmacen","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"403":{"description":"No se puede consultar estos documentos","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/impuestosDeVentas":{"post":{"tags":["Inventario"],"summary":"Listar impuestos de ventas por inventario","description":"<div id='DatosCrear'><p>Listar impuestos de ventas por inventario</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/impuestosDeVentas</div>Lista los impuestos de venta existentes en el sistema<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: String,<br>    tipo: String,<br>    ubicacionPais: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      codAlterno: String<br>    }<br>  }<br>]</div>","operationId":"listaImpuestosVentaInventarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/inventarios/grupos":{"post":{"tags":["Inventario"],"summary":"Listar grupos de inventario","description":"<div id='DatosCrear'><p>Listar grupos de productos y servicios</p><div id='pos'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/grupos</div>Lista los grupos de producto y servicios registrados en el sistema<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    codigo: String<br>    nombreGrupo: String<br>    folder: boolean<br>    seleccionado: boolean<br>    senActivo: boolean<br>    borrador: boolean<br>  }<br>]</pre></div>","operationId":"listarGruposProductosServicios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/inventarios/crearSalidaAlmacen":{"post":{"tags":["Inventario"],"summary":"Crear documento de salida de almacén","description":"<div id='DatosCrear'><p>Registra un documento salida de almacén con los siguientes campo: </p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/crearSalidaAlmacen</div><cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>prefijo</cite> -> ID del prefijo que se puede consultar del servicio listarPrefijoDocumento,<br><cite>concepto</cite> -> Concepto del documento,<br><cite>documentoTipo</cite> -> Codigó de documento que se ingresa (SA -> Salida de almacen),<br><cite>idEmpresa</cite> -> ID empresa registrada,<br><cite>idTerceroExterno</cite> -> ID tercero registrado,<br><cite>idTerceroInterno</cite> -> ID tercero registrado,<br><cite>idFormaPago</cite> -> ID forma de pago registrado,<br><cite>idMoneda</cite> -> ID moneda registrada,<br><cite>idDocumentoMotivosGeneracion</cite> -> Para los documentos de Notas id motivo generación,<br><cite>idClasificacion</cite> -> Para los documentos de Notas id clasificación registrada,<br><cite>porcentajeDescuento</cite> -> Campo booleano <b>Verdadero</b> Si el descuento es calculado por un porcentaje,<br><cite>porcentajeTodosRenglones</cite> -> Campo booleano <b>Verdadero</b> Si el descuento aplica para todos los detalles,<br><cite>valDescuento</cite> -> Valor que se descuenta a los detalles ingresado,<br><dl><dt><cite>renglones</cite> -> Arreglo de los detalles de la factura que se van a registrar,</dt><dd>idInventario -> ID inventario registrado del detalle,</dd><dd>unidadMedida -> Codigo de unidad de medida,</dd><dd>cantidad -> Cantidad del deatlle,</dd><dd>valorUnitario -> Valor unitario del detalle,</dd><dd>valorTotal -> Valor total de detalle,</dd><dd>idBodega -> ID bodega del detalle,</dd><dd>idCentroCosto -> ID centro de costro,</dd><dd>concepto -> Concepto de detalle ,</dd><dd>porDescuento -> porcentaje de descuento del detalle si aplica,</dd></dl><cite>idFactura</cite> -> En caso de que se desee cruzar el documento debe ingresar el ID (Opcional), aplica para documentos tipo NOTA<br><cite>idDetalles</cite> -> Si desea ingresar detalles del documento cruzado, ingrese los ID&#39;s de los detalles que se pueden consultar en el servicio &#39;Consultar productos de documento de venta&#39;(Opcional),<br><br>Petici&oacute;n de servicio:<br><pre>{<br>  fecha: Date,<br>  prefijo: integer,<br>  documentoTipo: String,<br>  idEmpresa: integer,<br>  idTerceroExterno: integer,<br>  idTerceroInterno: integer,<br>  idFormaPago: integer,<br>  idMoneda: integer,<br>  trm: integer,<br>  porcentajeDescuento: boolean,<br>  porcentajeTodosRenglones: boolean,<br>  valDescuento: integer,<br>  reglones: [<br>    {<br>      idInventario: number,<br>      unidadMedida: String,<br>      cantidad: number,<br>      valorUnitario: number,<br>      idBodega: integer,<br>      porDescuento: number,<br>      concepto: String<br>    }<br>  ],<br>  idFactura: integer,<br>  idDetalles: [integer]<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"crearSalidaAlmacen","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoEncabezadoPojo"}}},"required":true},"responses":{"400":{"description":"No se puede crear este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede crear este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}}}}},"/api/v1/inventarios/crearInventario":{"post":{"tags":["Inventario"],"summary":"Crea inventario","description":"<div id='DatosCrear'><p>Crea un nuevo inventario en el sistema</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/crearInventario</div><cite>codigo</cite> -> Codigo de inventario,<br><cite>descripcion</cite> -> Descripcion del inventario,<br><cite>idUnidadMedida</cite> -> Id unidad de medida,<br><cite>idInventarioClasificacion</cite> ->  Id clasificación de inventario,<br><cite>idCentroCosto</cite> -> Id centro de costo,<br><cite>idInventarioGrupo</cite> -> Id grupo de inventario,<br><cite>idInventarioTipoImpuestoVenta</cite> -> Id tipo impuesto de venta de inventario,<br><cite>idContabilizacion</cite> -> Id contabilizacion<br><br>Petici&oacute;n de servicio:<br><pre>{<br>  codigo: String,<br>  descripcion: String,<br>  idUnidadMedida : integer,<br>  idInventarioClasificacion: integer ,<br>  idCentroCosto: integer,<br>  idInventarioGrupo: integer,<br>  idInventarioTipoImpuestoVenta: integer,<br>  idContabilizacion: integer<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    codigoInternacional: String,<br>    descripcion: String,<br>    unidadMedida: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean,<br>      unidadMedidaTipo: {<br>        id: integer,<br>        nombre: String<br>      },<br>      unidadMedidaAdministradorImpuestos: {<br>        id: integer,<br>        codigo: String,<br>        descripcion: String,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: String,<br>          String codigo: String,<br>          String cod_alterno: String<br>        }<br>      },<br>      unidadMedidaBaseId: integer,<br>      factor: number<br>    },<br>    senActivo: boolean,<br>    inventarioClasificacion: {<br>      id: integer,<br>      nombre: String,<br>      senAfectaCostoPromedio: boolean,<br>      senDeSistema: boolean<br>    },<br>    centroCosto: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String<br>    },<br>    grupo: {<br>      id: integer,<br>      codigo: String,<br>      nombreGrupo: String,<br>      folder: boolean,<br>      seleccionado: boolean,<br>      senActivo: boolean,<br>      borrador: boolean<br>    },<br>    contabilizacion: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean<br>    },<br>    senFacturarSinExistencias: boolean,<br>    senManejaSeriales: boolean,<br>    utilidadEstimada: number,<br>    impuestos: [<br>      {<br>        id: integer,<br>        valor: number,<br>        senSumaAlCosto: boolean,<br>        idProceso: integer,<br>        impuesto: {<br>          id: integer,<br>          tipo: String,<br>          nombre: String,<br>          tipoCobro: String,<br>          tarifa: number,<br>          empresas: [integer]<br>        },<br>        empresas: [<br>          {<br>            id: integer,<br>            nombre: String,<br>            prefijo: String,<br>            identificacion: String,<br>            digitoVerificacion: integer,<br>            digitoVerificacionGenerado: boolean,<br>            senPrincipal: boolean,<br>            numeroEstablecimientos: integer,<br>            tercero: {<br>              id: integer,<br>              terceroTipoIdentificacion {<br>                id: integer,<br>                abreviatura: String,<br>                nombre: String,<br>                codigo: String,<br>                senEsEmpresa: boolean,<br>                senManejaDV: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  cod_alterno: String<br>                }<br>              },<br>              identificacion: String,<br>              digitoVerificacion: integer,<br>              digitoVerificacionGenerado: boolean,<br>              primerNombre: String,<br>              segundoNombre: String,<br>              primerApellido: String,<br>              segundoApellido: String,<br>              nombreCompleto: String,<br>              ciudad: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean<br>                ubicacionDepartamento {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  boolean senSistema: boolean<br>                  ubicacionPais: {<br>                    id: integer,<br>                    nombre: String,<br>                    codigo: String,<br>                    cod_alterno: String<br>                  }<br>                },<br>              }<br>              codigo: String,<br>              senActivo: boolean,<br>              senManejaNomina: boolean,<br>              atributos: boolean,<br>              tarifaICA: numeric,<br>              aplicaICAVentas: boolean,<br>              terceroTipos: [<br>                {<br>                  id: integer,<br>                  codigo: String,<br>                  nombre: String<br>                }<br>              ]<br>            },<br>            ubicacionCiudad: {<br>              id: integer,<br>            \t nombre: String,<br>            \t codigo: String,<br>            \t senSistema: String<br>            \t ubicacionDepartamento: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>            \t     cod_alterno: String<br>                }<br>              }<br>            },<br>            infoTributariaAdicional: String,<br>            responsabilidadFiscal: [<br>              {<br>                id: integer,<br>                codigo: String,<br>                significado: String<br>              }<br>            ]<br>          }<br>        ],<br>        inventarioTipoImpuestoVenta: {<br>          id: integer,<br>          nombre: String,<br>          tipo: String,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: String,<br>            codigo: String,<br>            cod_alterno: String<br>          }<br>        },<br>        muestraAlerta: boolean<br>      }<br>    ],<br>    atributos: boolean,<br>    senManejaLotes: boolean<br>  }<br>]</pre></div>","operationId":"crearInventario","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearInventarioPojo"}}},"required":true},"responses":{"400":{"description":"La peticion presenta inconsistencias","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Inventario creado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIInventarioPojo"}}}}}}},"/api/v1/inventarios/contabilizarDocumentoSalidaAlmacen/{id}":{"post":{"tags":["Inventario"],"summary":"Contabilizar documento salida de almacen","description":"<div id='DatosCrear'><p>Contabilizar documento de salida de almacén por ID</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/contabilizarDocumentoSalidaAlmacen</div>Contabilizar el ID del documento de salida de almacén ingresado.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/contabilizarDocumentoSalidaAlmacen/123</b><br></div>","operationId":"contabilizarDocumentoSalidaAlmacen","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El inventarios presenta conflictos para realizar proceso de contabilizar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento contabilizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede contabilizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/clasificaciones":{"post":{"tags":["Inventario"],"summary":"Listar clasificación de inventario","description":"<div id='DatosCrear'><p>Listar clasificaci&oacute;n de inventario</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/clasificaciones/</div>Lista las clasificaciones de inventario registradas en el sistema<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    nombre: String<br>    identificacion: String<br>    prefijo: String<br>  }<br>]</pre></div>","operationId":"listarClasificacion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/inventarios/anularDocumentoSalidaAlmacen/{id}":{"post":{"tags":["Inventario"],"summary":"Anular documento salida de almacen ","description":"<div id='DatosCrear'><p>Anular docuemento de salida de almacén por Id</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/anularDocumentoSalidaAlmacen</div>Anula el documento de salida de almacén del id ingresado.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/anularDocumentoSalidaAlmacen/123</b><br></div>","operationId":"anularDocumentoSalidaAlmacenId","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"No es posible anular por regla de negocio o ya se encuentra anulado previamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede anular este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento anulado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/importacion/async":{"post":{"tags":["wo-importacion-controller"],"operationId":"importarAsync","parameters":[{"name":"tipo_migracion","in":"query","required":true,"schema":{"type":"string","enum":["USUARIOS","PACIENTES","PROFESIONALES","INVENTARIO_CUPS","RIPS_CONSULTAS","RIPS_PROCEDIMIENTOS","RIPS_URGENCIAS","RIPS_HOSPITALIZACIONES","RIPS_RECIEN_NACIDOS","RIPS_MEDICAMENTOS","RIPS_OTROS_SERVICIOS","RIPS_CONSULTAS_DOCUMENTOS","RIPS_PROCEDIMIENTOS_DOCUMENTOS","RIPS_URGENCIAS_DOCUMENTOS","RIPS_HOSPITALIZACIONES_DOCUMENTOS","RIPS_RECIEN_NACIDOS_DOCUMENTOS","RIPS_MEDICAMENTOS_DOCUMENTOS","RIPS_OTROS_SERVICIOS_DOCUMENTOS","SECTOR_SALUD","EDICION_MASIVA_JSON","JSON"]}},{"name":"old_job_id","in":"query","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"transaccion_id","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["archivo"],"type":"object","properties":{"archivo":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WoImportacionResponse"}}}}}}},"/api/v1/importacion/async-json":{"post":{"tags":["wo-importacion-controller"],"operationId":"importarJsonAsync","parameters":[{"name":"task_id","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"transaccion_id","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNode"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WoImportacionResponse"}}}}}}},"/api/v1/importacion/async-archivo-json":{"post":{"tags":["wo-importacion-controller"],"operationId":"importarArchivoJsonAsync","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["archivo"],"type":"object","properties":{"archivo":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WoImportacionResponse"}}}}}}},"/api/v1/historias-clinicas/listar":{"post":{"tags":["rest-historia-clinica-api"],"operationId":"listarHistorias","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponseHistoriaClinicaResumenResponse"}}}}}}},"/api/v1/historiaclinica/recordatorios":{"post":{"tags":["Recordatorios"],"summary":"Registrar recordatorio del paciente","description":"Registra un recordatorio. Por defecto queda con resuelto=false y oculto=false. La fecha de vencimiento se recibe en formato dd/MM/yyyy.","operationId":"crearRecordatorio_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordatorioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Recordatorio registrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/historiaclinica/recordatorios/tercero/{idtercero}/vigentes/listar":{"post":{"tags":["Recordatorios"],"summary":"Listar recordatorios vigentes del paciente","description":"Recordatorios no resueltos, no ocultos y no vencidos, por tercero. Paginado.","operationId":"listarRecordatoriosVigentes_1","parameters":[{"name":"idtercero","in":"path","description":"ID del paciente en terceros","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Listado paginado de recordatorios vigentes","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponse"}}}}}}},"/api/v1/historiaclinica/recordatorios/tercero/{idtercero}/archivados/listar":{"post":{"tags":["Recordatorios"],"summary":"Listar recordatorios archivados del paciente","description":"Recordatorios vencidos, resueltos u ocultos, por tercero. Paginado.","operationId":"listarRecordatoriosArchivados_1","parameters":[{"name":"idtercero","in":"path","description":"ID del paciente en terceros","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Listado paginado de recordatorios archivados","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponse"}}}}}}},"/api/v1/historiaclinica/historias-clinicas/listar":{"post":{"tags":["Historias Clínicas","HistoriaClinica"],"summary":"Listar historias clínicas paginadas","description":"Devuelve solo historias clínicas que tienen al menos una atención registrada. Incluye id, estado (COMPLETADO / PENDIENTE_REVISION) calculado sobre la última atención.","operationId":"listarHistorias_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Listado paginado de historias clínicas","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponse"}}}}}}},"/api/v1/historiaclinica/historia-clinica/completo/atenciones":{"post":{"tags":["Atenciones"],"summary":"Crear Atención Clínica Completa","description":"Registra una atención clínica completa en una única solicitud transaccional.  **Reglas de negocio:** - La operación es 100% transaccional: si cualquier validación falla, no se persiste ningún dato. - El `tenant_id` se extrae del contexto de seguridad, nunca del body. - El `idtercero` del paciente se infiere de la historia clínica referenciada. - Diagnósticos, formulación y conceptos facturados quedan asociados al mismo `idAtencion`. - `fechaHoraAtencion` y `createdBy` se registran automáticamente por Spring Data Auditing. ","operationId":"crearAtencionCompleta","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAtencionCompletaRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Atención clínica completa creada exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Historia clínica no encontrada o de otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/grupos-sanguineos-paciente":{"post":{"tags":["GruposSanguineos"],"summary":"Registrar grupo sanguíneo del paciente","description":"Registra el grupo sanguíneo para el paciente. Un paciente solo puede tener un registro. HTTP 409 si ya existe. HTTP 404 si el tercero no existe en fe_rips_minsalud_usuario.","operationId":"crearGrupoSanguineoPaciente","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Ya existe grupo sanguíneo para el paciente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Tercero no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Grupo sanguíneo registrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/historiaclinica/atenciones":{"post":{"tags":["Atenciones"],"summary":"Crear Atención","description":"**HU-004 / Azure #14026** Registra una atención sobre una HC existente. El `tenant_id` de la atención debe coincidir con el de la HC padre. `servicioPrestado` y `profesional` son referencias lógicas opcionales (sin FK explícita). ","operationId":"crearAtencion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAtencionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Atención creada exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtencionResponse"}}}},"404":{"description":"HC no encontrada o de otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/signos-vitales":{"get":{"tags":["Atenciones"],"summary":"Consultar Signos Vitales por Atención","description":"**HU-017 / Azure #14064**","operationId":"consultarSignosVitales","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Signos vitales de la atención","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Atenciones"],"summary":"Crear Signos Vitales","description":"**HU-017 / Azure #14064** **Solo puede existir un registro de signos vitales por atención.** HTTP 409 con `SIGNOS_YA_EXISTEN` si ya existe registro para la atención. Todos los campos clínicos son opcionales. ","operationId":"crearSignosVitales","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Ya existe registro de signos vitales para esta atención","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Signos vitales creados","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/motivo-consulta":{"get":{"tags":["Atenciones"],"summary":"Consultar Motivo de Consulta por Atención","description":"**HU-007 / Azure #14029**","operationId":"consultarMotivoConsulta","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Motivo de consulta de la atención","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Atenciones"],"summary":"Crear Motivo de Consulta","description":"**HU-007 / Azure #14029** `tipoConsulta` debe ser uno de los valores del ENUM → HTTP 400 si valor inválido. `descripcion` máximo 1.000 caracteres. `tenant_id` se hereda de la atención padre. ","operationId":"crearMotivoConsulta","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Motivo de consulta creado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/formulacion-medica":{"get":{"tags":["Atenciones"],"summary":"Listar Formulaciones Médicas por Atención","description":"**HU-010 / Azure #14032**","operationId":"listarFormulacionesMedicas","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de formulaciones médicas","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FormulacionMedicaResponse"}}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Atenciones"],"summary":"Crear Formulación Médica","description":"**HU-010 / Azure #14032** Si `senFacturar = true`: `cantidad` y `valor` son **obligatorios**. Si `senFacturar = false`: campos de facturación opcionales. `valor` es `NUMERIC(18,4)` — nunca FLOAT. ","operationId":"crearFormulacionMedica","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulacionMedicaRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Formulación médica creada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/facturacion":{"get":{"tags":["Facturación de atenciones"],"summary":"Consultar datos de facturación de la atención","description":"Devuelve el paciente, el profesional, los conceptos facturados, los medicamentos formulados marcados como facturables y las referencias de la última factura registrada, si existe.","operationId":"consultarFacturacionAtencion","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Datos de facturación de la atención","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AtencionFacturacionResponse"}}}},"404":{"description":"Atención no encontrada","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Facturación de atenciones"],"summary":"Registrar la factura de la atención","description":"Vincula la atención con el documento de venta creado. Sobrescribe un vínculo anterior, de modo que refacturar tras una anulación es válido.","operationId":"registrarFacturaAtencion","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrarFacturaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Atención no encontrada","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"Factura registrada"}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/enfermedad-actual":{"get":{"tags":["Atenciones"],"summary":"Consultar Enfermedad Actual por Atención","description":"**HU-008 / Azure #14030**","operationId":"consultarEnfermedadActual","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Enfermedad actual de la atención","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Atenciones"],"summary":"Crear Enfermedad Actual","description":"**HU-008 / Azure #14030** `descripcion` no puede ser null y máximo 1.000 caracteres → HTTP 400 si supera. ","operationId":"crearEnfermedadActual","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Enfermedad actual creada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/diagnosticos":{"get":{"tags":["Atenciones"],"summary":"Listar Diagnósticos por Atención","description":"**HU-016 / Azure #14062**","operationId":"listarDiagnosticos","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de diagnósticos","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DiagnosticoResponse"}}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Atenciones"],"summary":"Crear Diagnóstico","description":"**HU-016 / Azure #14062** Una atención puede tener N diagnósticos. `diagnostico` no puede ser null y máximo 1.000 caracteres. ","operationId":"crearDiagnostico","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticoRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Diagnóstico creado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticoResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/conceptos-facturados":{"get":{"tags":["Atenciones"],"summary":"Listar Conceptos Facturados por Atención","description":"**HU-009 / Azure #14031**","operationId":"listarConceptosFacturados","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de conceptos facturados","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConceptoFacturadoResponse"}}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Atenciones"],"summary":"Crear Concepto Facturado","description":"**HU-009 / Azure #14031** `codigoCups` debe existir en el catálogo CUPS. `cantidad` debe ser mayor a cero. ","operationId":"crearConceptoFacturado","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptoFacturadoRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Concepto facturado creado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Atención no encontrada o pertenece a otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/{atencionId}/adjuntos":{"get":{"tags":["Adjuntos de atención"],"summary":"Listar los adjuntos de una atención","description":"Ordenados por fecha de carga descendente. El peso se expone en bytes y también formateado en KB o MB.","operationId":"listarAdjuntosAtencion","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Atención no encontrada","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"Listado de adjuntos","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdjuntoAtencionResponse"}}}}}}},"post":{"tags":["Adjuntos de atención"],"summary":"Registrar los metadatos de uno o varios adjuntos","description":"Todos los archivos de la solicitud comparten tipo de documento y descripción, y quedan como registros independientes. Una atención admite máximo 10 adjuntos.","operationId":"registrarAdjuntosAtencion","parameters":[{"name":"atencionId","in":"path","description":"ID de la atención","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrarAdjuntosRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Se superó el máximo de 10 adjuntos por atención","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"404":{"description":"Atención no encontrada","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Adjuntos registrados","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdjuntoAtencionResponse"}}}}}}}},"/api/v1/historiaclinica/atenciones/facturables/buscar":{"post":{"tags":["Facturación de atenciones"],"summary":"Buscar atenciones facturables de varios pacientes","description":"Versión en lote de la consulta de facturación: devuelve las atenciones de los pacientes indicados con sus conceptos facturados y sus medicamentos marcados como facturables, más el vínculo de factura tal como está guardado. No calcula valores ni estado de facturación: eso lo hace el orquestador.","operationId":"buscarAtencionesFacturables","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtencionesFacturablesRequest"}}},"required":true},"responses":{"400":{"description":"Solicitud inválida","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Atenciones facturables de los pacientes","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AtencionFacturableResponse"}}}}}}}},"/api/v1/historiaclinica/antecedentes/patologico":{"post":{"tags":["Antecedentes"],"summary":"Crear Antecedente Patológico","description":"**HU-013 / Azure #14049** Todos los campos clínicos son opcionales: `cirugiaHospitalizacion`, `fecha`, `medicacion`. El tercero debe existir en el esquema del cliente. ","operationId":"crearAntecedentePatologico","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedentePatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Antecedente patológico creado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/no-patologico":{"post":{"tags":["Antecedentes"],"summary":"Crear Antecedente No Patológico","description":"**HU-015 / Azure #14059** Los campos ENUM solo aceptan los valores definidos → HTTP 400 si valor inválido. ","operationId":"crearAntecedenteNoPatologico","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteNoPatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Antecedente no patológico creado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/familiar":{"post":{"tags":["Antecedentes"],"summary":"Crear Antecedente Familiar","description":"**HU-014 / Azure #14054** `tipoFamiliar` debe ser uno de: `PADRE`, `MADRE`, `ABUELO`, `ABUELA` → HTTP 400 si valor inválido. ","operationId":"crearAntecedenteFamiliar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteFamiliarRequest"}}},"required":true},"responses":{"400":{"description":"Error de validación: ENUM inválido, campo null, longitud superada, valor fuera de rango","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Antecedente familiar creado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/alergias-paciente":{"post":{"tags":["Alergias"],"summary":"Registrar Alergia de Paciente","description":"**HU-012 / Azure #14041** `idAlergia` debe existir en `bienvenida.HistoriaClinica_Alergias` (FK dentro del mismo esquema). El tercero debe existir en la tabla `terceros` del esquema del cliente. `tenant_id` proviene del contexto de seguridad. ","operationId":"crearAlergiaPaciente","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlergiaPacienteRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"201":{"description":"Alergia de paciente registrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}},"404":{"description":"Tercero o alergia no encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/adjuntos/documentos-clinicos/{id}/listar":{"post":{"tags":["Adjuntos de atención"],"summary":"Listar paginado todos los adjuntos de una historia clínica","description":"Devuelve los adjuntos de todas las atenciones del paciente, con la fecha de la atención de origen y el profesional que la atendió. El search actúa sobre el nombre del archivo y la descripción.","operationId":"listarDocumentosClinicos","parameters":[{"name":"id","in":"path","description":"ID de la historia clínica","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Página de adjuntos","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponseAdjuntoDocumentoClinicoResponse"}}}},"404":{"description":"Historia clínica no encontrada","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historia-clinica/completo/atenciones":{"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearAtencionCompleta_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAtencionCompletaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/grupos-sanguineos-paciente":{"post":{"tags":["rest-historia-clinica-grupos-sanguineos-api"],"operationId":"crearGrupoSanguineoPaciente_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/formasDePago/listarFormaPagoDocumento":{"post":{"tags":["Globales"],"summary":"Listar formas de pago","description":"<div id='DatosCrear'><p>Listar formas de pago</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/formasDePago/listarFormaPagoDocumento</div>Lista las formas de pago disponibles para asignar a los documentos de compras y ventas.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    codigo: String<br>    nombre: String<br>    senManejaCupoCredito: boolean<br>  }<br>]</pre></div>","operationId":"listarFormasPago","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/fichaPersonal/datosBasicos":{"post":{"tags":["Ficha personal"],"summary":"Registrar datos basico","description":"<div id='DatosCrear'><p>Registrar datos basico</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/fichaPersonal/datosBasicos</div>Servicio para registrar y editar los datos b&aacute;sicos en la ficha personal.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"idTercero\":1111,<br>    \"fechaNacimiento\":\"1990-12-23\",<br>    \"idLugarNacimiento\":2,<br>    \"idGenero\":2,<br>    \"idEstadoCivil\":6,<br>    \"libretaMilitar\":\"112233\",<br>    \"senExtranjero\":true,<br>    \"senNacionalResidenteExterior\":false,<br>    \"idBanco\":32,<br>    \"idTipoCuenta\":1,<br>    \"numeroCuenta\":\"111222333\",<br>    \"idFormaPago\":38<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>{<br>  \"id\": integer,<br>  \"idTercero\": integer,<br>  \"fechaNacimiento\": \"Date\",<br>  \"idLugarNacimiento\": integer,<br>  \"idGenero\": integer,<br>  \"idEstadoCivil\": integer,<br>  \"libretaMilitar\": \"String\",<br>  \"senExtranjero\": boolean,<br>  \"senNacionalResidenteExterior\": boolean,<br>  \"idBanco\": integer,<br>  \"idTipoCuenta\": integer,<br>  \"numeroCuenta\": \"String\",<br>  \"idFormaPago\": integer<br>}</pre></div>","operationId":"datosBasicos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatosBasicosApiPojo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageImpl"}}}}}}},"/api/v1/empresas/listarEmpresas":{"post":{"tags":["Globales"],"summary":"Listar empresas","description":"<div id='DatosCrear'><p>Listar empresas</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/empresas/listarEmpresas</div>Lista las empresas registradas en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    nombre: String<br>    identificacion: String<br>    prefijo: String<br>  }<br>]</pre></div>","operationId":"listarEmpresas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/documentosTipos/listarTipoDocumento":{"post":{"tags":["Globales"],"summary":"Listar tipos de documento","description":"<div id='DatosCrear'><p>Listar tipos de documentos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentosTipos/listarTipoDocumento</div>Listar los tipos de documento que se utilizaran para la creaci&oacute;n de documentos.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 20,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigoDocumento: String,<br>    nombreDocumento: String<br>  }<br>]</pre></div>","operationId":"listarTipoDocumento","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentosTipos/listarPrefijoDocumento":{"post":{"tags":["Globales"],"summary":"Listar prefijos de documento","description":"<div id='DatosCrear'><p>Listar los prefijos de documentos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentosTipos/listarPrefijoDocumento</div>Listar los prefijos de documento que se utilizaran para la creaci&oacute;n de documentos.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [<br>        {<br>            \"atributo\": \"codigoDocumento\",<br>            \"valor\": \"\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 0,<br>            \"nombreColumna\": null,<br>            \"valores\": [\"RC\"],<br>            \"clase\": \"documentoTipoes\",<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        }<br>    ],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: String,<br>    descripcion: String<br>  }<br>]</pre></div>","operationId":"listarPrefijoDocumento","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/listarDocumentoVenta":{"post":{"tags":["Ventas"],"summary":"Listar documentos de venta","description":"<div id='DatosCrear'><p>Listar documentos de venta</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/listarDocumentoVenta</div>Lista la informaci&oacute;n de los documentos de venta registrados en el sistema, es obligatorio que ingrese en el campo valor del objetofiltro el tipo de documento a listar ejemplo: FV,NDV,NCV,CZ,REM,PD.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/listarDocumentoVenta</b><br><pre>{<br>    \"columnaOrdenar\": \"fecha,id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 19,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [<br>       {<br>            \"atributo\": \"documentoTipo.codigoDocumento\",<br>            \"valor\": \"PD\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 0,<br>            \"nombreColumna\": null,<br>            \"valores\": null,<br>            \"clase\": null,<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        },<br>        {<br>            \"atributo\": \"moneda.id\",<br>            \"valor\": \"31\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 4,<br>            \"nombreColumna\": null,<br>            \"valores\": null,<br>            \"clase\": null,<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        }<br>    ],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>content: [<br>  {<br>  \"id\": integer,<br>  \"prefijo\": string,<br>  \"motivo\": string,<br>  \"idPrefijo\": integer,<br>  \"numero\": integer,<br>  \"fecha\": Date,<br>  \"empresa\": string,<br>  \"idEmpresa\": integer,<br>  \"terceroExterno\": string,<br>  \"primerNombreTerceroExterno\": string,<br>  \"segundoNombreTerceroExterno\": string,<br>  \"primerApellidoTerceroExterno\": string,<br>  \"segundoApellidoTerceroExterno\": string,<br>  \"idTerceroExterno\": integer,<br>  \"terceroInterno\": string,<br>  \"primerNombreTerceroInterno\": string,<br>  \"segundoNombreTerceroInterno:\" string,<br>  \"primerApellidoTerceroInterno\": string,<br>  \"segundoApellidoTerceroInterno\": string,<br>  \"idTerceroInterno\": integer,<br>  \"formaPago\": string,<br>  \"idFormaPago\": integer,<br>  \"concepto\": string,<br>  \"responsable\": string<br>  }<br>]<br></pre></div>","operationId":"listaDocumentosVenta","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"403":{"description":"No se puede consultar estos documentos","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/getRenglonesByDocumentoEncabezado/{id}":{"post":{"tags":["Ventas"],"summary":"Consultar productos de documento de venta","description":"<div id='DatosCrear'><p>Consultar productos del documento de venta</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentos/getRenglonesByDocumentoEncabezado/{id}</div>Obtiene los detalles del documento de venta id ingresado.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/getRenglonesByDocumentoEncabezado/123</b><br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    inventario: {<br>      id: integer,<br>      descripcion: String,<br>      codigo: String,<br>      clasificacion: String,<br>      meses: String,<br>      senManejaLotes: boolean<br>    },<br>    inventarioBodega: {<br>      id: integer,<br>      nombre: String,<br>      senActiva: boolean,<br>      senPredeterminada: boolean,<br>      codigo: String<br>    },<br>    unidadMedida: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean,<br>      unidadMedidaTipo: {<br>        id: integer,<br>        nombre: String<br>      },<br>      unidadMedidaAdministradorImpuestos: {<br>         id: integer,<br>         codigo: String,<br>         descripcion: String,<br>         ubicacionPais: {<br>           id: integer,<br>           nombre: String,<br>           codigo: String,<br>           codAlterno: String<br>         }<br>      },<br>      unidadMedidaBaseId: integer,<br>      factor: number<br>    },<br>    cantidad: integer,<br>    valorUnitario: number,<br>    valorTotalRenglon: number,<br>    porcentajeDescuento: number,<br>    centroCosto: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>    },<br>    tercero: {<br>      id: integre,<br>      nombreCompleto: String,<br>      primerNombre: String,<br>      segundoNombre: String,<br>      primerApellido: String,<br>      segundoApellido: String,<br>    },<br>    concepto: String,<br>    estaCruzado: boolean,<br>    senObsequio: boolean,<br>    lotes: [<br>      {<br>        id: integer,<br>        numero: String,<br>        descripcion: String,<br>        senActivo: boolean,<br>        senVence: boolean,<br>        Date fechaVencimiento:Date,<br>        observacion: String,<br>        TerceroPojo {},<br>        idInventarioLoteDocumentoMovimientoActual: integer,<br>        cantidad: number<br>      }<br>    ],<br>    precio: number,<br>    precioRenglon: number<br>  }<br>]</pre></div>","operationId":"detallesDocumentoVenta","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"403":{"description":"No se puede consultar los detalles de este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/facturaElectronica/{id}":{"post":{"tags":["Ventas"],"summary":"Factura electronica documento venta","description":"<div id='DatosCrear'><p>Factura electronica documento venta por ID</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentos/facturaElectronica</div>Env&iacute;a una factura electr&oacute;nica de un documento de tipo: factura de venta, nota cr&eacute;dito de venta o nota d&eacute;bito de venta.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/facturaElectronica/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>  cufe: string<br>}<br></pre></div>","operationId":"facturaracionElectronicaDocuemntoVenta","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El documento presenta restricciones para su facturacion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"Documento enviado de forma correcta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIResultadoFEPojo"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/dian/{documentId}/reprocess":{"post":{"tags":["rest-documentos-api"],"operationId":"reprocesarDocumentoDian","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RespuestaEnvioDto"}}}}}}},"/api/v1/documentos/dian/{documentId}/eventos-electronicos/reprocess":{"post":{"tags":["rest-documentos-api"],"operationId":"reprocesarEventoElectronico","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RespuestaEnvioDto"}}}}}}},"/api/v1/documentos/crearDocumentoVenta":{"post":{"tags":["Ventas"],"summary":"Crear documento de venta","description":"<div id='DatosCrear'><p>Registra un documento de venta con los siguientes campo: </p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentos/crearDocumentoVenta</div><cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>prefijo</cite> -> ID del prefijo que se puede consultar del servicio listarPrefijoDocumento,<br><cite>concepto</cite> -> Concepto del documento,<br><cite>documentoTipo</cite> -> Codigó de documento que se ingresa (FV -> Factura Venta, NDV -> Nota Debito, NCV -> Nota Credito, CZ -> Cotizacion, REM -> Remision de Ventas, PD -> Pedido, SA -> Salida de almacen),<br><cite>idEmpresa</cite> -> ID empresa registrada,<br><cite>idTerceroExterno</cite> -> ID tercero registrado,<br><cite>idTerceroInterno</cite> -> ID tercero registrado,<br><cite>idFormaPago</cite> -> ID forma de pago registrado,<br><cite>idMoneda</cite> -> ID moneda registrada,<br><cite>idDocumentoMotivosGeneracion</cite> -> Para los documentos de Notas id motivo generación,<br><cite>idClasificacion</cite> -> Para los documentos de Notas id clasificación registrada,<br><cite>porcentajeDescuento</cite> -> Campo booleano <b>Verdadero</b> Si el descuento es calculado por un porcentaje,<br><cite>porcentajeTodosRenglones</cite> -> Campo booleano <b>Verdadero</b> Si el descuento aplica para todos los detalles,<br><cite>valDescuento</cite> -> Valor que se descuenta a los detalles ingresado,<br><dl><dt><cite>renglones</cite> -> Arreglo de los detalles de la factura que se van a registrar,</dt><dd>idInventario -> ID inventario registrado del detalle,</dd><dd>unidadMedida -> Codigo de unidad de medida,</dd><dd>cantidad -> Cantidad del deatlle,</dd><dd>valorUnitario -> Valor unitario del detalle,</dd><dd>valorTotal -> Valor total de detalle,</dd><dd>idBodega -> ID bodega del detalle,</dd><dd>idCentroCosto -> ID centro de costro,</dd><dd>concepto -> Concepto de detalle ,</dd><dd>porDescuento -> porcentaje de descuento del detalle si aplica,</dd></dl><cite>idFactura</cite> -> En caso de que se desee cruzar el documento debe ingresar el ID (Opcional), aplica para documentos tipo NOTA<br><cite>idDetalles</cite> -> Si desea ingresar detalles del documento cruzado, ingrese los ID&#39;s de los detalles que se pueden consultar en el servicio &#39;Consultar productos de documento de venta&#39;(Opcional),<br><br>Petici&oacute;n de servicio:<br><pre>{<br>  fecha: Date,<br>  prefijo: integer,<br>  documentoTipo: String,<br>  idEmpresa: integer,<br>  idTerceroExterno: integer,<br>  idTerceroInterno: integer,<br>  idFormaPago: integer,<br>  idMoneda: integer,<br>  trm: integer,<br>  porcentajeDescuento: boolean,<br>  porcentajeTodosRenglones: boolean,<br>  valDescuento: integer,<br>  reglones: [<br>    {<br>      idInventario: number,<br>      unidadMedida: String,<br>      cantidad: number,<br>      valorUnitario: number,<br>      idBodega: integer,<br>      porDescuento: number,<br>      concepto: String<br>    }<br>  ],<br>  idFactura: integer,<br>  idDetalles: [integer]<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"crearDocumentoVenta","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoEncabezadoPojo"}}},"required":true},"responses":{"400":{"description":"No se puede crear este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede crear este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}}}}},"/api/v1/documentos/contabilizarDocumento/{id}":{"post":{"tags":["Ventas"],"summary":"Contabilizar documento de venta","description":"<div id='DatosCrear'><p>Contabilizar documento de venta por ID</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentos/contabilizarDocumento</div>Contabilizar el ID del documento de venta ingresado.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/contabilizarDocumento/123</b><br></div>","operationId":"contabilizarDocumentoVenta","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El inventarios presenta conflictos para realizar proceso de contabilizar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento contabilizado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede contabilizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/anularDocumento/{id}":{"post":{"tags":["Ventas"],"summary":"Anular documento de venta ","description":"<div id='DatosCrear'><p>Anular docuemento de venta por Id</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentos/anularDocumento</div>Anula el documento de venta del id ingresado.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/anularDocumento/123</b><br></div>","operationId":"anularDocumentoVentaId","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"No es posible anular por regla de negocio o ya se encuentra anulado previamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede anular este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento anulado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentoMotivosGeneracion/listarGeneracion":{"post":{"tags":["Ventas"],"summary":"Listar motivos de generación","description":"<div id='DatosCrear'><p>Listar motivos de generaci&oacute;n</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/documentoMotivosGeneracion/listarGeneracion</div>Consultar los motivos de generaci&oacute;n utilizados para la creaci&oacute;n de documentos tipo Nota Cr&eacute;dito.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"motivo\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"ASC\",<br>    \"filtros\": [<br>    \t{<br>    \t\t\"atributo\": \"ubicacionPais.id\",<br>    \t\t\"valor\": 42,<br>    \t\t\"valor2\": null,<br>    \t\t\"tipoFiltro\": 0,<br>    \t\t\"tipoDato\": 4,<br>    \t\t\"nombreColumna\": null,<br>    \t\t\"valores\": null,<br>    \t\t\"clase\": \"ubicacionPais\",<br>    \t\t\"operador\": 0,<br>    \t\t\"subGrupo\": \"filtro\"<br>    \t},<br>    \t{<br>    \t\t\"atributo\": \"codigoDocumento\",<br>    \t\t\"valor\": \"\",<br>    \t\t\"valor2\": null,<br>    \t\t\"tipoFiltro\": 0,<br>    \t\t\"tipoDato\": 5,<br>    \t\t\"nombreColumna\": null,<br>    \t\t\"valores\": [\"NDV\"],<br>    \t\t\"clase\": \"documentoTipos\",<br>    \t\t\"operador\": 0,<br>    \t\t\"subGrupo\": \"filtro\"<br>    \t}<br>\t\t],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: string,<br>    motivo: string,<br>  }<br>]<br></pre></div>","operationId":"consultaMotivosVenta","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/dian/invoices/xml":{"post":{"tags":["dian-api-controller"],"operationId":"obtenerXmlFacturasByCufes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObtenerXmlFacturasRequestDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOListString"}}}}}}},"/api/v1/dian/invoices/search":{"post":{"tags":["dian-api-controller"],"operationId":"buscarFacturas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchInvoicesRequestDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOSearchInvoicesResponseDTO"}}}}}}},"/api/v1/dian/documents":{"post":{"tags":["dian-document-controller"],"operationId":"obtenerDocumentosDian","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDianDocumentsRequestDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTODianDocumentsResponseDTO"}}}}}}},"/api/v1/dian/authenticate":{"post":{"tags":["dian-api-controller"],"operationId":"autenticar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DianAuthRequestDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTODianAuthResponseDTO"}}}}}}},"/api/v1/dian/authenticate-company":{"post":{"tags":["dian-api-controller"],"operationId":"autenticarEmpresa","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DianAuthCompanyRequestDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTODianAuthResponseDTO"}}}}}}},"/api/v1/cuentasContables/listarCuentaContable":{"post":{"tags":["Cuentas contables"],"summary":"Listar cuentas contables","description":"<div id='DatosCrear'><p>Listar cuentas contables</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/listarCuentaContable</div>Consulta la información de todas las cuentas contables registradas en el sistema<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    subCuentaContable: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String<br>    },<br>    cuentaContableTipo: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String,<br>      cuentaContableNaturaleza: String<br>    },<br>    cuentaContableGrupo: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String,<br>      senRetencion: boolean,<br>      impuesto: String<br>    },<br>    senVisible: boolean,<br>    senActivo: boolean,<br>    senDetalleTercero: boolean,<br>    senManejaCentroCosto: boolean,<br>    senAutoretencion: boolean<br>  }<br>]</pre></div>","operationId":"listarCuentasContables","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/cuentasContables/crearCuentaContable":{"post":{"tags":["Cuentas contables"],"summary":"Crear cuenta contable","description":"<div id='DatosCrear'><p>Registra una nueva cuenta contable</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/crearCuentaContable</div><cite>codigo</cite> -> Codigó de la cuenta contable,<br><cite>nombre</cite> -> Nombre de la cuenta contable,<br><cite>idSubCuentaContable</cite> -> Id subcuenta contable,<br><cite>idCuentaContableTipo</cite> -> Id Tipo cuenta cotable,<br><cite>idCuentaContableGrupo</cite> -> Id grupo cuenta contable,<br><cite>senVisible</cite> -> Campo booleano <b>Verdadero</b> si la cuenta es visible,<br><cite>senActivo</cite> -> Campo booleano <b>Verdadero</b> si la cuenta esta activa,<br><cite>senDetalleTercero</cite> -> Campo booleano,<br><cite>senManejaCentroCosto</cite> -> Campo booleano <b>Verdadero</b> si maneja centro de costo,<br><cite>senAutoretencion</cite> -> Campo booleano <b>Verdadero</b> si tiene auto retencion,<br><cite>idCuentaContableConcepto</cite> -> Id concepto cuenta contable,<br><cite>idConceptoRetencion</cite> -> Id concepto de retencion<br>}<br><br>Petici&oacute;n de servicio:<br><pre>{  codigo: \"14351004\",<br>  nombre: \"Test\",<br>  idSubCuentaContable: 878,<br>  idCuentaContableTipo: 10,<br>  idCuentaContableGrupo: 2,<br>  senVisible: true,<br>  senActivo: true,<br>  senDetalleTercero: true,<br>  senManejaCentroCosto: true,<br>  senAutoretencion: true,<br>  idCuentaContableConcepto: 5,<br>  idConceptoRetencion:54<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    subCuentaContable: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String<br>    },<br>    cuentaContableTipo: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String,<br>      cuentaContableNaturaleza: String<br>    },<br>    cuentaContableGrupo: {<br>      id: integer,<br>      codigo: String,<br>      nombre: String,<br>      senRetencion: boolean,<br>      impuesto: String<br>    },<br>    senVisible: boolean,<br>    senActivo: boolean,<br>    senDetalleTercero: boolean,<br>    senManejaCentroCosto: boolean,<br>    senAutoretencion: boolean<br>  }<br>]</pre></div>","operationId":"crearCuentaContable","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearCuentaContablePojo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPICuentaContablePojo"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/{documentoId}/asiento":{"post":{"tags":["Contabilidad"],"summary":"Crear Asiento contable","description":"<div id='DatosCrear'><p>Crear Asiento contable</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/{documentoId}/asiento</div>Este servicio permite crear uno o varios asientos contables para un documento de tipo Recibo de Caja, Comprobante de Egreso o Nota de Contabilidad. En la URL correspondiente, se debe proporcionar el ID del documento al que se asociarán los asientos contables.<dl><dt><cite>asientos</cite> -> Arreglo de asientos contables que se registran a docuemnto contable</dt><dd>cuentaContableId -> Id cuenta contable,</dd><dd>terceroId -> Id tercero,</dd><dd>concepto -> Concepto del asiento contable,</dd><dd>valorDebito -> Valor debito,</dd><dd>valorCredito -> Valor credito,</dd><dd>centroCostosId -> Id centro de costos,</dd><dd>fechaVencimiento -> Fecha de vencimiento formato YYYY-MM-DD,</dd><dd>retencionBase -> base de la retencion,</dd><dd>retencionPorcentaje -> Porcentaje de retencion,</dd><dd><dl><dt><cite>formaPago</cite> -> Datos de la forma de pago</dt><dd>formaPagoId:  -> Id forma de pago,</dd><dd>numeroDocumento -> numero de docuemnto,</dd><dd>fechaVencimiento -> Fecha de vencimiento formato YYYY-MM-DD,</dd><dd>terceroId -> Id tercero</dd></dl></dd></dl>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/123/asiento</b><br><pre>\"asientos\": [<br>  {<br>    \"cuentaContableId\": 1,<br>    \"terceroId\": 123,<br>    \"concepto\": \"Test CONCEPTO\",<br>    \"valorDebito\": 200000,<br>    \"valorCredito\": 0,<br>    \"centroCostosId\": 245,<br>    \"fechaVencimiento\": \"2023-04-24\",<br>    \"retencionBase\": 0,<br>    \"retencionPorcentaje\": 0,<br>    \"formaPago\": {<br>        \"formaPagoId\": 1,<br>        \"numeroDocumento\": \"123456\",<br>        \"fechaVencimiento\": \"2023-04-24\",<br>        \"terceroId\": 1<br>    }<br>  }<br>]</pre>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"crearAsientoContable","parameters":[{"name":"documentoId","in":"path","description":"ID de documento contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAsientoApiPojo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"502":{"description":"Error de correo electronico","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Se creo el asiento contable exitosamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIVoid"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/listarFormasPagoContable":{"post":{"tags":["Contabilidad"],"summary":"Consultar formas de pago contable","description":"<div id='DatosCrear'><p>Listar tipos de forma de pago</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/listarFormasPagoContable</div>Permite consultar las formas de pago disponibles para asignar a los asientos contables.Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    codigo: String<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"listarFormasPago_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/contabilidad/listarDocContable":{"post":{"tags":["Contabilidad"],"summary":"Listar documentos contables","description":"<div id='DatosCrear'><p>Listar documentos contables</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/listarDocContable</div>Lista los documentos contables registrados en el sistema, es obligatorio que ingrese en el campo valor del objetofiltro el tipo de documento a listar ejemplo:   RC -> Recibo de caja, NC -> Nota de contabilidad, CE -> Comprobante de Egreso, NO -> Nomina , DP -> Depreciación. <br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"ASC\",<br>    \"filtros\": [<br>        {<br>            \"atributo\": \"documentoTipo.codigoDocumento\",<br>            \"valor\": \"RC\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 0,<br>            \"nombreColumna\": null,<br>            \"valores\": null,<br>            \"clase\": null,<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        }<br>    ],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    prefijo: String,<br>    idPrefijo: integer,<br>    numero: integer,<br>    fecha: Date,<br>    empresa: String,<br>    idEmpresa: integer,<br>    terceroExterno:String,<br>    primerNombreTerceroExterno: String,<br>    segundoNombreTerceroExterno: String,<br>    primerApellidoTerceroExterno: String,<br>    segundoApellidoTerceroExterno: String,<br>    idTerceroExterno: integer,<br>    terceroInterno: String,<br>    primerNombreTerceroInterno: String,<br>    segundoNombreTerceroInterno: String,<br>    primerApellidoTerceroInterno: String,<br>    segundoApellidoTerceroInterno: String,<br>    idTerceroInterno: integer,<br>    formaPago: String,<br>    idFormaPago: integer,<br>    concepto: String,<br>    responsable: String<br>  }<br>]<br></pre></div>","operationId":"listarRecibosContables","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"403":{"description":"No se puede consultar estos documentos","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/cuentasPorCobrar/{encabezadoId}/{terceroId}":{"post":{"tags":["Contabilidad"],"summary":"Consultar cuentas por pagar y cobrar","description":"<div id='DatosCrear'><p>Consultar cuentas por pagar y cobrar</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/cuentasPorCobrar/{encabezadoId}/{terceroId}</div>Consulta la informaci&oacute;n de las cuentas de pago registradas en el sistema, recibiendo como par&aacute;metro el ID del documento y el ID de un tercero, el tercero ID puede ser diferente al tercero especificado en el encabezado del documento contable.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>data: {<br>  total: numeric,<br>  documentosMovimientosContablesCruces: {<br>    content: [<br>      {<br>      id: integer,<br>      cuentaContable: {<br>        id: integer,<br>        codigo: String,<br>        nombre: String,<br>        cuentaContableTipo: {<br>          id: integer,<br>          codigo: String,<br>          nombre: String,<br>          cuentaContableNaturaleza: String<br>        }<br>      },<br>      concepto: String,<br>      direccion: String,<br>      sucursal: String,<br>      saldo: numeric,<br>      saldoOtraMoneda: numeric,<br>      centroCosto: {<br>        id: integer,<br>        codigo: String,<br>        nombre: String,<br>      },<br>      abona: String,<br>      fecha: Date,<br>      monedaPojo: {<br>        id: integer,<br>        codigo: String,<br>        nombre: String,<br>        separadorDecimales: String,<br>        separadorMiles: String,<br>        cantidadDecimales: integre,<br>        simbolo: String,<br>        tieneTRM: boolean<br>      },<br>      formaPago: String<br>      },<br>    ],<br>  }<br>}<br></pre></div>","operationId":"consultaCuentasPagar","parameters":[{"name":"encabezadoId","in":"path","description":"ID de documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123},{"name":"terceroId","in":"path","description":"ID del tercero","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/crearDocContable":{"post":{"tags":["Contabilidad"],"summary":"Crear documento contable","description":"<div id='DatosCrear'><p>Crear documento contable</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/crearDocContable</div>La petición debe incluir en su body la fecha de creación del documento, el ID de la empresa a la que se desea asociar el documento, el ID del tercero receptor y un ID prefijo opcional. Por favor, asegúrese de proporcionar toda la información necesaria para que el proceso sea completado correctamente<cite>documentoTipo</cite> -> Codigo tipo documento que se quiere registrar (RC -> RECIBO DE CAJA, NC -> NOTA DE CONTABILIDAD, CE -> COMPROBANTE DE EGRESO, CV -> COSTOS DE VENTAS, NO -> Nomina, DP -> Depreciación)<cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>empresaId</cite> -> Id empresa,<br><cite>terceroId</cite> -> Id tercero,<br><cite>prefijoId</cite> -> Id prefijo,<br><cite>concepto</cite> -> Concepto a registrar,<br><cite>asientos</cite> -> Arreglo de asientos contables <br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/crearDocContable</b><br><pre>{<br>  documentoTipo: NC,<br>  fecha: 2023-05-05,<br>  empresaId: 1,<br>  terceroId: 1111,<br>  prefijoId: 1,<br>  concepto: NOTA DE CONTABILIDAD,<br>  asientos: []<br>}</pre><br>Respuesta en el contenido de la petici&oacute;n:<br><pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  }<br>  documentoTipo: {<br>    id: integer<br>    codigoDocumento: string<br>    nombreDocumento: string<br>  }<br>  empresa: {<br>    id: integer<br>    nombre: string<br>    prefijo: string<br>    identificacion: string<br>    digitoVerificacion: integer<br>    digitoVerificacionGenerado: boolean<br>    senPrincipal: boolean<br>    numeroEstablecimientos: integer<br>    tercero: {<br>      id: integer<br>      terceroTipoIdentificacion: {<br>        id: integer<br>        abreviatura: string<br>        nombre: string<br>        codigo: string<br>        senEsEmpresa: boolean<br>        senManejaDV: boolean<br>        ubicacionPais: {<br>          id: integer<br>          nombre: string<br>          codigo: string<br>          codAlterno: string<br>        }<br>      }<br>      identificacion: string<br>      digitoVerificacion: integer<br>      digitoVerificacionGenerado: boolean<br>      primerNombre: string<br>      segundoNombre: string<br>      primerApellido: string<br>      segundoApellido: string<br>      nombreCompleto: string<br>      ciudad: {<br>        id: integer<br>        nombre: string<br>        codigo: string<br>        senSistema: boolean<br>        ubicacionDepartamento: {<br>          id: integer<br>          nombre: string<br>          codigo: string<br>          senSistema: boolean<br>          ubicacionPais: {<br>            id: integer<br>            nombre: string<br>            codigo: string<br>            codAlterno: string<br>          }<br>        }<br>      }<br>      codigo: string<br>      senActivo: boolean<br>      senManejaNomina: boolean<br>      atributos: boolean<br>      tarifaICA: integer<br>      aplicaICAVentas: boolean<br>      terceroTipos: [<br>        {<br>          id: integer<br>          codigo: string<br>          nombre: string<br>        }<br>      ]<br>    }<br>    ubicacionCiudad: {<br>      id: integer<br>      nombre: string<br>      codigo: string<br>      senSistema: boolean<br>      ubicacionDepartamento: {<br>        id: integer<br>        nombre: string<br>        codigo: string<br>        senSistema: boolean<br>        ubicacionPais: {<br>          id: integer<br>          nombre: string<br>          codigo: string<br>          codAlterno: string<br>        }<br>      }<br>    }<br>    infoTributariaAdicional: string<br>    responsabilidadFiscal: [<br>      {<br>        id: integer<br>        codigo: string<br>        significado: string<br>      }<br>    ]<br>  }<br>  terceroExterno: {<br>    id: integer<br>    nombreCompleto: string<br>    primerNombre: string<br>    segundoNombre: string<br>    primerApellido: string<br>    segundoApellido: string<br>    terceroTipoIdentificacion: string<br>    identificacion: string<br>    terceroTipoContribuyente: string<br>    terceroClasificacionAdministradorImpuesto: string<br>    terceroTipos: [<br>      {<br>        id: integer<br>        codigo: string<br>        nombre: string<br>      }<br>    ]<br>    senCupoCredito: boolean<br>    terceroVendedorPredeterminado: {<br>      id: integer<br>      nombreCompleto: string<br>      primerNombre: string<br>      segundoNombre: string<br>      primerApellido: string<br>      segundoApellido: string<br>      terceroTipoIdentificacion: string<br>      identificacion: string<br>    }<br>    formaPagoPredeterminada: {<br>      id: integer<br>      codigo: string<br>      nombre: string<br>      senManejaCupoCredito: boolean<br>    }<br>    listaPrecioPredeterminada: {<br>      id: integer<br>      nombre: string<br>    }<br>  }<br>  terceroInterno: {<br>    id: integer<br>    nombreCompleto: string<br>    primerNombre: string<br>    segundoNombre: string<br>    primerApellido: string<br>    segundoApellido: string<br>    terceroTipoIdentificacion: string<br>    identificacion: string<br>  }<br>  direccionTerceroExterno: {<br>    id: integer<br>    direccion: string<br>    ciudad: string<br>    telefonoPrincipal: string<br>    sucursal: string<br>    senPrincipal: boolean<br>  }<br>  formaPago: {<br>    id: integer<br>    codigo: string<br>    nombre: string<br>    senManejaCupoCredito: boolean<br>  }<br>  moneda: {<br>    id: integer<br>    codigo: string<br>    nombre: string<br>    separadorDecimales: string<br>    separadorMiles: string<br>    cantidadDecimales: integer<br>    simbolo: string<br>    tieneTRM: boolean<br>  }<br>  concepto: string<br>  trm: integer<br>  senContabilizado: boolean<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer<br>      codigo: String<br>      nombre: string<br>    }<br>  ]<br>  numeroExterno: string<br>  prefijoExterno: string<br>  docAsociado: {<br>    id: integer<br>    prefijo: {<br>      id: integer<br>      nombre: string<br>      descripcion: string<br>    }<br>    numero: integer<br>    fecha: string<br>    moneda: {<br>      id: integer<br>      codigo: string<br>      nombre: string<br>      separadorDecimales: string<br>      separadorMiles: string<br>      cantidadDecimales: integer<br>      simbolo: string<br>      tieneTRM: boolean<br>    }<br>    documentoTipo: {<br>      id: integer<br>      codigoDocumento: string<br>      nombreDocumento: string<br>    }<br>    trm: integer<br>    versionFe: integer<br>    cufe: string<br>  }<br>  documentoMotivoGeneracion: {<br>    id: integer<br>    codigo: string<br>    motivo: string<br>  }<br>  documentoTipoNotaCredito: {<br>    id: integer<br>    codigo: strin<br>    tipoNotaCredito: string<br>    efectoEnInventario: integer<br>  }<br>  tieneRenglones: boolean<br>  senGenerado: boolean<br>  elaboradoPor: {<br>    id: integer<br>    nombres: string<br>  }<br>  tieneResolucionElectronica: boolean<br>  atributosRequeridos: boolean<br>  atributosEncabezado: boolean<br>  atributosRenglones: boolean<br>  historialPrefijoPos: {<br>    numero: integer<br>    nombrePrefijo: string<br>  }<br>}<br></pre></div>","operationId":"crearRegistroContable","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoRecaudosAPI"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Se creo el documento contable exitosamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/contabilizaciones":{"post":{"tags":["Contabilidad"],"summary":"Consultar conbilizaciones","description":"<div id='DatosCrear'><p>Consultar conbilizaciones</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/contabilizaciones</div>Consulta la informacion basica de las contabilizaciones registradas en el sistema<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    codigo: String<br>    nombre: String<br>  }<br>]</pre></div>","operationId":"consultarContabilizaciones","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"403":{"description":"No se puede consultar la contabilidad","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/asientos/{documentoId}":{"post":{"tags":["Contabilidad"],"summary":"Consultar asientos contables","description":"<div id='DatosCrear'><p>Consultar asientos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/asientos/{documentoId}</div>Este servicio permite consultar los asientos contables creados para un documento de tipo recibo de Caja, Comprobante de Egreso o Nota de Contabilidad, a través del ID correspondiente del documento. Para realizar la consulta, es necesario proporcionar el ID del documento contable.Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>    content: [<br>      {<br>      id: integer,<br>      valorDebito: numeric,<br>      valorCredito: numeric,<br>      valorDebitoLocal: numeric,<br>      valorCreditoLocal: numeric,<br>      monedaPojo: {<br>        id: integer,<br>        codigo: String,<br>        nombre: String,<br>        separadorDecimales: String,<br>        separadorMiles: String,<br>        cantidadDecimales: integre,<br>        simbolo: String,<br>        tieneTRM: boolean<br>      },<br>      trm: numeric,<br>      concepto: String,<br>      fechaVencimiento: Date,<br>      retencionBase: numeric,<br>      retencionPorcentaje: numeric,<br>      retencionValorPago: numeric,<br>      centroCosto: {<br>          id: integer,<br>          codigo: String,<br>          nombre: String,<br>      },<br>      cuentaContable: {<br>        id: integer,<br>        codigo: String,<br>        nombre: String,<br>        cuentaContableTipo: {<br>          id: integer,<br>          codigo: String,<br>          nombre: String,<br>          cuentaContableNaturaleza: String<br>        }<br>      },<br>      terceroInterno: {<br>          id: integer,<br>          nombreCompleto: String,<br>          primerNombre: String,<br>          segundoNombre: String,<br>          primerApellido: String,<br>          segundoApellido: String<br>      },<br>      terceroExterno: {<br>          id: integer,<br>          nombreCompleto: String,<br>          primerNombre: String,<br>          segundoNombre: String,<br>          primerApellido: String,<br>          segundoApellido: String<br>      },<br>      direccion: {<br>          id: integer,<br>          direccion: String,<br>          ciudad: String,<br>          telefonoPrincipal: String,<br>          sucursal: String,<br>          senPrincipal: boolean<br>      },<br>      senRetencion: boolean,<br>      abonaA: String,<br>      senGenerado: boolean,<br>      filtroTercerosRenglonesCCR: boolean,<br>      vieneDeCruce: boolean,<br>      isRetencionIVA: boolean<br>      },<br>    ],<br></pre></div>","operationId":"listarAsientos","parameters":[{"name":"documentoId","in":"path","description":"ID de documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/anularDocumento/{documentoId}":{"post":{"tags":["Contabilidad"],"summary":"Anular documento contable","description":"<div id='DatosCrear'><p>Anular documento contable</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/anularDocumento/{documentoId}</div>El servicio de anulaci&oacute;n permite cancelar un documento previamente registrado en el sistema.Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/anularDocumento/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre><div>","operationId":"anularDocumentoContable","parameters":[{"name":"documentoId","in":"path","description":"ID documento contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Se realiza el proceso de forma exitosa","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"502":{"description":"Error de correo electronico","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/configuracion-proveedor-dian/batch":{"post":{"tags":["configuracion-proveedor-dian-controller"],"operationId":"insertarMultiples","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConfiguracionProveedorDianDTO"}}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOListConfiguracionProveedorDianDTO"}}}}}}},"/api/v1/configuracion-dian-empresa":{"post":{"tags":["configuracion-dian-empresa-controller"],"operationId":"crear_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfiguracionDianEmpresaDTO"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOConfiguracionDianEmpresaDTO"}}}}}}},"/api/v1/compra/listarDocumentoCompra":{"post":{"tags":["Compras"],"summary":"Listar documentos de compra","description":"<div id='DatosCrear'><p>Lista de documentos de compras</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/compra/listarDocumentoCompra</div>Consulta la información de las compras registradas en el sistema, es obligatorio que ingrese en el campo valor del objetofiltro el tipo de documento a listar ejemplo: FC -> Factura Compra, REMC -> Remision de Compra, OC -> Orden Compra, DREMC -> Devoluciones de Remisiones de Compra, NDC -> Nota Débito de Compra, NCC -> Notas Crédito de Compra<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 1,<br>    \"orden\": \"ASC\",<br>    \"filtros\": [<br>        {<br>            \"atributo\": \"documentoTipo.codigoDocumento\",<br>            \"valor\": \"FC\",<br>            \"valor2\": null,<br>            \"tipoFiltro\": 0,<br>            \"tipoDato\": 0,<br>            \"nombreColumna\": null,<br>            \"valores\": null,<br>            \"clase\": null,<br>            \"operador\": 0,<br>            \"subGrupo\": \"filtro\"<br>        }<br>    ],<br>    \"canal\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:Petici&oacute;n de servicio:<br><pre>content: [<br>  {<br>    id: integer,<br>    prefijo: String,<br>    idPrefijo: integer,<br>    numero: String,<br>    fecha: Date,<br>    empresa: String,<br>    idEmpresa: integer,<br>    terceroExterno: String,<br>    primerNombreTerceroExterno: String,<br>    segundoNombreTerceroExterno: String,<br>    primerApellidoTerceroExterno: String,<br>    segundoApellidoTerceroExterno: String,<br>    idTerceroExterno: integer,<br>    terceroInterno: String,<br>    primerNombreTerceroInterno: String,<br>    segundoNombreTerceroInterno: String,<br>    primerApellidoTerceroInterno: String,<br>    segundoApellidoTerceroInterno: String,<br>    idTerceroInterno: integer,<br>    formaPago: String,<br>    idFormaPago: integer,<br>    concepto: String,<br>    responsable: String<br>  }<br>]<br></pre></div>","operationId":"listarDocumentoCompra","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No tiene permisos para esta consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/compra/crearCompra":{"post":{"tags":["Compras"],"summary":"Crear documento de compra","description":"<div id='DatosCrear'><p>Crear documento de compra</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/compra/crearCompra</div>Registra el documento de compra ingresado con los siguientes campo:<br><cite>fecha</cite> -> Fecha del documento formato YYYY-MM-DD,<br><cite>prefijo</cite> -> ID del prefijo que se puede consultar del servicio listarPrefijoDocumento,<br><cite>concepto</cite> -> Concepto del documento,<br><cite>documentoTipo</cite> -> Codigó de documento registrado (FC -> Factura Compra, REMC -> Remision de Compra, OC -> Orden Compra, DREMC -> Devoluciones de Remisiones de Compra, NDC -> Nota Débito de Compra, NCC -> Notas Crédito de Compra),<br><cite>idEmpresa</cite> -> ID empresa registrada,<br><cite>idTerceroExterno</cite> -> ID tercero registrado,<br><cite>idTerceroInterno</cite> -> ID tercero registrado,<br><cite>idFormaPago</cite> -> ID forma de pago registrado,<br><cite>idMoneda</cite> -> ID moneda registrada,<br><cite>idDocumentoMotivosGeneracion</cite> -> Para los documentos de Notas id motivo generacion,<br><cite>idClasificacion</cite> -> Para los documentos de Notas id clasificacion registrada,<br><cite>porcentajeDescuento</cite> -> Campo booleano <b>Verdadero</b> Si el descuento es calculado por un porcentaje,<br><cite>porcentajeTodosRenglones</cite> -> Campo booleano <b>Verdadero</b> Si el descuento aplica para todos los detalles,<br><cite>valDescuento</cite> -> Valor que se descuenta a los detalles ingresado,<br><cite>numeroExterno</cite> -> Numero del documento externo del proveedor,<br><cite>prefijoExterno</cite> -> Prefijo del documento externo del proveedor,<br><dl><dt><cite>renglones</cite> -> Arreglo de los detalles de la factura que se van a registrar,</dt><dd>idInventario -> ID inventario registrado del detalle,</dd><dd>unidadMedida -> Codigo de unidad de medida,</dd><dd>cantidad -> Cantidad del detalle,</dd><dd>valorUnitario -> Valor unitario del detalle,</dd><dd>valorTotal -> Valor total de detalle,</dd><dd>idBodega -> ID bodega del detalle,</dd><dd>idCentroCosto -> ID centro de costro,</dd><dd>concepto -> Concepto de detalle ,</dd><dd>porDescuento -> porcentaje de descuento del detalle si aplica,</dd></dl><cite>idFactura</cite> -> En caso de cruce de documento, ID documento a cruzar aplica para documentos tipo nota,<br><cite>idDetalles</cite> -> ID detalles de los movimientos de inventario del documento a cruzar,<br>Petici&oacute;n de servicio:<br><pre>{<br>  fecha: Date,<br>  prefijo: integer,<br>  documentoTipo: String,<br>  idEmpresa: integer,<br>  idTerceroExterno: integer,<br>  idTerceroInterno: integer,<br>  idFormaPago: integer,<br>  idMoneda: integer,<br>  trm: integer,<br>  porcentajeDescuento: boolean,<br>  porcentajeTodosRenglones: boolean,<br>  valDescuento: integer,<br>  reglones: [<br>    {<br>      idInventario: number,<br>      unidadMedida: String,<br>      cantidad: number,<br>      valorUnitario: number,<br>      idBodega: integer,<br>      porDescuento: number,<br>      concepto: String<br>    }<br>  ],<br>  idFactura: integer,<br>  idDetalles: [integer]<br>}</pre><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"crearCompra","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearDocumentoEncabezadoPojo"}}},"required":true},"responses":{"400":{"description":"No se puede crear la compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede crear la compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Registros exito de la compra","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIListaDocumentoEncabezadoPojo"}}}}}}},"/api/v1/compra/contabilizarCompra/{id}":{"post":{"tags":["Compras"],"summary":"Contabilizar documento de compra","description":"<div id='DatosCrear'><p>Contabilizar documento de Compra por ID</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/compra/contabilizarCompra/{id}</div>Contabilizar el ID del documento de compra ingresadoPetici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/contabilizarCompra/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"contabilizarDocumentoCompra","parameters":[{"name":"id","in":"path","description":"ID de documento de compra","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El inventarios presenta conflictos para realizar proceso de contabilizar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede contabilizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"Documento contabilizado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIListaDocumentoEncabezadoPojo"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/compra/anularCompra/{id}":{"post":{"tags":["Compras"],"summary":"Anular documento compra ","description":"<div id='DatosCrear'><p>Anular docuemento de compra por ID</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/compra/anularCompra/{id}</div>Anula el documento de compra del id ingresadoPetici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/anularCompra/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"anularDocumentoCompraId","parameters":[{"name":"id","in":"path","description":"ID de documento de compra","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"No es posible anular por regla de negocio o ya se encuentra anulado previamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento anulado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede anular esta compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/ciudad/listarPaises":{"post":{"tags":["Globales"],"summary":"Listar paises","description":"<div id='DatosCrear'><p>Listar paises</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/ciudad/listarPaises</div>Lista los paises registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"nombre\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 50,<br>    \"orden\": \"ASC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: String,<br>    codigo: String<br>    codAlterno: String,<br>  }<br>]</pre></div>","operationId":"listarPaises","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/ciudad/listarCiudades":{"post":{"tags":["Globales"],"summary":"Listar ciudades","description":"<div id='DatosCrear'><p>Listar ciudades</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/ciudad/listarCiudades</div>Lista las ciudades registradas en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: String,<br>    codigo: String<br>    senSistema: boolean,<br>    ubicacionDepartamento {<br>      id: integer<br>      nombre: String<br>      codigo: String<br>      senSistema: String<br>      ubicacionDepartamento {<br>        id: integer<br>        nombre: String<br>        codigo: String<br>        codAlterno: String<br>      },<br>    },<br>  }<br>]</pre></div>","operationId":"listarCiudades","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}}}}},"/api/v1/centrosDeCosto/listarCentroCosto":{"post":{"tags":["Globales"],"summary":"Listar centro de costos","description":"<div id='DatosCrear'><p>Listar centro de costos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/centrosDeCosto/listarCentroCosto</div>Lista los centros de costo registrados en el sistema.<br><br>Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    nombre: String,<br>    codigo: String,<br>    folder: boolean,<br>    senActivo: boolean,<br>    borrador: boolean<br>  }<br>]</pre></div>","operationId":"listarCentrosCosto","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"No se logró realizar la consulta con los datos ingresados","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}}}}},"/api/v1/centrosDeCosto/crearCentroCosto":{"post":{"tags":["Globales"],"summary":"Crear centro de costos","description":"<div id='DatosCrear'><p>Crear centro de costos</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/centrosDeCosto/crearCentroCosto</div>Proceso para registrar un centro de costo nuevo en el sistema.<br><br>Si el proceso de crear el centro de costo se debe realizar sobre un padre, incluir el parametro id, para asociar el centro de costo, si esta registrando un centro de costo padre no requiere ingresar id en la petici&oacute;n<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/centrosDeCosto/crear?nombre=209&#38;codigo=209&#38;id=123</b><br><br>Respuesta en el data de la petici&oacute;n con el centro de costo padre:<pre>data: {<br>  id: integer,<br>  nombre: String,<br>  codigo: String<br>  folder: boolean,<br>  senActivo: boolean<br>  borrador: boolean<br>}</pre></div>","operationId":"crearCentroCosto","parameters":[{"name":"id","in":"query","description":"Id del padre al que se asocia el centro de costos hijo, en caso contrario no enviar","required":false,"schema":{"type":"integer","format":"int64","default":0},"example":"id=123"},{"name":"nombre","in":"query","description":"Nombre del centro de costo","required":true,"schema":{"type":"string"},"example":"nombre= centro costos wo-api"},{"name":"codigo","in":"query","description":"C&oacute;digo del centro de costo","required":true,"schema":{"type":"string"},"example":"codigo= 2023,"}],"responses":{"400":{"description":"Error al crear el centro de costos hijo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"201":{"description":"Se creo satisfactoriamente el centro de costos","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPICentroCostoPojo"}}}}}}},"/api/v1/bodegas/listarBodega":{"post":{"tags":["Inventario"],"summary":"Listar bodegas","description":"<div id='DatosCrear'><p>Consulta bodegas</p><div id='post'><span></span>https://api.worldoffice.cloud/api/v1/bodegas/listarBodega</div>Lista las bodegas registradas en el sistema.Petici&oacute;n de servicio:<br><pre>{<br>    \"columnaOrdenar\": \"id\",<br>    \"pagina\": 0,<br>    \"registrosPorPagina\": 10,<br>    \"orden\": \"DESC\",<br>    \"filtros\": [],<br>    \"canal\": 0,<br>    \"registroInicial\": 0<br>}</pre>Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer<br>    nombre: String<br>    senActiva: boolean<br>    senPredeterminada: boolean<br>    codigo: String<br>  }<br>]</pre></div>","operationId":"listarBodegas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginacionWo"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePagAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/atenciones":{"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearAtencion_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAtencionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AtencionResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/signos-vitales":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"consultarSignosVitales_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SignosVitalesResponse"}}}}}},"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearSignosVitales_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignosVitalesRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SignosVitalesResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/motivo-consulta":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"consultarMotivoConsulta_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MotivoConsultaResponse"}}}}}},"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearMotivoConsulta_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MotivoConsultaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MotivoConsultaResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/formulacion-medica":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"listarFormulacionesMedicas_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FormulacionMedicaResponse"}}}}}}},"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearFormulacionMedica_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormulacionMedicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/facturar":{"post":{"tags":["rest-historia-clinica-facturacion-api"],"operationId":"facturarAtencion","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacturarAtencionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/FacturarAtencionResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/enfermedad-actual":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"consultarEnfermedadActual_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnfermedadActualResponse"}}}}}},"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearEnfermedadActual_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnfermedadActualRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnfermedadActualResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/diagnosticos":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"listarDiagnosticos_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DiagnosticoResponse"}}}}}}},"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearDiagnostico_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DiagnosticoResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/conceptos-facturados":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"listarConceptosFacturados_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConceptoFacturadoResponse"}}}}}}},"post":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"crearConceptoFacturado_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConceptoFacturadoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/atenciones/{atencionId}/adjuntos":{"get":{"tags":["rest-historia-clinica-adjuntos-api"],"operationId":"listarAdjuntos","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdjuntoAtencionResponse"}}}}}}},"post":{"tags":["rest-historia-clinica-adjuntos-api"],"operationId":"registrarAdjuntos","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"tipo_documento","in":"query","required":true,"schema":{"type":"string","enum":["RESULTADO_LABORATORIO","IMAGEN_DIAGNOSTICA","FORMULA_MEDICA","CONSENTIMIENTO_INFORMADO","REMISION_O_INTERCONSULTA","INCAPACIDAD_MEDICA","OTRO"]}},{"name":"descripcion","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["archivos"],"type":"object","properties":{"archivos":{"type":"array","items":{"type":"string","format":"binary"}}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdjuntoAtencionResponse"}}}}}}}},"/api/v1/antecedentes/patologico":{"post":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"crearAntecedentePatologico_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedentePatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/antecedentes/no-patologico":{"post":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"crearAntecedenteNoPatologico_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteNoPatologicoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/antecedentes/familiar":{"post":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"crearAntecedenteFamiliar_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntecedenteFamiliarRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/alergias-paciente":{"post":{"tags":["rest-historia-clinica-alergias-api"],"operationId":"crearAlergiaPaciente_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlergiaPacienteRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/IdResponse"}}}}}}},"/api/v1/agenda/tipos-servicio":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertTipoServicio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearTipoServicioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/tipos-servicio/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listar","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseTipoServicioResponse"}}}}}}},"/api/v1/agenda/servicios":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertServicio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearServicioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}},"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarServicio","parameters":[{"name":"serviciosId","in":"query","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/sedes":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertSede","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearSedeRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/sedes/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarSedes","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseSedeResponse"}}}}}}},"/api/v1/agenda/reservas":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarReserva","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseReservaResponse"}}}}}},"post":{"tags":["rest-agenda-api"],"operationId":"upsertReserva","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearReservaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/recordatorios":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarRecordatorio","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseRecordatorioResponse"}}}}}},"post":{"tags":["rest-agenda-api"],"operationId":"upsertRecordatorio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearRecordatorioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/profesional-servicio":{"post":{"tags":["rest-agenda-api"],"operationId":"crearProfesionalServicio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearProfesionalServicioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseListLong"}}}}}}},"/api/v1/agenda/profesional-servicio/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarProfesionalServicio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseProfesionalServicioAgrupadoResponse"}}}}}}},"/api/v1/agenda/pagos":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarAgendaPagos","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseAgendaPagosResponse"}}}}}},"post":{"tags":["rest-agenda-api"],"operationId":"upsertAgendaPagos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAgendaPagosRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/horarios-profesional-espacio":{"post":{"tags":["rest-agenda-api"],"operationId":"crearHorariosProfesionalEspacio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearHorarioProfesionalEspacioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseListLong"}}}}}},"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarHorarioProfesionalEspacio","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/horarios-profesional-espacio/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarHorariosProfesionalEspacio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseHorarioProfesionalEspacioResponse"}}}}}}},"/api/v1/agenda/horarios-atencion":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertHorarioAtencion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearHorarioAtencionRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/horarios-atencion/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarHorariosAtencion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseHorarioAtencionResponse"}}}}}}},"/api/v1/agenda/facturacion-clinica":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertAgendaFacturacionClinica","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAgendaFacturacionClinicaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/facturacion-clinica/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarAgendaFacturacionClinica","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseAgendaFacturacionClinicaResponse"}}}}}}},"/api/v1/agenda/espacios":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertEspacio","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearEspacioRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/espacios/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarEspacios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseEspacioResponse"}}}}}}},"/api/v1/agenda/configuracion":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarAgenda","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseAgendaResponse"}}}}}},"post":{"tags":["rest-agenda-api"],"operationId":"upsertAgenda","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAgendaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/citas":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertCita","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearCitaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/citas/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarCitas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseCitaResponse"}}}}}}},"/api/v1/agenda/bloqueos":{"post":{"tags":["rest-agenda-api"],"operationId":"upsertBloqueo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearBloqueoRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/bloqueos/listar":{"post":{"tags":["rest-agenda-api"],"operationId":"listarBloqueos","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PaginaResponseBloqueoResponse"}}}}}}},"/api/v1/agenda/autogestion-regla":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarAutogestionRegla","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseAutogestionReglaResponse"}}}}}},"post":{"tags":["rest-agenda-api"],"operationId":"upsertAutogestionRegla","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAutogestionReglaRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/agenda/autogestion-portal":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarAutogestionPortal","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseAutogestionPortalResponse"}}}}}},"post":{"tags":["rest-agenda-api"],"operationId":"upsertAutogestionPortal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrearAutogestionPortalRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseLong"}}}}}}},"/api/v1/adjuntos/documentos-clinicos/{id}/listar":{"post":{"tags":["rest-historia-clinica-adjuntos-api"],"operationId":"listarDocumentosClinicos_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HcPaginableRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/HcPaginaResponseAdjuntoDocumentoClinicoResponse"}}}}}}},"/api/v1/agenda/tipos-servicio/{id}/estado":{"patch":{"tags":["rest-agenda-api"],"operationId":"cambiarEstadoTipoServicio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"activo","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/sedes/{id}/estado":{"patch":{"tags":["rest-agenda-api"],"operationId":"cambiarEstadoSede","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"activo","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/horarios-profesional-espacio/{id}/estado":{"patch":{"tags":["rest-agenda-api"],"operationId":"cambiarEstadoHorarioProfesionalEspacio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"activo","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/espacios/{id}/estado":{"patch":{"tags":["rest-agenda-api"],"operationId":"cambiarEstadoEspacio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"activo","in":"query","required":true,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/citas/{id}/estado":{"patch":{"tags":["rest-agenda-api"],"operationId":"cambiarEstado","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"reservaEstado","in":"query","required":true,"schema":{"type":"string"}},{"name":"motivoCancelacion","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/terceros/identificacion/{identificacion}":{"get":{"tags":["Terceros"],"summary":"Consulta tercero por identificación","description":"<div id='DatosCrear'><p>Consulta tercero por identificación</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/terceros/identificacion</div>Consulta la informaci&oacute;n registrada en el sistema.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/identificacion/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br> id: integer,<br> terceroTipoIdentificacion: {<br>   id: integer,<br>   abreviatura: string,<br>   nombre: string,<br>   codigo: string,<br>   senEsEmpresa: boolean,<br>   senManejaDV: boolean,<br>   ubicacionPais: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     codAlterno: string<br>   }<br> },<br> identificacion: string,<br> digitoVerificacion: integer,<br> digitoVerificacionGenerado: boolean,<br> primerNombre: string,<br> segundoNombre: string,<br> primerApellido: string,<br> segundoApellido: string,<br> nombreCompleto: string,<br> ciudad: {<br>   id: integer,<br>   nombre: string,<br>   codigo: string,<br>   senSistema: boolean,<br>   ubicacionDepartamento: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     senSistema: boolean,<br>     ubicacionPais: {<br>       id: integer,<br>       nombre: string,<br>       codigo: string,<br>       codAlterno: string<br>     }<br>   }<br> },<br> codigo: string,<br> senActivo: boolean,<br> senManejaNomina: boolean,<br> atributos: boolean,<br> tarifaICA: integer,<br> aplicaICAVentas: boolean,<br> terceroTipos: [<br>   {<br>     id: integer,<br>     codigo: string,<br>     nombre: string<br>   }<br> ]<br>}</pre></div>","operationId":"consultarTerceroIdentificacion","parameters":[{"name":"identificacion","in":"path","description":"Identificación del tercero","required":true,"schema":{"type":"string"},"example":79123123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPITerceroPojo"}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/terceros/consultar/{id}":{"get":{"tags":["Terceros"],"summary":"Consultar tercero","description":"<div id='DatosCrear'><p>Consultar tercero</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/terceros/consultar</div>Consulta la información registrada en el sistema, con base en el id recibido<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/consultar/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br> id: integer,<br> terceroTipoIdentificacion: {<br>   id: integer,<br>   abreviatura: string,<br>   nombre: string,<br>   codigo: string,<br>   senEsEmpresa: boolean,<br>   senManejaDV: boolean,<br>   ubicacionPais: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     codAlterno: string<br>   }<br> },<br> identificacion: string,<br> digitoVerificacion: integer,<br> digitoVerificacionGenerado: boolean,<br> primerNombre: string,<br> segundoNombre: string,<br> primerApellido: string,<br> segundoApellido: string,<br> nombreCompleto: string,<br> ciudad: {<br>   id: integer,<br>   nombre: string,<br>   codigo: string,<br>   senSistema: boolean,<br>   ubicacionDepartamento: {<br>     id: integer,<br>     nombre: string,<br>     codigo: string,<br>     senSistema: boolean,<br>     ubicacionPais: {<br>       id: integer,<br>       nombre: string,<br>       codigo: string,<br>       codAlterno: string<br>     }<br>   }<br> },<br> codigo: string,<br> senActivo: boolean,<br> senManejaNomina: boolean,<br> atributos: boolean,<br> tarifaICA: integer,<br> aplicaICAVentas: boolean,<br> terceroTipos: [<br>   {<br>     id: integer,<br>     codigo: string,<br>     nombre: string<br>   }<br> ]<br>}</pre></div>","operationId":"consultarTerceroId","parameters":[{"name":"id","in":"path","description":"ID del tercero","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPITerceroPojo"}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/tarifa-impuesto":{"get":{"tags":["tarifa-impuesto-controller"],"operationId":"obtenerTodas","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOListTarifaImpuestoDTO"}}}}}}},"/api/v1/tarifa-impuesto/tipo/{impuestoTipo}":{"get":{"tags":["tarifa-impuesto-controller"],"operationId":"obtenerPorTipo","parameters":[{"name":"impuestoTipo","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOListTarifaImpuestoDTO"}}}}}}},"/api/v1/prefijos-documentos/configuracion/{configuracionId}":{"get":{"tags":["prefijo-documento-controller"],"operationId":"obtenerPorConfiguracion","parameters":[{"name":"configuracionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOListPrefijoDocumentoDTO"}}}}}}},"/api/v1/pacientes/{idtercero}/resumen-clinico":{"get":{"tags":["rest-historia-clinica-resumen-api"],"operationId":"consultarResumenClinico","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResumenClinicoResponse"}}}}}}},"/api/v1/pacientes/{idtercero}/informacion-clinica":{"get":{"tags":["rest-historia-clinica-pacientes-api"],"operationId":"consultarInformacionClinica","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InformacionClinicaPacienteResponse"}}}}}}},"/api/v1/inventarios/{id}/existencias/empresa":{"get":{"tags":["Inventario"],"summary":"Existencias por Empresa","description":"<div id='DatosCrear'><p>Existencias por empresa</p><div><span></span>https://api.worldoffice.cloud/api/v1/inventarios/123/existencias/empresa</div>Consulta las existencias actuales de un producto en una o varias empresas específicas relacionadas al usuario.<br><br><b>https://api.worldoffice.cloud/api/v1/inventarios/123/existencias/empresa</b><br></div>","operationId":"consultarExistenciasEmpresa","parameters":[{"name":"id","in":"path","description":"ID de inventario","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"Permisos insuficientes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Existencias consultadas correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/{id}/existencias/empresa-bodega":{"get":{"tags":["Inventario"],"summary":"Existencias por Empresa y Bodega","description":"<div id='DatosCrear'><p>Existencias combinadas por empresa y bodega</p><div><span></span>https://api.worldoffice.cloud/api/v1/inventarios/123/existencias/empresa-bodega</div>Consulta las existencias actuales de un producto agrupadas por una o varias empresas y bodegas relacionadas al producto.<br><br><b>https://api.worldoffice.cloud/api/v1/inventarios/123/existencias/empresa-bodega</b><br></div>","operationId":"consultarExistenciasEmpresaBodega","parameters":[{"name":"id","in":"path","description":"ID de inventario","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"Permisos insuficientes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Existencias consultadas correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/{id}/existencias/bodega":{"get":{"tags":["Inventario"],"summary":"Existencias por Bodega","description":"<div id='DatosCrear'><p>Existencias por bodega</p><div><span></span>https://api.worldoffice.cloud/api/v1/inventarios/123/existencias/bodega</div>Consulta las existencias actuales de un producto en una o varias bodegas específicas relacionadas al producto.<br><br><b>https://api.worldoffice.cloud/api/v1/inventarios/123/existencias/bodega</b><br></div>","operationId":"consultarExistenciasBodega","parameters":[{"name":"id","in":"path","description":"ID de inventario","required":true,"schema":{"type":"integer","format":"int64"},"example":12313}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"Permisos insuficientes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Existencias consultadas correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/getDocumentoSalidaAlmacenId/{id}":{"get":{"tags":["Inventario"],"summary":"Consultar documento de salida de almacén","description":"<div id='DatosCrear'><p>Consultar documento de salida de almacén por Id</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/getDocumentoSalidaAlmacenId/</div>Consulta la información del documento de salida de almacén en el sistema por ID.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/getDocumentoSalidaAlmacenId/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"consultarDocumentoSalidaAlmacenId","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/consultaId/{id}":{"get":{"tags":["Inventario"],"summary":"Consultar inventario","description":"<div id='DatosCrear'><p>Consultar inventario</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/consultaId/{inventarioId}</div>Consulta el inventario por el ID ingresado.Respuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    codigoInternacional: String,<br>    descripcion: String,<br>    unidadMedida: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean,<br>      unidadMedidaTipo: {<br>        id: integer,<br>        nombre: String<br>      },<br>      unidadMedidaAdministradorImpuestos: {<br>        id: integer,<br>        codigo: String,<br>        descripcion: String,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: String,<br>          String codigo: String,<br>          String cod_alterno: String<br>        }<br>      },<br>      unidadMedidaBaseId: integer,<br>      factor: number<br>    },<br>    senActivo: boolean,<br>    inventarioClasificacion: {<br>      id: integer,<br>      nombre: String,<br>      senAfectaCostoPromedio: boolean,<br>      senDeSistema: boolean<br>    },<br>    centroCosto: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String<br>    },<br>    grupo: {<br>      id: integer,<br>      codigo: String,<br>      nombreGrupo: String,<br>      folder: boolean,<br>      seleccionado: boolean,<br>      senActivo: boolean,<br>      borrador: boolean<br>    },<br>    contabilizacion: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean<br>    },<br>    senFacturarSinExistencias: boolean,<br>    senManejaSeriales: boolean,<br>    utilidadEstimada: number,<br>    impuestos: [<br>      {<br>        id: integer,<br>        valor: number,<br>        senSumaAlCosto: boolean,<br>        idProceso: integer,<br>        impuesto: {<br>          id: integer,<br>          tipo: String,<br>          nombre: String,<br>          tipoCobro: String,<br>          tarifa: number,<br>          empresas: [integer]<br>        },<br>        empresas: [<br>          {<br>            id: integer,<br>            nombre: String,<br>            prefijo: String,<br>            identificacion: String,<br>            digitoVerificacion: integer,<br>            digitoVerificacionGenerado: boolean,<br>            senPrincipal: boolean,<br>            numeroEstablecimientos: integer,<br>            tercero: {<br>              id: integer,<br>              terceroTipoIdentificacion {<br>                id: integer,<br>                abreviatura: String,<br>                nombre: String,<br>                codigo: String,<br>                senEsEmpresa: boolean,<br>                senManejaDV: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  cod_alterno: String<br>                }<br>              },<br>              identificacion: String,<br>              digitoVerificacion: integer,<br>              digitoVerificacionGenerado: boolean,<br>              primerNombre: String,<br>              segundoNombre: String,<br>              primerApellido: String,<br>              segundoApellido: String,<br>              nombreCompleto: String,<br>              ciudad: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean<br>                ubicacionDepartamento {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  boolean senSistema: boolean<br>                  ubicacionPais: {<br>                    id: integer,<br>                    nombre: String,<br>                    codigo: String,<br>                    cod_alterno: String<br>                  }<br>                },<br>              }<br>              codigo: String,<br>              senActivo: boolean,<br>              senManejaNomina: boolean,<br>              atributos: boolean,<br>              tarifaICA: numeric,<br>              aplicaICAVentas: boolean,<br>              terceroTipos: [<br>                {<br>                  id: integer,<br>                  codigo: String,<br>                  nombre: String<br>                }<br>              ]<br>            },<br>            ubicacionCiudad: {<br>              id: integer,<br>            \t nombre: String,<br>            \t codigo: String,<br>            \t senSistema: String<br>            \t ubicacionDepartamento: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>            \t     cod_alterno: String<br>                }<br>              }<br>            },<br>            infoTributariaAdicional: String,<br>            responsabilidadFiscal: [<br>              {<br>                id: integer,<br>                codigo: String,<br>                significado: String<br>              }<br>            ]<br>          }<br>        ],<br>        inventarioTipoImpuestoVenta: {<br>          id: integer,<br>          nombre: String,<br>          tipo: String,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: String,<br>            codigo: String,<br>            cod_alterno: String<br>          }<br>        },<br>        muestraAlerta: boolean<br>      }<br>    ],<br>    atributos: boolean,<br>    senManejaLotes: boolean<br>  }<br>]</pre></div>","operationId":"consultaInventarioId","parameters":[{"name":"id","in":"path","description":"Identificador del inventario para el cual se va a llevar a cabo la consulta","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIInventarioPojo"}}}},"404":{"description":"Inventario no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/consultaCodigo/{codigo}":{"get":{"tags":["Inventario"],"summary":"Consultar inventario por código","description":"<div id='DatosCrear'><p>Consultar inventario por c&oacute;digo</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/consultaCodigo/{codigo}</div>Consulta la información del inventario registrado en el sistema, con base en el codigó recibidoRespuesta en el contenido de la petici&oacute;n:<pre>content: [<br>  {<br>    id: integer,<br>    codigo: String,<br>    codigoInternacional: String,<br>    descripcion: String,<br>    unidadMedida: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean,<br>      unidadMedidaTipo: {<br>        id: integer,<br>        nombre: String<br>      },<br>      unidadMedidaAdministradorImpuestos: {<br>        id: integer,<br>        codigo: String,<br>        descripcion: String,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: String,<br>          String codigo: String,<br>          String cod_alterno: String<br>        }<br>      },<br>      unidadMedidaBaseId: integer,<br>      factor: number<br>    },<br>    senActivo: boolean,<br>    inventarioClasificacion: {<br>      id: integer,<br>      nombre: String,<br>      senAfectaCostoPromedio: boolean,<br>      senDeSistema: boolean<br>    },<br>    centroCosto: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String<br>    },<br>    grupo: {<br>      id: integer,<br>      codigo: String,<br>      nombreGrupo: String,<br>      folder: boolean,<br>      seleccionado: boolean,<br>      senActivo: boolean,<br>      borrador: boolean<br>    },<br>    contabilizacion: {<br>      id: integer,<br>      nombre: String,<br>      codigo: String,<br>      senDeSistema: boolean<br>    },<br>    senFacturarSinExistencias: boolean,<br>    senManejaSeriales: boolean,<br>    utilidadEstimada: number,<br>    impuestos: [<br>      {<br>        id: integer,<br>        valor: number,<br>        senSumaAlCosto: boolean,<br>        idProceso: integer,<br>        impuesto: {<br>          id: integer,<br>          tipo: String,<br>          nombre: String,<br>          tipoCobro: String,<br>          tarifa: number,<br>          empresas: [integer]<br>        },<br>        empresas: [<br>          {<br>            id: integer,<br>            nombre: String,<br>            prefijo: String,<br>            identificacion: String,<br>            digitoVerificacion: integer,<br>            digitoVerificacionGenerado: boolean,<br>            senPrincipal: boolean,<br>            numeroEstablecimientos: integer,<br>            tercero: {<br>              id: integer,<br>              terceroTipoIdentificacion {<br>                id: integer,<br>                abreviatura: String,<br>                nombre: String,<br>                codigo: String,<br>                senEsEmpresa: boolean,<br>                senManejaDV: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  cod_alterno: String<br>                }<br>              },<br>              identificacion: String,<br>              digitoVerificacion: integer,<br>              digitoVerificacionGenerado: boolean,<br>              primerNombre: String,<br>              segundoNombre: String,<br>              primerApellido: String,<br>              segundoApellido: String,<br>              nombreCompleto: String,<br>              ciudad: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean<br>                ubicacionDepartamento {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>                  boolean senSistema: boolean<br>                  ubicacionPais: {<br>                    id: integer,<br>                    nombre: String,<br>                    codigo: String,<br>                    cod_alterno: String<br>                  }<br>                },<br>              }<br>              codigo: String,<br>              senActivo: boolean,<br>              senManejaNomina: boolean,<br>              atributos: boolean,<br>              tarifaICA: numeric,<br>              aplicaICAVentas: boolean,<br>              terceroTipos: [<br>                {<br>                  id: integer,<br>                  codigo: String,<br>                  nombre: String<br>                }<br>              ]<br>            },<br>            ubicacionCiudad: {<br>              id: integer,<br>            \t nombre: String,<br>            \t codigo: String,<br>            \t senSistema: String<br>            \t ubicacionDepartamento: {<br>                id: integer,<br>                nombre: String,<br>                codigo: String,<br>                senSistema: boolean,<br>                ubicacionPais: {<br>                  id: integer,<br>                  nombre: String,<br>                  codigo: String,<br>            \t     cod_alterno: String<br>                }<br>              }<br>            },<br>            infoTributariaAdicional: String,<br>            responsabilidadFiscal: [<br>              {<br>                id: integer,<br>                codigo: String,<br>                significado: String<br>              }<br>            ]<br>          }<br>        ],<br>        inventarioTipoImpuestoVenta: {<br>          id: integer,<br>          nombre: String,<br>          tipo: String,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: String,<br>            codigo: String,<br>            cod_alterno: String<br>          }<br>        },<br>        muestraAlerta: boolean<br>      }<br>    ],<br>    atributos: boolean,<br>    senManejaLotes: boolean<br>  }<br>]</pre></div>","operationId":"consultarInventarioCodigo","parameters":[{"name":"codigo","in":"path","description":"Codigo de inventario","required":true,"schema":{"type":"string"},"example":"T-004"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIInventarioPojo"}}}}}}},"/api/v1/importacion/plantilla":{"get":{"tags":["wo-importacion-controller"],"operationId":"exportarPlantilla","parameters":[{"name":"tipo_migracion","in":"query","required":true,"schema":{"type":"string","enum":["USUARIOS","PACIENTES","PROFESIONALES","INVENTARIO_CUPS","RIPS_CONSULTAS","RIPS_PROCEDIMIENTOS","RIPS_URGENCIAS","RIPS_HOSPITALIZACIONES","RIPS_RECIEN_NACIDOS","RIPS_MEDICAMENTOS","RIPS_OTROS_SERVICIOS","RIPS_CONSULTAS_DOCUMENTOS","RIPS_PROCEDIMIENTOS_DOCUMENTOS","RIPS_URGENCIAS_DOCUMENTOS","RIPS_HOSPITALIZACIONES_DOCUMENTOS","RIPS_RECIEN_NACIDOS_DOCUMENTOS","RIPS_MEDICAMENTOS_DOCUMENTOS","RIPS_OTROS_SERVICIOS_DOCUMENTOS","SECTOR_SALUD","EDICION_MASIVA_JSON","JSON"]}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/historiaclinica/pacientes/{idtercero}/resumen-clinico":{"get":{"tags":["Resumen Clínico"],"summary":"Consultar el resumen clínico del paciente","description":"Devuelve, sin paginar y con máximo 10 elementos por lista: alertas clínicas (alergias y antecedentes patológicos), diagnósticos activos (HC + RIPS MinSalud), últimos cambios (auditoría por timestamps) y pendientes (recordatorios vigentes). Un paciente sin historia clínica devuelve 200 con las secciones dependientes de HC vacías.","operationId":"consultarResumenClinico_1","parameters":[{"name":"idtercero","in":"path","description":"Identificación del paciente en la tabla terceros del esquema del cliente","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Resumen clínico del paciente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResumenClinicoResponse"}}}}}}},"/api/v1/historiaclinica/pacientes/{idtercero}/informacion-clinica":{"get":{"tags":["Pacientes"],"summary":"Consultar información clínica integral del paciente","description":"Agrega demografía, residencia, contacto, aseguramiento, edad calculada, grupo sanguíneo, alergias y antecedentes (3 tipos). HTTP 404 si el tercero no existe en fe_rips_minsalud_usuario.","operationId":"consultarInformacionClinica_1","parameters":[{"name":"idtercero","in":"path","description":"Identificacion del paciente en la tabla terceros del esquema del cliente","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Información clínica integral del paciente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InformacionClinicaPacienteResponse"}}}},"404":{"description":"Tercero no encontrado en el esquema del cliente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/grupos-sanguineos":{"get":{"tags":["GruposSanguineos"],"summary":"Listar catálogo de grupos sanguíneos","description":"Retorna los 8 grupos sanguíneos ABO/Rh. Sin filtro por licencia.","operationId":"listarCatalogoGruposSanguineos","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Catálogo de grupos sanguíneos","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GrupoSanguineoCatalogoResponse"}}}}}}}},"/api/v1/historiaclinica/grupos-sanguineos-paciente/por-tercero/{idtercero}":{"get":{"tags":["GruposSanguineos"],"summary":"Consultar grupo sanguíneo del paciente","description":"Retorna el grupo sanguíneo del paciente. Si no está definido, retorna definido=false con mensaje — nunca 404.","operationId":"consultarGrupoSanguineoPorTercero","parameters":[{"name":"idtercero","in":"path","description":"ID del paciente en terceros","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Grupo sanguíneo del paciente (o indicador de no definido)","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoPacienteResponse"}}}}}}},"/api/v1/historiaclinica/atenciones/por-tercero/{idtercero}":{"get":{"tags":["Atenciones"],"summary":"Listar Atenciones por Tercero","description":"Lista las atenciones del tercero (paciente), incluyendo el último motivo de consulta relacionado. Lista vacía es respuesta válida. Método del servicio anotado con `@Transactional(readOnly = true)`. ","operationId":"listarAtencionesPorTercero","parameters":[{"name":"idtercero","in":"path","description":"ID del tercero (paciente)","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de atenciones (puede ser vacía)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AtencionResumenResponse"}}}}}}}},"/api/v1/historiaclinica/atenciones/por-historia/{historiaId}":{"get":{"tags":["Atenciones"],"summary":"Listar Atenciones por Historia Clínica","description":"**HU-005 / Azure #14027** Lista vacía es respuesta válida (no lanza excepción). Usa proyecciones — no carga entidades completas. HTTP 404 si la HC no existe o no pertenece al `tenant_id` del contexto. Método del servicio anotado con `@Transactional(readOnly = true)`. ","operationId":"listarAtencionesPorHistoria","parameters":[{"name":"historiaId","in":"path","description":"ID de la historia clínica","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"desde","in":"query","description":"Fecha/hora inicio del rango (ISO 8601)","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"hasta","in":"query","description":"Fecha/hora fin del rango (ISO 8601)","required":false,"schema":{"type":"string","format":"date-time"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de atenciones (puede ser vacía)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AtencionResumenResponse"}}}}},"404":{"description":"HC no encontrada o de otra licencia","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/patologico/por-tercero/{idtercero}":{"get":{"tags":["Antecedentes"],"summary":"Listar Antecedentes Patológicos por Paciente","description":"**HU-013 / Azure #14049**","operationId":"listarAntecedentesPatologicos","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de antecedentes patológicos","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AntecedentePatologicoResponse"}}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/no-patologico/por-tercero/{idtercero}":{"get":{"tags":["Antecedentes"],"summary":"Listar Antecedentes No Patológicos por Paciente","description":"**HU-015 / Azure #14059**","operationId":"listarAntecedentesNoPatologicos","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de antecedentes no patológicos","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AntecedenteNoPatologicoResponse"}}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/antecedentes/familiar/por-tercero/{idtercero}":{"get":{"tags":["Antecedentes"],"summary":"Listar Antecedentes Familiares por Paciente","description":"**HU-014 / Azure #14054**","operationId":"listarAntecedentesFamiliares","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de antecedentes familiares","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AntecedenteFamiliarResponse"}}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/alergias":{"get":{"tags":["Alergias"],"summary":"Listar catálogo de alergias activas","description":"**HU-011 / Azure #14038** Catálogo global administrado exclusivamente por World Office. Solo retorna registros con `senactivo = true`. **Sin `tenant_id`** — no requiere licencia activa para filtrar. Los clientes no pueden crear, editar ni eliminar registros de este catálogo. ","operationId":"listarAlergias","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de alergias activas del catálogo","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlergiaResponse"}}}}}}}},"/api/v1/historiaclinica/alergias-paciente/por-tercero/{idtercero}":{"get":{"tags":["Alergias"],"summary":"Listar Alergias de un Paciente","description":"**HU-012 / Azure #14041**","operationId":"listarAlergiasPaciente","parameters":[{"name":"idtercero","in":"path","description":"ID del paciente","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Lista de alergias del paciente","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlergiaPacienteResponse"}}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/adjuntos/{id}":{"get":{"tags":["Adjuntos de atención"],"summary":"Consultar un adjunto","description":"Devuelve los metadatos incluyendo la ruta en el almacenamiento; el gateway la usa para resolver la descarga y la eliminación del archivo.","operationId":"consultarAdjunto","parameters":[{"name":"id","in":"path","description":"ID del adjunto","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"Adjunto encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AdjuntoAtencionResponse"}}}},"404":{"description":"Adjunto no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Adjuntos de atención"],"summary":"Eliminar un adjunto","description":"Elimina únicamente el registro. El borrado del archivo en el almacenamiento lo hace el gateway.","operationId":"eliminarAdjunto","parameters":[{"name":"id","in":"path","description":"ID del adjunto","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Adjunto no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/grupos-sanguineos":{"get":{"tags":["rest-historia-clinica-grupos-sanguineos-api"],"operationId":"listarCatalogoGruposSanguineos_1","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GrupoSanguineoCatalogoResponse"}}}}}}}},"/api/v1/grupos-sanguineos-paciente/por-tercero/{idtercero}":{"get":{"tags":["rest-historia-clinica-grupos-sanguineos-api"],"operationId":"consultarGrupoSanguineoPorTercero_1","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GrupoSanguineoPacienteResponse"}}}}}}},"/api/v1/documentos/visualizarDocumento/{id}":{"get":{"tags":["Ventas"],"summary":"Generar PDF documento de venta","description":"<div id='DatosCrear'><p>Crear pdf documento de venta</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/visualizarDocumento</div>Genera un documento de venta en PDF. Solo necesita el id del documento de venta.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/visualizarDocumento/123</b><br></div>","operationId":"generaPdfDocumentoVenta","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede visualizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"PDF generado correctamente, retorna un string con el que se genera el pdf","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"No se encuentra el documento de venta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/ticketDocumento/{id}":{"get":{"tags":["Ventas"],"summary":"Generar ticket documento de venta ","description":"<div id='DatosCrear'><p>Generar pdf del ticket de documento de venta</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/ticketDocumento</div>Proceso que genera el ticket en PDF con vista del documento<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/ticketDocumento/123</b><br></div>","operationId":"pdfTicket","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede visualizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Tiket en pdf generado correctamente, retorna un string con el que se genera el pdf","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/getDocumentoId/{id}":{"get":{"tags":["Ventas"],"summary":"Consultar documento de venta","description":"<div id='DatosCrear'><p>Consultar documento de venta por Id</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/getDocumentoId/</div>Consulta la información del documento de venta en el sistema por ID.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/getDocumentoId/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"consultarDocumentoVentaId","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/enviaDocumentoMail/{id}/{email}/{nombre}":{"get":{"tags":["Ventas"],"summary":"Enviar documento de venta email","description":"<div id='DatosCrear'><p>Enviar documento de venta por email</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/enviaDocumentoMail</div>Env&iacute;a una el Id de documento contable de venta, correo electronico a quien se envia y nombre del destinatario.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/enviaDocumentoMail/123/mi_correo@corre.com/Albert Einstein</b><br></div>","operationId":"enviarEmailDocumentoVenta","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123},{"name":"email","in":"path","description":"Correo electrónico","required":true,"schema":{"type":"string"},"example":"usuario@dominio.com"},{"name":"nombre","in":"path","description":"Nombre a quien va el documento","required":true,"schema":{"type":"string"},"example":"Albert Einstein"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede visualizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Se realiza el proceso de forma exitosa","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"502":{"description":"Error de correo electronico","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"No se encuentra el documento de venta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/cufe/{documentoId}":{"get":{"tags":["Ventas"],"summary":"Consultar CUFE por ID de documento","description":"<div id='DatosCrear'><p>Consultar CUFE (Código Único de Facturación Electrónica) por ID de documento</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/cufe/{documentoId}</div>Consulta el CUFE de un documento de facturación electrónica en el sistema por ID del documento.<br><br>Petición de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/cufe/123</b><br><br>Respuesta exitosa en el data de la petición:<pre>data: {<br>  cufe: string (Código Único de Facturación Electrónica)<br>}</pre><br>Respuesta cuando el documento no existe (404):<pre>{   status: \"NOT_FOUND\",<br>   userMessage: \"El documento electrónico no existe\",<br>   data: null<br>}</pre></div>","operationId":"consultarCufeByDocumentoId","parameters":[{"name":"documentoId","in":"path","description":"ID del documento para el cual se va a consultar el CUFE","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Documento no encontrado. El documento especificado no existe en facturación electrónica.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Consulta realizada correctamente. Retorna el CUFE del documento.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/documentos/clasificaciones/{documentoTipo}":{"get":{"tags":["Ventas"],"summary":"Consultar clasificaciones","description":"<div id='DatosCrear'><p>Consulta clasificaciones</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/documentos/clasificaciones/{documentoTipo}</div>Consulta las clasificaciones requeridas para la creaci&oacute;n del documento de tipo Nota Cr&eacute;dito. Este servicio recibe como par&aacute;metro el tipo de documento (NCV o NCC) para el cual se desea consultar la clasificaci&oacute;n correspondiente, ya sea Nota Cr&eacute;dito Venta o Nota Cr&eacute;dito Compra.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/clasificaciones/123</b><br></div>","operationId":"consultaClasificaciones","parameters":[{"name":"documentoTipo","in":"path","description":"Código tipo documento","required":true,"schema":{"type":"string"},"example":"NCC"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"Se realiza el proceso de forma exitosa","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIListDocumentoTipoNotaCreditoApiPojo"}}}},"404":{"description":"No se encuentra el documento de venta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/cuentasContables/consultar/{id}":{"get":{"tags":["Cuentas contables"],"summary":"Consultar cuenta contable","description":"<div id='DatosCrear'><p>Consulta cuenta contable por ID</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/consultar/{id}</div>Consulta la informacion de una cuenta contable resgitrda en el sistema, con base en el id recibido<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/cuentasContables/consultar/123</b><br>Respuesta en el contenido de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  codigo: String,<br>  nombre: String,<br>  subCuentaContable: {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  },<br>  cuentaContableTipo: {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    cuentaContableNaturaleza: String<br>  },<br>  cuentaContableGrupo: {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    senRetencion: boolean,<br>    impuesto: String<br>  },<br>  senVisible: boolean,<br>  senActivo: boolean,<br>  senDetalleTercero: boolean,<br>  senManejaCentroCosto: boolean,<br>  senAutoretencion: boolean<br>}<br></pre></div>","operationId":"consultarCuentaContableID","parameters":[{"name":"id","in":"path","description":"ID de la cuenta contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPICuentaContablePojo"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/cuentasContables/consultaCodigo/{codigo}":{"get":{"tags":["Cuentas contables"],"summary":"Consultar cuenta contable por codigó","description":"<div id='DatosCrear'><p>Consultar cuenta contable por codig&oacute;</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/consultaCodigo/{codigo}</div>Consulta la informacion de una cuenta contable registrada en el sistema, con base en el codigó recibido<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/cuentasContables/consultaCodigo/6123</b><br>Respuesta en el contenido de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  codigo: String,<br>  nombre: String,<br>  subCuentaContable: {<br>    id: integer,<br>    codigo: String,<br>    nombre: String<br>  },<br>  cuentaContableTipo: {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    cuentaContableNaturaleza: String<br>  },<br>  cuentaContableGrupo: {<br>    id: integer,<br>    codigo: String,<br>    nombre: String,<br>    senRetencion: boolean,<br>    impuesto: String<br>  },<br>  senVisible: boolean,<br>  senActivo: boolean,<br>  senDetalleTercero: boolean,<br>  senManejaCentroCosto: boolean,<br>  senAutoretencion: boolean<br>}<br></pre></div>","operationId":"consultaCuentaContableCodigo","parameters":[{"name":"codigo","in":"path","description":"Codigó cuenta contable","required":true,"schema":{"type":"string"},"example":6123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Cuenta contable no encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPICuentaContablePojo"}}}}}}},"/api/v1/control-documento-dian":{"get":{"tags":["control-documento-dian-controller"],"operationId":"obtenerPorDocumentoEncabezadoId","parameters":[{"name":"documentoEncabezadoId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOControlDocumentoDianDTO"}}}}}}},"/api/v1/control-documento-dian/exists/{documentoDianId}":{"get":{"tags":["control-documento-dian-controller"],"operationId":"existePorDocumentoDianId","parameters":[{"name":"documentoDianId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOBoolean"}}}}}}},"/api/v1/contabilidad/visualizarDocumento/{id}":{"get":{"tags":["Contabilidad"],"summary":"Generar pdf documento contable","description":"<div id='DatosCrear'><p>Generar pdf documento contable</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/visualizarDocumento/{id}</div>Genera un pdf del documento contable, es necesario enviar el id del documento contable para la generación del pdf.Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/visualizarDocumento/123</b><br></div>","operationId":"generarPdfDocumentoContable","parameters":[{"name":"id","in":"path","description":"ID del documento contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"PDF del documento contable","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"403":{"description":"No se puede visualizar el documento contable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/enviarDocumentoEmail/{id}/{email}/{nombre}":{"get":{"tags":["Contabilidad"],"summary":"Enviar documento contable email","description":"<div id='DatosCrear'><p>Enviar documento contable por email</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/enviarDocumentoEmail/{id}/{email}/{nombre}</div>Este servicio permite enviar por correo electr&oacute;nico un Recibo de Caja, Comprobante de Egreso o Nota de Contabilidad en formato PDF. Requiere el ID del documento para realizar el env&iacute;oPetici&oacute;n de servicio:<br><b>https://api.worldoffice.cloudapi/v1/contabilidad/enviarDocumentoEmail/123/mi_correo@corre.com/Albert Einstein</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"enviarEmailDocumentoContable","parameters":[{"name":"id","in":"path","description":"ID del documento contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123},{"name":"email","in":"path","description":"Correo electrónico","required":true,"schema":{"type":"string"},"example":"usuario@dominio.com"},{"name":"nombre","in":"path","description":"Nombre a quien va el documento","required":true,"schema":{"type":"string"},"example":"Albert Einstein"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede visualizar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"502":{"description":"Error de correo electronico","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Se realiza el proceso de forma exitosa","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIVoid"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/cuentasPorCobrar/documento/{documentoEncabezadoId}/tercero/{terceroId}/cruzarCuentas/{idsCuentasPorCruzar}":{"get":{"tags":["Contabilidad"],"summary":"Cruzar cuentas por pagar o cobrar","description":"<div id='DatosCrear'><p>Cruzar cuentas por pagar o cobrar</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/cuentasPorCobrar/documento/{documentoEncabezadoId}/tercero/{terceroId}/cruzarCuentas/{idsCuentasPorCruzar}</div>Este servicio se encarga del cruce de cuentas pendientes de pago o cobro. Para llevar a cabo el cruce, se requiere suministrar el ID del documento de destino, el ID del tercero y una lista de IDs correspondientes a las cuentas pendientes de pago o cobro. Los IDs de las cuentas deben estar separados por comas y pueden involucrar una o varias cuentas en el proceso de cruce.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/cuentasPorCobrar/documento/1245/tercero/1007/cruzarCuentas/2456,3241,2023</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"cruzarCuentaPagoCobro","parameters":[{"name":"documentoEncabezadoId","in":"path","description":"ID documento contable","required":true,"schema":{"type":"integer","format":"int64"},"example":1245},{"name":"terceroId","in":"path","description":"ID tercero","required":true,"schema":{"type":"integer","format":"int64"},"example":1007},{"name":"idsCuentasPorCruzar","in":"path","description":"ID cuentas por pagar o cobrar","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":"2456,3241,2023"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"Error al crzar la cuenta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"Se realiza el proceso de forma exitosa","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIVoid"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/consultarSaldoCliente/{encabezadoId}/{terceroId}":{"get":{"tags":["Contabilidad"],"summary":"Consultar saldo","description":"<div id='DatosCrear'><p>Listar recibos contables</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/consultarSaldoCliente/{encabezadoId}/{terceroId}</div>Consulta el valor total de las cuentas por pagar, recibe por par&aacute;metro el documento encabezado id y el tercero id al cual se le va a realizar la b&uacte;squeda de las cuentas por pagar para realizar el c&aacute;lculo del valor total por pagar.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/contabilidad/consultarSaldoCliente/2/340</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>  data{<br>    saldoTotal: numeric<br>  }<br>}<br></pre></div>","operationId":"consultarSaldo","parameters":[{"name":"encabezadoId","in":"path","description":"ID de documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123},{"name":"terceroId","in":"path","description":"ID del tercero","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/consultar/{id}":{"get":{"tags":["Contabilidad"],"summary":"Consultar documento contable","description":"<div id='DatosCrear'><p>Consultar documento contable</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/consultar/{id}</div>Permite consultar un documento contable por idRespuesta en el contenido de la petici&oacute;n:<pre>data: {<br>  id: integer,<br>  fecha: Date,<br>  numero: String,<br>  prefijo: {<br>    id: integer,<br>    nombre: String,<br>    descripcion: String<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: String,<br>    nombreDocumento: String<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: String,<br>    prefijo: String,<br>    identificacion: String,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>  },<br>  responsabilidadFiscal: {<br>      id: integer,<br>      codigo: String,<br>      significado: String<br>    },<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: String,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>      simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: string,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}</pre></div>","operationId":"consultarDocumentoContableId","parameters":[{"name":"id","in":"path","description":"ID del registro contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"La consulta es realizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede consultar el documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/configuracion-dian-empresa/empresa/{idEmpresa}":{"get":{"tags":["configuracion-dian-empresa-controller"],"operationId":"obtenerPorIdEmpresa","parameters":[{"name":"idEmpresa","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOConfiguracionDianEmpresaDTO"}}}}}}},"/api/v1/configuracion-dian-empresa/empresa/{idEmpresa}/token":{"get":{"tags":["configuracion-dian-empresa-controller"],"operationId":"obtenerTokenPorIdEmpresa","parameters":[{"name":"idEmpresa","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOString"}}}}}}},"/api/v1/compra/visualizaCompra/{id}":{"get":{"tags":["Compras"],"summary":"Generar pdf documento de compra","description":"<div id='DatosCrear'><p>Genera pdf de documento de compra</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/compra/visualizaCompra/{id}</div>Genera un documento de compra en PDF. Solo necesita el id del documento de compra.Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/visualizaCompra/123</b><br></div>","operationId":"generaPdfDocumentoCompra","parameters":[{"name":"id","in":"path","description":"ID de documento de compra","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Documento de compra no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"PDF con de la compra","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"403":{"description":"No se puede visualizar la compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/compra/getComprasId/{id}":{"get":{"tags":["Compras"],"summary":"Consultar documento de compra","description":"<div id='DatosCrear'><p>Consulta documentos de compra por ID</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/compra/getComprasId/{id}</div>Consulta la información de las compras registradas en el sistemaPetici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/getComprasId/123</b><br>Respuesta en el contenido de la petici&oacute;n:Petici&oacute;n de servicio:<br><pre>data: {<br>  id: integer,<br>  fecha: string,<br>  numero: integer,<br>  prefijo: {<br>    id: integer,<br>    nombre: string,<br>    descripcion: string<br>  },<br>  documentoTipo: {<br>    id: integer,<br>    codigoDocumento: string,<br>    nombreDocumento: string<br>  },<br>  empresa: {<br>    id: integer,<br>    nombre: string,<br>    prefijo: string,<br>    identificacion: string,<br>    digitoVerificacion: integer,<br>    digitoVerificacionGenerado: boolean,<br>    senPrincipal: boolean,<br>    numeroEstablecimientos: integer,<br>    tercero: {<br>      id: integer,<br>      terceroTipoIdentificacion: {<br>        id: integer,<br>        abreviatura: string,<br>        nombre: string,<br>        codigo: string,<br>        senEsEmpresa: boolean,<br>        senManejaDV: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      },<br>      identificacion: string,<br>      digitoVerificacion: integer,<br>      digitoVerificacionGenerado: boolean,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      nombreCompleto: string,<br>      ciudad: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionDepartamento: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          senSistema: boolean,<br>          ubicacionPais: {<br>            id: integer,<br>            nombre: string,<br>            codigo: string,<br>            codAlterno: string<br>          }<br>        }<br>      },<br>      codigo: string,<br>      senActivo: boolean,<br>      senManejaNomina: boolean,<br>      atributos: boolean,<br>      tarifaICA: integer,<br>      aplicaICAVentas: boolean,<br>      terceroTipos: [<br>        {<br>          id: integer,<br>          codigo: string,<br>          nombre: string<br>        }<br>      ]<br>    },<br>    ubicacionCiudad: {<br>      id: integer,<br>      nombre: string,<br>      codigo: string,<br>      senSistema: boolean,<br>      ubicacionDepartamento: {<br>        id: integer,<br>        nombre: string,<br>        codigo: string,<br>        senSistema: boolean,<br>        ubicacionPais: {<br>          id: integer,<br>          nombre: string,<br>          codigo: string,<br>          codAlterno: string<br>        }<br>      }<br>    },<br>    infoTributariaAdicional: string,<br>    responsabilidadFiscal: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        significado: string<br>      }<br>    ]<br>  },<br>  terceroExterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string,<br>    terceroTipoContribuyente: string,<br>    terceroClasificacionAdministradorImpuesto: string,<br>    terceroTipos: [<br>      {<br>        id: integer,<br>        codigo: string,<br>        nombre: string<br>      }<br>    ],<br>    senCupoCredito: boolean,<br>    terceroVendedorPredeterminado: {<br>      id: integer,<br>      nombreCompleto: string,<br>      primerNombre: string,<br>      segundoNombre: string,<br>      primerApellido: string,<br>      segundoApellido: string,<br>      terceroTipoIdentificacion: string,<br>      identificacion: string<br>    },<br>    formaPagoPredeterminada: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      senManejaCupoCredito: boolean<br>    },<br>    listaPrecioPredeterminada: {<br>      id: integer,<br>      nombre: string<br>    }<br>  },<br>  terceroInterno: {<br>    id: integer,<br>    nombreCompleto: string,<br>    primerNombre: string,<br>    segundoNombre: string,<br>    primerApellido: string,<br>    segundoApellido: string,<br>    terceroTipoIdentificacion: string,<br>    identificacion: string<br>  },<br>  direccionTerceroExterno: {<br>    id: integer,<br>    direccion: string,<br>    ciudad: string,<br>    telefonoPrincipal: string,<br>    sucursal: string,<br>    senPrincipal: boolean<br>  },<br>  formaPago: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    senManejaCupoCredito: boolean<br>  },<br>  moneda: {<br>    id: integer,<br>    codigo: string,<br>    nombre: string,<br>    separadorDecimales: string,<br>    separadorMiles: string,<br>    cantidadDecimales: integer,<br>    simbolo: string,<br>    tieneTRM: boolean<br>  },<br>  concepto: string,<br>  trm: integer,<br>  senContabilizado: boolean,<br>  documentoEncabezadosEstados: [<br>    {<br>      id: integer,<br>      codigo: string,<br>      nombre: string<br>    }<br>  ],<br>  numeroExterno: string,<br>  prefijoExterno: string,<br>  docAsociado: {<br>    id: integer,<br>    prefijo: {<br>      id: integer,<br>      nombre: string,<br>      descripcion: string<br>    },<br>    numero: integer,<br>    fecha: string,<br>    moneda: {<br>      id: integer,<br>      codigo: string,<br>      nombre: string,<br>      separadorDecimales: string,<br>      separadorMiles: string,<br>      cantidadDecimales: integer,<br>     simbolo: string,<br>      tieneTRM: boolean<br>    },<br>    documentoTipo: {<br>      id: integer,<br>      codigoDocumento: string,<br>      nombreDocumento: string<br>    },<br>    trm: integer,<br>    versionFe: integer,<br>    cufe: string<br>  },<br>  documentoMotivoGeneracion: {<br>    id: integer,<br>    codigo: string,<br>    motivo: string<br>  },<br>  documentoTipoNotaCredito: {<br>    id: integer,<br>    codigo: strin,<br>    tipoNotaCredito: string,<br>    efectoEnInventario: integer<br>  },<br>  tieneRenglones: boolean,<br>  senGenerado: boolean,<br>  elaboradoPor: {<br>    id: integer,<br>    nombres: string<br>  },<br>  tieneResolucionElectronica: boolean,<br>  atributosRequeridos: boolean,<br>  atributosEncabezado: boolean,<br>  atributosRenglones: boolean,<br>  historialPrefijoPos: {<br>    numero: integer,<br>    nombrePrefijo: string<br>  }<br>}<br></pre></div>","operationId":"consultarCompraID","parameters":[{"name":"id","in":"path","description":"ID de compra","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"202":{"description":"La consulta es realizada correctamente","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIDocumentoEncabezadoPOJO"}}}},"403":{"description":"No tiene permisos para esta consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/compra/enviaCompraMail/{id}/{email}/{nombre}":{"get":{"tags":["Compras"],"summary":"Enviar documento de compra email","description":"<div id='DatosCrear'><p>Enviar documento de compra por email</p><div id='get'><span></span>https://api.worldoffice.cloud/api/v1/compra/enviaCompraMail/{id}/{email}/{nombre}</div>Enviar el documento de compra en formato pdf al correo del clientePetici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/enviaCompraMail/123/mi_correo@corre.com/Albert Einstein</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"enviarEmailDocumentoCompra","parameters":[{"name":"id","in":"path","description":"ID del documento","required":true,"schema":{"type":"integer","format":"int64"},"example":123},{"name":"email","in":"path","description":"Correo electrónico","required":true,"schema":{"type":"string"},"example":"usuario@dominio.com"},{"name":"nombre","in":"path","description":"Nombre a quien va el documento","required":true,"schema":{"type":"string"},"example":"Albert Einstein"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede enviar el pdf de la compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Se realiza el pdf con los datos de la compra","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseAPIVoid"}}}},"502":{"description":"Error de correo electronico","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/atenciones/{atencionId}/facturacion":{"get":{"tags":["rest-historia-clinica-facturacion-api"],"operationId":"consultarFacturacionAtencion_1","parameters":[{"name":"atencionId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AtencionFacturacionResponse"}}}}}}},"/api/v1/atenciones/por-tercero/{idtercero}":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"listarAtencionesPorTercero_1","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AtencionPorTerceroResponse"}}}}}}}},"/api/v1/atenciones/por-historia/{historiaId}":{"get":{"tags":["rest-historia-clinica-atenciones-api"],"operationId":"listarAtencionesPorHistoria_1","parameters":[{"name":"historiaId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"desde","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"hasta","in":"query","required":false,"schema":{"type":"string","format":"date-time"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AtencionResumenResponse"}}}}}}}},"/api/v1/antecedentes/patologico/por-tercero/{idtercero}":{"get":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"listarAntecedentesPatologicos_1","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AntecedentePatologicoResponse"}}}}}}}},"/api/v1/antecedentes/no-patologico/por-tercero/{idtercero}":{"get":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"listarAntecedentesNoPatologicos_1","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AntecedenteNoPatologicoResponse"}}}}}}}},"/api/v1/antecedentes/familiar/por-tercero/{idtercero}":{"get":{"tags":["rest-historia-clinica-antecedentes-api"],"operationId":"listarAntecedentesFamiliares_1","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AntecedenteFamiliarResponse"}}}}}}}},"/api/v1/alergias":{"get":{"tags":["rest-historia-clinica-alergias-api"],"operationId":"listarAlergias_1","responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlergiaResponse"}}}}}}}},"/api/v1/alergias-paciente/por-tercero/{idtercero}":{"get":{"tags":["rest-historia-clinica-alergias-api"],"operationId":"listarAlergiasPaciente_1","parameters":[{"name":"idtercero","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlergiaPacienteResponse"}}}}}}}},"/api/v1/agenda/tipos-servicio/{id}":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarTipoServicio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseTipoServicioResponse"}}}}}},"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarTipoServicio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/sedes/{id}":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarSede","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseSedeResponse"}}}}}},"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarSede","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/festivos":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarFestivos","parameters":[{"name":"pais","in":"query","required":false,"schema":{"type":"string","default":"co"}},{"name":"hasta","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseListFestivoResponse"}}}}}}},"/api/v1/agenda/facturacion-clinica/sucursal/{sucursalId}":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarAgendaFacturacionClinica","parameters":[{"name":"sucursalId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseAgendaFacturacionClinicaResponse"}}}}}}},"/api/v1/agenda/espacios/{id}":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarEspacio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseEspacioResponse"}}}}}},"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarEspacio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/configuracion/catalogos":{"get":{"tags":["rest-agenda-api"],"operationId":"getCatalogo","parameters":[{"name":"nombre","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseListEnumBaseResponse"}}}}}}},"/api/v1/agenda/autogestion-portal/profesionales-disponibles":{"get":{"tags":["rest-agenda-api"],"operationId":"consultarProfesionalesDisponibles","parameters":[{"name":"fechaInicio","in":"query","required":true,"schema":{"type":"string"}},{"name":"hora","in":"query","required":true,"schema":{"type":"string"}},{"name":"duracion","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"inventarioId","in":"query","required":true,"schema":{"type":"integer","format":"int64"}},{"name":"espacioId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"sedeId","in":"query","required":false,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseProfesionalesDisponiblesResponse"}}}}}}},"/api/v1/adjuntos/{id}/descargar":{"get":{"tags":["rest-historia-clinica-adjuntos-api"],"operationId":"descargarAdjunto","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/v1/terceros/eliminarLista/{id}":{"delete":{"tags":["Terceros"],"summary":"Eliminar terceros","description":"<div id='DatosCrear'><p>Eliminar terceros por id</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/terceros/eliminarLista</div>Elimina los id&#96;s ingresados que estan separados por comas y como resultado se muestra la lista del resultado de cada caso enviando, m&aacute;ximo se puede eliminar 5 terceros por petici&oacute;n<br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/eliminar/123,234,345</b><br></div>","operationId":"eliminarListaTercero","parameters":[{"name":"id","in":"path","description":"ID de los terceros","required":true,"schema":{"type":"string"},"example":"123,234,345"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El tercero presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"413":{"description":"Supera la cantidad maxima de terceros a eliminar","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"207":{"description":"Respuestas eliminar terceros","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResponseAPI"}}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/terceros/eliminar/{id}":{"delete":{"tags":["Terceros"],"summary":"Eliminar terecero","description":"<div id='DatosCrear'><p>Eliminar terceros</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/terceros/eliminar</div>Elimina un tercero del sistema apartir de un id enviado<br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/terceros/eliminar/123</b><br></div>","operationId":"eliminarTercero","parameters":[{"name":"id","in":"path","description":"ID del tercero","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Tercero no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Tercero eliminado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/recordatorios/{id}":{"delete":{"tags":["rest-historia-clinica-recordatorios-api"],"operationId":"eliminarRecordatorio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/inventarios/eliminarSalidaAlmacen/{id}":{"delete":{"tags":["Inventario"],"summary":"Eliminar documento de salida de almacén","description":"<div id='DatosCrear'><p>Eliminar documento salida de almacén</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/eliminarSalidaAlmacen</div>Elimina el documento de almacén por Id.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/eliminarSalidaAlmacen/123</b><br></div>","operationId":"eliminarSalidaAlmacen","parameters":[{"name":"id","in":"path","description":"ID del documento de salida almacén","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El documento presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento eliminada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede eliminar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/inventarios/eliminarLista/{ids}":{"delete":{"tags":["Inventario"],"summary":"Eliminar inventarios","description":"<div id='DatosCrear'><p>Eliminar inventarios</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/eliminarLista/{ids}</div>Elimina los id&#39;s ingresados que est&aacute;n separados por comas y como resultado se muestra la lista del resultado de cada caso enviando, m&aacute;ximo se puede eliminar 5 documentos por petici&oacute;n.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/eliminarLista/123,234,345</b><br></div>","operationId":"eliminarListaInventarios","parameters":[{"name":"ids","in":"path","description":"ID de los inventarios","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":"123,234,345"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"413":{"description":"Supera el limite maximo de inventarios a eliminar por petición","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Inventario no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"207":{"description":"Respuestas de eliminar inventarios","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}}},"/api/v1/inventarios/eliminar/{id}":{"delete":{"tags":["Inventario"],"summary":"Eliminar inventario ","description":"<div id='DatosCrear'><p>Eliminar inventario</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/inventarios/eliminar/{id}</div>Elimina el documento de venta por Id.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/inventarios/eliminar/123</b><br></div>","operationId":"eliminarInventario","parameters":[{"name":"id","in":"path","description":"ID de inventario","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento eliminado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"413":{"description":"Supera el limite maximo para eliminar por peticion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/historias-clinicas/{id}":{"delete":{"tags":["rest-historia-clinica-api"],"operationId":"eliminarHistoriaClinicaPorId","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}},"/api/v1/historiaclinica/recordatorios/{id}":{"delete":{"tags":["Recordatorios"],"summary":"Eliminar recordatorio","operationId":"eliminarRecordatorio_1","parameters":[{"name":"id","in":"path","description":"ID del recordatorio","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Eliminado exitosamente"},"404":{"description":"Recordatorio no encontrado","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/historiaclinica/historias-clinicas/{id}":{"delete":{"tags":["Historias Clínicas","HistoriaClinica"],"summary":"Eliminar historia clínica por id","description":"Elimina la historia clínica identificada por su id de BD. Falla con 409 si tiene atenciones asociadas y con 404 si no existe.","operationId":"eliminarHistoriaClinicaPorId_1","parameters":[{"name":"id","in":"path","description":"Id de la historia clínica","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Historia clínica con atenciones asociadas","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"204":{"description":"Historia clínica eliminada"},"404":{"description":"Historia clínica no encontrada","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/documentos/eliminarLista/{id}":{"delete":{"tags":["Ventas"],"summary":"Eliminar documentos de venta","description":"<div id='DatosCrear'><p>Eliminar documentos de venta por id</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/documentos/eliminarLista</div>Elimina los id&#39;s ingresados que est&aacute;n separados por comas y como resultado se muestra la lista del resultado de cada caso enviando, m&aacute;ximo se puede eliminar 5 documentos por petici&oacute;n.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/eliminarLista/123,234,345</b><br></div>","operationId":"eliminarListaDocumentosVenta","parameters":[{"name":"id","in":"path","description":"Lista de ID´s separados por comas de los documento de venta a borrar","required":true,"schema":{"type":"string"},"example":"123,234,345"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"413":{"description":"Supera el limite maximo para eliminar por peticion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"207":{"description":"Respuestas de eliminar compras","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}}},"/api/v1/documentos/eliminar/{id}":{"delete":{"tags":["Ventas"],"summary":"Eliminar documento de venta","description":"<div id='DatosCrear'><p>Eliminar documento de venta</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/documentos/eliminar</div>Elimina el documento de venta por Id.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/eliminar/123</b><br></div>","operationId":"eliminarDocumentoVenta","parameters":[{"name":"id","in":"path","description":"ID del documento de venta","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El documento presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento eliminada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede eliminar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/dian/invoices/{invoiceId}":{"delete":{"tags":["dian-api-controller"],"operationId":"deleteInvoiceByIdAndLicense","parameters":[{"name":"invoiceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/cuentasContables/eliminarLista/{id}":{"delete":{"tags":["Cuentas contables"],"summary":"Eliminar cuentas contables","description":"<div id='DatosCrear'><p>Elimina varias cuentas contables por ID</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/eliminarLista/{id}</div>Elimina los id&#39;s ingresados que est&aacute;n separados por comas y como resultado se muestra la lista del resultado de cada caso enviando, m&aacute;ximo se puede eliminar 5 documentos por petici&oacute;n.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/cuentasContables/eliminarLista/123,234,345</b><br></div>","operationId":"eliminarListaCuentasContables","parameters":[{"name":"id","in":"path","description":"ID las cuentas contables","required":true,"schema":{"type":"string"},"example":"123,234,345"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"La cuenta contable presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Cuenta contable no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"$ref":"#/components/responses/ResponseAPI"},"207":{"description":"Respuestas de eliminar cuentas contables","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResponseAPI"}}}}},"413":{"description":"Supera el limite maximo para eliminar por peticion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/cuentasContables/eliminar/{id}":{"delete":{"tags":["Cuentas contables"],"summary":"Eliminar cuenta contable","description":"<div id='DatosCrear'><p>Elimina las cuentas contables por ID</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/cuentasContables/eliminar/{id}</div>Elimina el documento de venta por Id.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/eliminar/123</b><br></div>","operationId":"eliminarCuentasContable","parameters":[{"name":"id","in":"path","description":"ID de la cuenta contable","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"La cuenta contable presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Cuenta contable no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"La cuenta contable presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Cuenta contable eliminada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPIVoid"}}}}}}},"/api/v1/contabilidad/eliminarLista/{ids}":{"delete":{"tags":["Contabilidad"],"summary":"Eliminar documentos contables","description":"<div id='DatosCrear'><p>Eliminar documentos contables</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/eliminarLista/{ids}</div>Elimina los id&#39;s ingresados que est&aacute;n separados por comas y como resultado se muestra la lista del resultado de cada caso enviando, m&aacute;ximo se puede eliminar 5 documentos por petici&oacute;n.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/eliminarLista/123,234,345</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>content: [<br>  {<br>    error: boolean,<br>    mensaje: string,<br>    entero: integer,<br>    codError: string,<br>    codigoError: string<br>  }<br>]<br></pre></div>","operationId":"eliminarValiriosDocumentosContables","parameters":[{"name":"ids","in":"path","description":"Lista de ID´s separados por comas","required":true,"schema":{"type":"array","items":{"type":"integer","format":"int64"}},"example":"123,234,456"}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se han asignados permisos para consultar este servicio","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento contable eliminado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"413":{"description":"Supera el limite maximo para eliminar por peticion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/contabilidad/eliminar/{id}":{"delete":{"tags":["Contabilidad"],"summary":"Eliminar documento contable","description":"<div id='DatosCrear'><p>Elimina documento por ID</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/contabilidad/eliminar/{id}</div>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/documentos/eliminar/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"eliminarDocumentoContable","parameters":[{"name":"id","in":"path","description":"ID de contabilidad a borar","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El documento presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Documento eliminado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede eliminar este documento","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Sin elementos en la consulta","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/configuracion-proveedor-dian/{id}":{"delete":{"tags":["configuracion-proveedor-dian-controller"],"operationId":"eliminar_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiResponseDTOVoid"}}}}}}},"/api/v1/compra/eliminarLista/{id}":{"delete":{"tags":["Compras"],"summary":"Eliminar documentos de compra","description":"<div id='DatosCrear'><p>Eliminar documentos de compra por id</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/compra/eliminarLista/{id}</div>Elimina los id&#39;s ingresados que est&aacute;n separados por comas y como resultado se muestra la lista del resultado de cada caso enviando, m&aacute;ximo se puede eliminar 5 documentos por petici&oacute;n.<br><br>Petici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/eliminarLista/123,234,345</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>content: [<br>  {<br>    error: boolean,<br>    mensaje: string,<br>    entero: integer,<br>    codError: string,<br>    codigoError: string<br>  }<br>]<br></pre></div>","operationId":"eliminarListaDocumentosCompra","parameters":[{"name":"id","in":"path","description":"Lista de ID´s separados por comas de los documento de compra a borrar","required":true,"schema":{"type":"string"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Elemento no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"413":{"description":"Supera el limite maximo para eliminar por peticion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"207":{"description":"Respuestas de eliminar compras","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}}},"/api/v1/compra/eliminar/{id}":{"delete":{"tags":["Compras"],"summary":"Eliminar documento de compra","description":"<div id='DatosCrear'><p>Eliminar documento de compra por id</p><div id='delete'><span></span>https://api.worldoffice.cloud/api/v1/compra/eliminar/{id}</div>Elimina el documento de venta al id ingresadoPetici&oacute;n de servicio:<br><b>https://api.worldoffice.cloud/api/v1/compra/eliminar/123</b><br><br>Respuesta en el data de la petici&oacute;n:<pre>data {<br>  error: boolean,<br>  mensaje: string,<br>  entero: integer,<br>  codError: string,<br>  codigoError: string<br>}<br></pre></div>","operationId":"eliminarDocumentoCompra","parameters":[{"name":"id","in":"path","description":"ID del documento de compra","required":true,"schema":{"type":"integer","format":"int64"},"example":123}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"El documento presenta restricciones para su eliminación","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"500":{"description":"Error interno del servidor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"200":{"description":"Compra eliminada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"404":{"description":"Documento de compra no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}},"403":{"description":"No se puede eliminar el documento de compra","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResponseAPI"}}}}}}},"/api/v1/agenda/profesional-servicio/{id}":{"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarProfesionalServicio","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/facturacion-clinica/{id}":{"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarAgendaFacturacionClinica","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/citas/{id}":{"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarCita","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/agenda/bloqueos/{id}":{"delete":{"tags":["rest-agenda-api"],"operationId":"eliminarBloqueo","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WrapperBaseResponseVoid"}}}}}}},"/api/v1/adjuntos/{id}":{"delete":{"tags":["rest-historia-clinica-adjuntos-api"],"operationId":"eliminarAdjunto_1","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"200":{"description":"OK"}}}}},"components":{"schemas":{"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{"type":"object"}}}},"CrearTerceroAPIPojo":{"required":["direccion","email","idCiudad","idClasificacionImpuestos","idTerceroTipoContribuyente","idTerceroTipoIdentificacion","idTerceroTipos","identificacion","plazoDias","primerNombre","responsabilidadFiscal","telefono"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idTerceroTipoIdentificacion":{"type":"integer","format":"int64"},"identificacion":{"type":"string"},"primerNombre":{"pattern":"[A-Za-z0-9ÁÉÍÓÚÜÑáéíóúüñ.\\s]+","type":"string"},"segundoNombre":{"type":"string"},"primerApellido":{"type":"string"},"segundoApellido":{"type":"string"},"idCiudad":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"senActivo":{"type":"boolean"},"idTerceroTipos":{"type":"array","items":{"type":"integer","format":"int64"}},"idTerceroTipoContribuyente":{"type":"integer","format":"int64"},"idClasificacionImpuestos":{"type":"integer","format":"int64"},"direccion":{"type":"string"},"telefono":{"type":"string"},"email":{"type":"string"},"plazoDias":{"type":"integer","format":"int64"},"responsabilidadFiscal":{"type":"array","items":{"type":"integer","format":"int64"}},"direcciones":{"type":"array","items":{"$ref":"#/components/schemas/TerceroDireccionPojo"}},"idListaPrecioPredeterminada":{"type":"integer","format":"int64"},"idTerceroVendedorPredeterminado":{"type":"integer","format":"int64"},"idFormaPagoPredeterminada":{"type":"integer","format":"int64"},"idLocal":{"type":"integer","format":"int64"},"soloCrearDireccion":{"type":"boolean"}},"description":"Registrar un nuevo Tercero:idTerceroTipoIdentificacion -> Id registrado de tipo de identificacion del tercero,identificacion -> numero de identificación del terecero,primerNombre -> Primer nombre,segundoNombre -> Segundo nombre,primerApellido -> Primer apellido,segundoApellido -> Segundo apellido,direccion -> Dirección del tercero,idCiudad -> Id registrado de la ciudad,telefono -> Telefono del tercero,email -> Correo electronico del tercero,plazoDias -> En credito plazo maximo para pago de mercancia,idListaPrecioPredeterminada -> Id registrado ,idTerceroVendedorPredeterminado -> Id registrado ,idTerceroTipoContribuyente -> Id registrado ,idClasificacionImpuestos -> Id registrado ,responsabilidadFiscal -> Arreglo de id´s que se van a registrar"},"TerceroDireccionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"terceroTipoDireccion":{"$ref":"#/components/schemas/TerceroTipoDireccionPojo"},"direccion":{"type":"string"},"senPrincipal":{"type":"boolean"},"ubicacionCiudad":{"$ref":"#/components/schemas/UbicacionCiudadPojo"},"ubicacionBarrio":{"$ref":"#/components/schemas/UbicacionBarrioPojo"},"indicaciones":{"type":"string"},"telefonoPrincipal":{"type":"string"},"terceroZonaPojo":{"$ref":"#/components/schemas/TerceroZonaPojo"},"emailPrincipal":{"type":"string"}}},"TerceroTipoDireccionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"}}},"TerceroZonaPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"},"senActivo":{"type":"boolean"},"folder":{"type":"boolean"},"borrador":{"type":"boolean"}}},"UbicacionBarrioPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"},"ubicacionCiudad":{"$ref":"#/components/schemas/UbicacionCiudadPojo"}}},"UbicacionCiudadPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"ciudadNombre":{"type":"string"},"nombre":{"type":"string"},"codigo":{"type":"string"},"senSistema":{"type":"boolean"},"ubicacionDepartamento":{"$ref":"#/components/schemas/UbicacionDepartamentoPojo"}}},"UbicacionDepartamentoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"},"senSistema":{"type":"boolean"},"ubicacionPais":{"$ref":"#/components/schemas/UbicacionPaisPojo"}}},"UbicacionPaisPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"},"codAlterno":{"type":"string"}}},"ResponseAPI":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"type":"object"}}},"DireccionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"direccion":{"type":"string"},"ciudad":{"type":"string"},"telefonoPrincipal":{"type":"string"},"emailPrincipal":{"type":"string"},"sucursal":{"type":"string"},"senPrincipal":{"type":"boolean"},"terceroTipoDireccionId":{"type":"integer","format":"int64"},"ciudadId":{"type":"integer","format":"int64"},"terceroTipoTelefonoId":{"type":"integer","format":"int64"},"numeroTelefonoPrincipal":{"type":"string"}}},"ResponseAPITerceroPojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/TerceroPojo"}}},"TerceroPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"terceroTipoIdentificacion":{"$ref":"#/components/schemas/TerceroTipoIdentificacionPojo"},"identificacion":{"type":"string"},"digitoVerificacion":{"type":"integer","format":"int64"},"digitoVerificacionGenerado":{"type":"boolean"},"primerNombre":{"type":"string"},"segundoNombre":{"type":"string"},"primerApellido":{"type":"string"},"segundoApellido":{"type":"string"},"nombreCompleto":{"type":"string"},"nombreCompletoEmpleado":{"type":"string"},"ciudad":{"$ref":"#/components/schemas/UbicacionCiudadPojo"},"codigo":{"type":"string"},"senActivo":{"type":"boolean"},"senManejaNomina":{"type":"boolean"},"atributos":{"type":"boolean"},"tarifaICA":{"type":"number"},"aplicaICAVentas":{"type":"boolean"},"terceroTipos":{"type":"array","items":{"$ref":"#/components/schemas/TerceroTipoPojo"}},"tieneDirPrincipal":{"type":"boolean"},"direccionPrincipal":{"$ref":"#/components/schemas/DireccionPojo"}}},"TerceroTipoIdentificacionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"abreviatura":{"type":"string"},"nombre":{"type":"string"},"codigo":{"type":"string"},"senEsEmpresa":{"type":"boolean"},"senManejaDV":{"type":"boolean"}}},"TerceroTipoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"}}},"RecordatorioResolverRequest":{"required":["resuelto"],"type":"object","properties":{"resuelto":{"type":"boolean"}}},"RecordatorioOcultarRequest":{"required":["oculto"],"type":"object","properties":{"oculto":{"type":"boolean"}}},"ConfiguracionDianEmpresaDTO":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"idEmpresa":{"type":"integer","format":"int64"},"licencia":{"type":"string"},"nitEmpresa":{"type":"string"},"nitRepresentanteLegal":{"type":"string"},"emailRepresentanteLegal":{"type":"string"},"tokenDian":{"$ref":"#/components/schemas/TokenDianDTO"},"active":{"type":"boolean"},"version":{"type":"integer","format":"int64"}}},"PrefijoDocumentoDTO":{"required":["configuracionDianEmpresaId","prefijoId","tipoDocumentoId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"prefijoId":{"type":"integer","format":"int64"},"tipoDocumentoId":{"type":"integer","format":"int64"},"configuracionDianEmpresaId":{"type":"string","format":"uuid"},"configuracionDianEmpresa":{"$ref":"#/components/schemas/ConfiguracionDianEmpresaDTO"},"activo":{"type":"boolean"},"version":{"type":"integer","format":"int64"},"prefijoNombre":{"type":"string"},"tipoDocumentoCodigo":{"type":"string"}}},"TokenDianDTO":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"token":{"type":"string"},"fechaModificacion":{"type":"string","format":"date-time"},"active":{"type":"boolean"},"version":{"type":"integer","format":"int64"}}},"ApiResponseDTOPrefijoDocumentoDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/PrefijoDocumentoDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"CrearDocumentoEncabezadoPojo":{"required":["documentoTipo","fecha","idEmpresa","idFormaPago","idMoneda","idTerceroExterno","idTerceroInterno","prefijo","reglones"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"fecha":{"pattern":"^(\\d{4})-(\\d{2})-(\\d{2})$","type":"string"},"prefijo":{"type":"integer","format":"int64"},"concepto":{"maxLength":500,"minLength":0,"type":"string"},"documentoTipo":{"type":"string"},"idEmpresa":{"type":"integer","format":"int64"},"idTerceroExterno":{"type":"integer","format":"int64"},"idTerceroInterno":{"type":"integer","format":"int64"},"idFormaPago":{"type":"integer","format":"int64"},"idMoneda":{"type":"integer","format":"int64"},"idDocumentoMotivosGeneracion":{"type":"integer","format":"int64"},"trm":{"type":"number"},"numeroExterno":{"type":"string"},"prefijoExterno":{"type":"string"},"reglones":{"type":"array","items":{"$ref":"#/components/schemas/CrearDocumentoMovimientoInventarioPojo"}},"idFactura":{"type":"integer","format":"int64"},"idDetalles":{"type":"array","items":{"type":"integer","format":"int64"}},"idClasificacion":{"type":"integer","format":"int64"},"porcentajeDescuento":{"type":"boolean"},"porcentajeTodosRenglones":{"type":"boolean"},"valDescuento":{"type":"number"}},"description":"Datos de la compra"},"CrearDocumentoMovimientoInventarioPojo":{"required":["cantidad","idBodega","idCentroCosto","idInventario","unidadMedida","valorUnitario"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idInventario":{"type":"integer","format":"int64"},"unidadMedida":{"type":"string"},"cantidad":{"minimum":0.0,"exclusiveMinimum":true,"type":"number"},"valorUnitario":{"minimum":0.0,"exclusiveMinimum":true,"type":"number"},"valorTotal":{"type":"number"},"idBodega":{"type":"integer","format":"int64"},"idCentroCosto":{"type":"integer","format":"int64"},"concepto":{"maxLength":500,"minLength":0,"type":"string"},"porDescuento":{"maximum":100.0,"exclusiveMaximum":false,"minimum":0.0,"exclusiveMinimum":false,"type":"number"},"obsequio":{"type":"boolean"},"valorTotalRenglon":{"type":"number","writeOnly":true}}},"DocumentoAsociadoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"prefijo":{"$ref":"#/components/schemas/PrefijoPojo"},"numero":{"type":"integer","format":"int64"},"fecha":{"type":"string","format":"date-time"},"moneda":{"$ref":"#/components/schemas/MonedaPojo"},"documentoTipo":{"$ref":"#/components/schemas/DocumentoTipoPojo"},"trm":{"type":"number"},"versionFe":{"type":"integer","format":"int64"},"cufe":{"type":"string"},"fechaInicioFacturacion":{"type":"string","format":"date-time"},"fechaFinFacturacion":{"type":"string","format":"date-time"}}},"DocumentoEncabezadoEstadoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string","enum":["BLOQUEADO","ANULADO","VERIFICADO","EXPORTADO","PRESENTADO_ELECTRONICAMENTE","AJUSTADO_AL_INVENTARIO","EN_PROCESO_DE_CONTABILIZAR","TRASLADO_INVENTARIO"]},"nombre":{"type":"string"}}},"DocumentoEncabezadoPOJO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"fecha":{"type":"string","format":"date-time"},"numero":{"type":"integer","format":"int64"},"prefijo":{"$ref":"#/components/schemas/PrefijoPojo"},"documentoTipo":{"$ref":"#/components/schemas/DocumentoTipoPojo"},"empresa":{"$ref":"#/components/schemas/EmpresaPojo"},"terceroExterno":{"$ref":"#/components/schemas/TerceroExternoPojo"},"terceroInterno":{"$ref":"#/components/schemas/TerceroInternoPojo"},"direccionTerceroExterno":{"$ref":"#/components/schemas/DireccionPojo"},"formaPago":{"$ref":"#/components/schemas/FormaPagoPojo"},"moneda":{"$ref":"#/components/schemas/MonedaPojo"},"concepto":{"type":"string"},"trm":{"type":"number"},"senContabilizado":{"type":"boolean"},"documentoEncabezadosEstados":{"type":"array","items":{"$ref":"#/components/schemas/DocumentoEncabezadoEstadoPojo"}},"numeroExterno":{"type":"string"},"prefijoExterno":{"type":"string"},"docAsociado":{"$ref":"#/components/schemas/DocumentoAsociadoPojo"},"documentoMotivoGeneracion":{"$ref":"#/components/schemas/DocumentoMotivoGeneracionPojo"},"documentoTipoNotaCredito":{"$ref":"#/components/schemas/DocumentoTipoNotaCredito"},"tieneRenglones":{"type":"boolean"},"senGenerado":{"type":"boolean"},"senLiquidacion":{"type":"boolean"},"elaboradoPor":{"$ref":"#/components/schemas/UsuarioPojo"},"tieneResolucionElectronica":{"type":"boolean"},"atributosRequeridos":{"type":"boolean"},"atributosEncabezado":{"type":"boolean"},"atributosRenglones":{"type":"boolean"},"senExisteDocumentoAsociado":{"type":"boolean"},"senSectorTransporte":{"type":"boolean"},"salidaAlmacenAsociada":{"type":"integer","format":"int64"},"tieneSalidaAlmacenAsociada":{"type":"boolean"},"tieneProductosConFichaTecnica":{"type":"boolean"}}},"DocumentoMotivoGeneracionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"motivo":{"type":"string"}}},"DocumentoTipoNotaCredito":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"maxLength":5,"minLength":0,"type":"string"},"tipoNotaCredito":{"maxLength":15,"minLength":0,"type":"string"},"efectoEnInventario":{"type":"integer","format":"int32"}}},"DocumentoTipoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigoDocumento":{"type":"string"},"nombreDocumento":{"type":"string"}}},"EmpresaPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"prefijo":{"type":"string"},"identificacion":{"type":"string"},"digitoVerificacion":{"type":"integer","format":"int64"},"digitoVerificacionGenerado":{"type":"boolean"},"senPrincipal":{"type":"boolean"},"numeroEstablecimientos":{"type":"integer","format":"int64"},"tercero":{"$ref":"#/components/schemas/TerceroPojo"},"ubicacionCiudad":{"$ref":"#/components/schemas/UbicacionCiudadPojo"},"infoTributariaAdicional":{"type":"string"},"responsabilidadFiscal":{"type":"array","items":{"$ref":"#/components/schemas/TerceroResponsabilidadFiscalPojo"}},"tieneLogo":{"type":"boolean"}}},"FormaPagoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"},"senManejaCupoCredito":{"type":"boolean"},"idGrupo":{"type":"integer","format":"int64"},"nombreFormaPago":{"type":"string"}}},"ListaPrecioPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"}}},"MonedaPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"},"separadorDecimales":{"type":"string"},"separadorMiles":{"type":"string"},"cantidadDecimales":{"type":"integer","format":"int64"},"simbolo":{"type":"string"},"tieneTRM":{"type":"boolean"}}},"PrefijoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"descripcion":{"type":"string"},"tipoResolucion":{"type":"string"},"senActivo":{"type":"boolean"}}},"ResponseAPIDocumentoEncabezadoPOJO":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/DocumentoEncabezadoPOJO"}}},"TerceroExternoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombreCompleto":{"type":"string"},"primerNombre":{"type":"string"},"segundoNombre":{"type":"string"},"primerApellido":{"type":"string"},"segundoApellido":{"type":"string"},"terceroTipoIdentificacion":{"type":"string"},"identificacion":{"type":"string"},"terceroTipoContribuyente":{"type":"string"},"terceroClasificacionAdministradorImpuesto":{"type":"string"},"terceroTipos":{"type":"array","items":{"$ref":"#/components/schemas/TerceroTipoPojo"}},"senCupoCredito":{"type":"boolean"},"terceroVendedorPredeterminado":{"$ref":"#/components/schemas/TerceroInternoPojo"},"formaPagoPredeterminada":{"$ref":"#/components/schemas/FormaPagoPojo"},"idTerceroTipoConttribuyente":{"type":"integer","format":"int64"},"listaPrecioPredeterminada":{"$ref":"#/components/schemas/ListaPrecioPojo"}}},"TerceroInternoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombreCompleto":{"type":"string"},"primerNombre":{"type":"string"},"segundoNombre":{"type":"string"},"primerApellido":{"type":"string"},"segundoApellido":{"type":"string"},"terceroTipoIdentificacion":{"type":"string"},"identificacion":{"type":"string"}}},"TerceroResponsabilidadFiscalPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"significado":{"type":"string"}}},"UsuarioPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombres":{"type":"string"},"activo":{"type":"boolean"},"email":{"type":"string"},"canal":{"type":"string"},"imagen":{"type":"string"},"usuarioTokens":{"type":"array","items":{"$ref":"#/components/schemas/UsuarioTokens"}}}},"UsuarioTokens":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"jwt":{"maxLength":500,"minLength":0,"type":"string"},"fechaRegistro":{"type":"string","format":"date-time"},"fechaVencimiento":{"type":"string","format":"date-time"},"sesTokenActivo":{"type":"boolean"}}},"CrearInventarioPojo":{"required":["codigo","descripcion","idInventarioClasificacion","idUnidadMedida"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"descripcion":{"pattern":"[a-zA-Z]+","type":"string"},"idUnidadMedida":{"type":"integer","format":"int64"},"senActivo":{"type":"boolean"},"idInventarioClasificacion":{"type":"integer","format":"int64"},"idCentroCosto":{"type":"integer","format":"int64"},"idInventarioGrupo":{"type":"integer","format":"int64"},"idInventarioTipoImpuestoVenta":{"type":"integer","format":"int64"},"idContabilizacion":{"type":"integer","format":"int64"}},"description":"Datos de inventario"},"CentroCostoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"}}},"ContabilizacionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"},"senDeSistema":{"type":"boolean"}}},"ImpuestoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tipo":{"type":"string","enum":["IVA","ICA","IMPOCONSUMONACIONAL","IMPOCONSUMODISTRITAL","IMPOCONSUMOADVALOREM","IMPOCONSUMOADVALOREM_PCJ","IMPOCONSUMOBOLSAS","IMPUESTONACIONALALAGASOLINAYACPM","RETEFUENTE","RETEIVA","RETEICA","AUTORRETENCIONRENTA","IMPOBEBIDASAZUCARADAS","IMPOCOMESTIBLESULTRAPROCESADOS","CUOTADEFOMENTOHORTIFRUTICOLA"]},"nombre":{"type":"string"},"tipoCobro":{"type":"string","enum":["PORCENTAJE","VALOR"]},"tarifa":{"type":"number"},"empresas":{"type":"array","items":{"type":"integer","format":"int64"}}}},"InventarioClasificacionPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"senAfectaCostoPromedio":{"type":"boolean"},"senDeSistema":{"type":"boolean"},"codigo":{"type":"string"}}},"InventarioGrupoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombreGrupo":{"type":"string"},"folder":{"type":"boolean"},"seleccionado":{"type":"boolean"},"senActivo":{"type":"boolean"},"padre":{"$ref":"#/components/schemas/InventarioGrupoPojo"},"cantidadHijos":{"type":"integer","format":"int64"},"borrador":{"type":"boolean"}}},"InventarioImpuestoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"valor":{"type":"number"},"senSumaAlCosto":{"type":"boolean"},"idProceso":{"type":"integer","format":"int64"},"impuesto":{"$ref":"#/components/schemas/ImpuestoPojo"},"empresas":{"type":"array","items":{"$ref":"#/components/schemas/EmpresaPojo"}},"inventarioTipoImpuestoVenta":{"$ref":"#/components/schemas/InventarioTipoImpuestoVentaPojo"},"muestraAlerta":{"type":"boolean"}}},"InventarioPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"codigoInternacional":{"type":"string"},"descripcion":{"type":"string"},"unidadMedida":{"$ref":"#/components/schemas/UnidadMedidaPojo"},"senActivo":{"type":"boolean"},"inventarioClasificacion":{"$ref":"#/components/schemas/InventarioClasificacionPojo"},"centroCosto":{"$ref":"#/components/schemas/CentroCostoPojo"},"contabilizacion":{"$ref":"#/components/schemas/ContabilizacionPojo"},"senFacturarSinExistencias":{"type":"boolean"},"senManejaSeriales":{"type":"boolean"},"perteneceAUnProducto":{"type":"boolean"},"utilidadEstimada":{"type":"number"},"impuestos":{"type":"array","items":{"$ref":"#/components/schemas/InventarioImpuestoPojo"}},"atributos":{"type":"boolean"},"senManejaLotes":{"type":"boolean"},"senFavorito":{"type":"boolean"},"senNoModificable":{"type":"boolean"},"senManejaTallaColor":{"type":"boolean"},"senVerEnPos":{"type":"boolean"},"fechaInicioTallaColor":{"type":"string"},"fechaInicioSeriales":{"type":"string"},"fechaInicioLotes":{"type":"string"},"grupo":{"type":"array","items":{"$ref":"#/components/schemas/InventarioGrupoPojo"}},"fechaInicioPerteneceAUnProducto":{"type":"string"}}},"InventarioTipoImpuestoVentaPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"tipo":{"type":"string","enum":["GRAVADO","EXENTO","EXCLUIDO","NO_GRAVADO","AUI_GRAVADO"]},"ubicacionPais":{"$ref":"#/components/schemas/UbicacionPaisPojo"}}},"ResponseAPIInventarioPojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/InventarioPojo"}}},"UnidadMedidaAdministradorImpuestosPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"descripcion":{"type":"string"}}},"UnidadMedidaPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"codigo":{"type":"string"},"senDeSistema":{"type":"boolean"},"unidadMedidaTipo":{"$ref":"#/components/schemas/UnidadMedidaTipoPojo"},"unidadMedidaAdministradorImpuestos":{"$ref":"#/components/schemas/UnidadMedidaAdministradorImpuestosPojo"},"unidadMedidaBaseId":{"type":"integer","format":"int64"},"factor":{"type":"number"}}},"UnidadMedidaTipoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"}}},"EditarHistoriaClinicaRequest":{"required":["idterceroActual","idterceroNuevo"],"type":"object","properties":{"idterceroActual":{"minimum":1,"type":"integer","format":"int64"},"idterceroNuevo":{"minimum":1,"type":"integer","format":"int64"}}},"HistoriaClinicaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"tenantId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"ErrorResponse":{"type":"object","properties":{"errorCode":{"type":"string","enum":["HC_YA_EXISTE","HC_NOT_FOUND","HC_CON_MOVIMIENTOS","ATENCION_NOT_FOUND","ATENCION_CON_REGISTROS","SIGNOS_YA_EXISTEN","VALIDATION_ERROR","TERCERO_NOT_FOUND","INVENTARIO_NOT_FOUND","ALERGIA_NOT_FOUND","ANTECEDENTE_NOT_FOUND","GRUPO_SANGUINEO_NOT_FOUND","GRUPO_SANGUINEO_YA_EXISTE","GRUPO_SANGUINEO_REQUERIDO","RECORDATORIO_NOT_FOUND","ADJUNTO_NOT_FOUND","LIMITE_ADJUNTOS_EXCEDIDO"]},"mensaje":{"type":"string"}}},"IdResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}},"AcompananteRequest":{"required":["nombre","parentesco"],"type":"object","properties":{"parentesco":{"type":"string","enum":["PADRE","MADRE","CONYUGE","HIJO_A","ABUELO_A","AMIGO_A","HERMANO_A","OTRO"]},"nombre":{"maxLength":200,"minLength":0,"type":"string"},"numero":{"maxLength":20,"minLength":0,"type":"string"}},"description":"Información del acompañante del paciente en la atención"},"ConceptoFacturadoRequest":{"required":["cantidad","codigoCups","descripcion"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigoCups":{"maxLength":10,"minLength":0,"type":"string"},"descripcion":{"maxLength":500,"minLength":0,"type":"string"},"cantidad":{"minimum":1,"type":"integer","format":"int32"},"valor":{"minimum":0,"exclusiveMinimum":false,"type":"number"}}},"CrearAtencionCompletaRequest":{"required":["diagnosticos","enfermedadActual","fechaHoraAtencion","idhistoriaClinica","motivoConsulta"],"type":"object","properties":{"idhistoriaClinica":{"minimum":1,"type":"integer","format":"int64"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"servicioPrestado":{"type":"integer","format":"int64"},"profesional":{"type":"integer","format":"int64"},"citaId":{"type":"integer","format":"int64"},"motivoConsulta":{"$ref":"#/components/schemas/MotivoConsultaRequest"},"enfermedadActual":{"$ref":"#/components/schemas/EnfermedadActualRequest"},"signosVitales":{"$ref":"#/components/schemas/SignosVitalesRequest"},"diagnosticos":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/DiagnosticoRequest"}},"formulacionMedica":{"type":"array","items":{"$ref":"#/components/schemas/FormulacionMedicaRequest"}},"conceptosFacturados":{"type":"array","items":{"$ref":"#/components/schemas/ConceptoFacturadoRequest"}}},"description":"Consolida en una única solicitud transaccional todos los requests que los endpoints individuales aceptan por separado. - Atención base    → equivale al body de `POST /atenciones` - motivoConsulta   → equivale al body de `POST /atenciones/{atencionId}/motivo-consulta` - enfermedadActual → equivale al body de `POST /atenciones/{atencionId}/enfermedad-actual` - signosVitales    → equivale al body de `POST /atenciones/{atencionId}/signos-vitales` - diagnosticos     → equivale a N llamadas a `POST /atenciones/{atencionId}/diagnosticos` - formulacionMedica     → equivale a N llamadas a `POST /atenciones/{atencionId}/formulacion-medica` - conceptosFacturados   → equivale a N llamadas a `POST /atenciones/{atencionId}/conceptos-facturados`  Si cualquier validación falla, no se persiste ningún dato. "},"DiagnosticoRequest":{"required":["diagnostico","tipoDiagnostico"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"diagnostico":{"maxLength":1000,"minLength":0,"type":"string"},"tipoDiagnostico":{"type":"string","enum":["OPTOMETRIA","AUDIOLOGIA","LABORATORIOS","OTROS"]}}},"EnfermedadActualRequest":{"required":["descripcion"],"type":"object","properties":{"descripcion":{"maxLength":1000,"minLength":0,"type":"string"},"sistemas":{"type":"array","items":{"$ref":"#/components/schemas/RevisionSistemaRequest"}}}},"FormulacionMedicaRequest":{"required":["cantidad","concentracion","descuento","dosis","forma","frecuencia","indicacionesMedicamento","inventarioId","medicamento","posologiaIndicaciones","senFacturar","valor","via"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"inventarioId":{"type":"integer","format":"int64"},"senFacturar":{"type":"boolean"},"indicacionesMedicamento":{"maxLength":1000,"minLength":0,"type":"string"},"medicamento":{"maxLength":255,"minLength":0,"type":"string"},"cantidad":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"valor":{"minimum":0,"exclusiveMinimum":false,"type":"number"},"descuento":{"maximum":100,"exclusiveMaximum":false,"minimum":0,"exclusiveMinimum":false,"type":"number"},"concentracion":{"maxLength":20,"minLength":0,"type":"string"},"forma":{"type":"string","enum":["TABLETA","JARABE","INYECTABLE","CREMA","CAPSULA","OTRO"]},"via":{"type":"string","enum":["ORAL","IV","IM","SUBCUTANEA","TOPICA"]},"dosis":{"maxLength":100,"minLength":0,"type":"string"},"posologiaIndicaciones":{"maxLength":1000,"minLength":0,"type":"string"},"frecuencia":{"maxLength":1000,"minLength":0,"type":"string"}},"description":"Si `senFacturar=true`: `cantidad` y `valor` son obligatorios. Si `senFacturar=false`: campos de facturación opcionales. "},"MotivoConsultaRequest":{"required":["tipoConsulta"],"type":"object","properties":{"tipoConsulta":{"type":"string","enum":["PRIMERA_VEZ","CONTROL","URGENCIA","INTERCONSULTA","OTRO"]},"descripcion":{"maxLength":1000,"minLength":0,"type":"string"},"conAcompanante":{"type":"boolean"},"acompanante":{"$ref":"#/components/schemas/AcompananteRequest"}}},"RevisionSistemaRequest":{"required":["descripcion","sistema"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sistema":{"type":"string","enum":["REVISION_POR_SISTEMAS","CARDIOVASCULAR","RESPIRATORIO","DIGESTIVO","NEUROLOGICO","OSTEOMUSCULAR","GENITOURINARIO","PIEL_Y_ANEXOS","ENDOCRINO","PSIQUIATRICO"]},"descripcion":{"maxLength":500,"minLength":0,"type":"string"}},"description":"Sistema clínico seleccionado con su descripción en la revisión por sistemas de enfermedad actual"},"SignosVitalesRequest":{"type":"object","properties":{"observacion":{"maxLength":500,"minLength":0,"type":"string"},"tensionArterialSistolica":{"type":"integer","format":"int32"},"tensionArterialDiastolica":{"type":"integer","format":"int32"},"frecuenciaCardiaca":{"type":"integer","format":"int32"},"frecuenciaRespiratoria":{"type":"integer","format":"int32"},"temperatura":{"type":"integer","format":"int32"},"peso":{"type":"integer","format":"int32"},"talla":{"type":"integer","format":"int32"},"glucometria":{"type":"integer","format":"int32"}},"description":"Todos los campos clínicos son opcionales"},"GrupoSanguineoRequest":{"required":["grupoSanguineo","idtercero"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"},"grupoSanguineo":{"type":"string","enum":["A_POSITIVO","A_NEGATIVO","B_POSITIVO","B_NEGATIVO","AB_POSITIVO","AB_NEGATIVO","O_POSITIVO","O_NEGATIVO"]}}},"GrupoSanguineoPacienteResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"grupoSanguineo":{"type":"string"},"codigoGrupoSanguineo":{"type":"string"},"definido":{"type":"boolean"},"mensaje":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"AtencionResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idhistoriaClinica":{"type":"integer","format":"int64"},"tenantId":{"type":"string"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"servicioPrestado":{"type":"integer","format":"int32"},"profesional":{"type":"integer","format":"int32"}}},"EditarAtencionRequest":{"type":"object","properties":{"fechaHoraAtencion":{"type":"string","format":"date-time"},"servicioPrestado":{"type":"integer","format":"int32"},"profesional":{"type":"integer","format":"int32"}}},"SignosVitalesResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idAtencion":{"type":"integer","format":"int64"},"observacion":{"type":"string"},"tensionArterialSistolica":{"type":"integer","format":"int32"},"tensionArterialDiastolica":{"type":"integer","format":"int32"},"frecuenciaCardiaca":{"type":"integer","format":"int32"},"frecuenciaRespiratoria":{"type":"integer","format":"int32"},"temperatura":{"type":"integer","format":"int32"},"peso":{"type":"integer","format":"int32"},"talla":{"type":"integer","format":"int32"},"glucometria":{"type":"integer","format":"int32"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}}},"AcompananteResponse":{"type":"object","properties":{"parentesco":{"type":"string","enum":["PADRE","MADRE","CONYUGE","HIJO_A","ABUELO_A","AMIGO_A","HERMANO_A","OTRO"]},"nombre":{"type":"string"},"numero":{"type":"string"}},"description":"Información del acompañante del paciente en la atención"},"MotivoConsultaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idhistoriaClinicaAtencion":{"type":"integer","format":"int64"},"tipoConsulta":{"type":"string","enum":["PRIMERA_VEZ","CONTROL","URGENCIA","INTERCONSULTA","OTRO"]},"descripcion":{"type":"string"},"conAcompanante":{"type":"boolean"},"acompanante":{"$ref":"#/components/schemas/AcompananteResponse"}}},"FormulacionMedicaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idhistoriaClinicaAtencion":{"type":"integer","format":"int64"},"inventarioId":{"type":"integer","format":"int64"},"senFacturar":{"type":"boolean"},"indicacionesMedicamento":{"type":"string"},"medicamento":{"type":"string"},"cantidad":{"type":"number"},"valor":{"type":"number"},"descuento":{"type":"number"},"concentracion":{"type":"string"},"forma":{"type":"string","enum":["TABLETA","JARABE","INYECTABLE","CREMA","CAPSULA","OTRO"]},"via":{"type":"string","enum":["ORAL","IV","IM","SUBCUTANEA","TOPICA"]},"dosis":{"type":"string"},"posologiaIndicaciones":{"type":"string"},"frecuencia":{"type":"string"}}},"EnfermedadActualResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idhistoriaClinicaAtencion":{"type":"integer","format":"int64"},"descripcion":{"type":"string"},"sistemas":{"type":"array","items":{"$ref":"#/components/schemas/RevisionSistemaResponse"}}}},"RevisionSistemaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sistema":{"type":"string","enum":["REVISION_POR_SISTEMAS","CARDIOVASCULAR","RESPIRATORIO","DIGESTIVO","NEUROLOGICO","OSTEOMUSCULAR","GENITOURINARIO","PIEL_Y_ANEXOS","ENDOCRINO","PSIQUIATRICO"]},"descripcion":{"type":"string"}},"description":"Sistema clínico revisado con su descripción"},"DiagnosticoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"historiaClinicaAtencion":{"type":"integer","format":"int64"},"diagnostico":{"type":"string"},"tipoDiagnostico":{"type":"string","enum":["OPTOMETRIA","AUDIOLOGIA","LABORATORIOS","OTROS"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}}},"ConceptoFacturadoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idhistoriaClinicaAtencion":{"type":"integer","format":"int64"},"codigoCups":{"type":"string"},"descripcion":{"type":"string"},"cantidad":{"type":"integer","format":"int32"},"valor":{"type":"number"}}},"ReemplazarFacturacionAtencionesRequest":{"required":["atencionIds","fechaFacturacion"],"type":"object","properties":{"atencionIds":{"type":"array","items":{"type":"integer","format":"int64"}},"numeroFactura":{"type":"integer","format":"int64"},"prefijoFactura":{"maxLength":50,"minLength":0,"type":"string"},"fechaFacturacion":{"type":"string","format":"date-time"}}},"AntecedentePatologicoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"cirugiaHospitalizacion":{"type":"string"},"fecha":{"type":"string","format":"date"},"medicacion":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}}},"AntecedentePatologicoRequest":{"required":["idtercero"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"},"cirugiaHospitalizacion":{"maxLength":500,"minLength":0,"type":"string"},"fecha":{"type":"string","format":"date"},"medicacion":{"maxLength":500,"minLength":0,"type":"string"}}},"AntecedenteNoPatologicoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"tabaquismo":{"type":"string"},"alcoholismo":{"type":"string"},"sustanciasPsicoactivas":{"type":"string"},"actividadFisica":{"type":"string"},"ocupacion":{"type":"string"},"escolaridad":{"type":"string"},"observacionGeneral":{"type":"string"}}},"AntecedenteNoPatologicoRequest":{"required":["idtercero"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"},"tabaquismo":{"type":"string","enum":["NUNCA","DIARIO","OCASIONAL","POCO_OCASIONAL"]},"alcoholismo":{"type":"string","enum":["NUNCA","FRECUENTE","OCASIONAL","POCO_OCASIONAL"]},"sustanciasPsicoactivas":{"type":"string","enum":["NUNCA","FRECUENTE","OCASIONAL","POCO_OCASIONAL"]},"actividadFisica":{"type":"string","enum":["SEDENTARIO","ACTIVIDAD_LEVE","ACTIVIDAD_MODERADA","ACTIVIDAD_INTENSA_FRECUENTE"]},"ocupacion":{"maxLength":200,"minLength":0,"type":"string"},"escolaridad":{"type":"string","enum":["PRIMARIA","SECUNDARIA","TECNICO","TECNOLOGO","UNIVERSITARIA","POSTGRADO","MAESTRIA"]},"observacionGeneral":{"maxLength":1000,"minLength":0,"type":"string"}}},"AntecedenteFamiliarResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"tipoFamiliar":{"type":"string","enum":["PADRE","MADRE","ABUELO_PATERNO","ABUELA_PATERNA","ABUELO_MATERNO","ABUELA_MATERNA","HERMANO_A","OTRO"]},"descripcion":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}}},"AntecedenteFamiliarRequest":{"required":["idtercero","tipoFamiliar"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"},"tipoFamiliar":{"type":"string","enum":["PADRE","MADRE","ABUELO_PATERNO","ABUELA_PATERNA","ABUELO_MATERNO","ABUELA_MATERNA","HERMANO_A","OTRO"]},"descripcion":{"maxLength":1000,"minLength":0,"type":"string"}}},"AlergiaPacienteResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"idAlergia":{"type":"integer","format":"int64"},"nombreAlergia":{"type":"string"},"fechaEstimadaDeteccion":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}}},"AlergiaPacienteRequest":{"required":["fechaEstimadaDeteccion","idAlergia","idtercero"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"},"idAlergia":{"minimum":1,"type":"integer","format":"int64"},"fechaEstimadaDeteccion":{"type":"string","format":"date-time"}}},"CrearCuentaContablePojo":{"required":["codigo","idCuentaContableGrupo","idCuentaContableTipo","idSubCuentaContable","nombre"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"},"idSubCuentaContable":{"type":"integer","format":"int64"},"idCuentaContableTipo":{"type":"integer","format":"int64"},"idCuentaContableGrupo":{"type":"integer","format":"int64"},"senVisible":{"type":"boolean"},"senActivo":{"type":"boolean"},"senDetalleTercero":{"type":"boolean"},"getsenManejaCentroCosto":{"type":"boolean"},"senAutoretencion":{"type":"boolean"},"idConceptoRetencion":{"type":"integer","format":"int64"}},"description":"Datos de cuenta contable"},"CuentaContableClasificacionNiifPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"orden":{"type":"integer","format":"int32"}}},"CuentaContableConceptoNiifPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"orden":{"type":"integer","format":"int32"}}},"CuentaContableGrupoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"},"senRetencion":{"type":"boolean"}}},"CuentaContablePojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"},"subCuentaContable":{"$ref":"#/components/schemas/SubCuentaContablePojo"},"cuentaContableTipo":{"$ref":"#/components/schemas/CuentaContableTipoPojo"},"cuentaContableGrupo":{"$ref":"#/components/schemas/CuentaContableGrupoPojo"},"cuentaContableClasificacionNiif":{"$ref":"#/components/schemas/CuentaContableClasificacionNiifPojo"},"cuentaContableConceptoNiif":{"$ref":"#/components/schemas/CuentaContableConceptoNiifPojo"},"senVisible":{"type":"boolean"},"senActivo":{"type":"boolean"},"senDetalleTercero":{"type":"boolean"},"getsenManejaCentroCosto":{"type":"boolean"},"senAutoretencion":{"type":"boolean"},"codigoConcepto":{"type":"string"}}},"CuentaContableTipoPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"},"cuentaContableNaturaleza":{"type":"string"}}},"ResponseAPICuentaContablePojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/CuentaContablePojo"}}},"SubCuentaContablePojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"nombre":{"type":"string"}}},"CrearDocumentoPagoAPI":{"type":"object","properties":{"formaPagoId":{"type":"integer","format":"int64"},"numeroDocumento":{"type":"string"},"fechaVencimiento":{"type":"string"},"terceroId":{"type":"integer","format":"int64"}}},"CrearDocumentoRecaudosAPI":{"required":["documentoTipo","empresaId","fecha","terceroId"],"type":"object","properties":{"documentoId":{"type":"integer","format":"int64"},"documentoTipo":{"type":"string"},"fecha":{"type":"string"},"empresaId":{"type":"integer","format":"int64"},"terceroId":{"type":"integer","format":"int64"},"prefijoId":{"type":"integer","format":"int64"},"concepto":{"type":"string"},"asientos":{"type":"array","items":{"$ref":"#/components/schemas/CrearMovimientoContableAPI"}},"cuentasId":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CrearMovimientoContableAPI":{"required":["cuentaContableId","fechaVencimiento","formaPago","valorCredito","valorDebito"],"type":"object","properties":{"asientoId":{"type":"integer","format":"int64"},"cuentaContableId":{"type":"integer","format":"int64"},"concepto":{"maxLength":500,"minLength":0,"type":"string"},"terceroId":{"type":"integer","format":"int64"},"valorDebito":{"type":"number"},"valorCredito":{"type":"number"},"centroCostosId":{"type":"integer","format":"int64"},"fechaVencimiento":{"pattern":"^(\\d{4})-(\\d{2})-(\\d{2})$","type":"string"},"retencionBase":{"type":"number"},"retencionPorcentaje":{"type":"number"},"formaPago":{"$ref":"#/components/schemas/CrearDocumentoPagoAPI"}}},"ConfiguracionInventarioDianDTO":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"codigoInventarioDian":{"type":"string"},"inventarioId":{"type":"integer","format":"int64"},"configuracionProveedorDianId":{"type":"string","format":"uuid"},"nombreInventarioCloud":{"type":"string"},"codigoInventarioCloud":{"type":"string"},"version":{"type":"integer","format":"int64"},"tarifaImpuesto":{"$ref":"#/components/schemas/TarifaImpuestoDTO"}}},"ConfiguracionProveedorDianDTO":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"terceroId":{"type":"integer","format":"int64"},"inventariosDian":{"type":"array","items":{"$ref":"#/components/schemas/ConfiguracionInventarioDianDTO"}},"activo":{"type":"boolean"},"isGeneralizado":{"type":"boolean"},"version":{"type":"integer","format":"int64"}}},"TarifaImpuestoDTO":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"impuestoTipo":{"type":"string"},"valorTarifa":{"type":"number"},"activo":{"type":"boolean"}}},"ApiResponseDTOConfiguracionProveedorDianDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ConfiguracionProveedorDianDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"ApiResponseDTOConfiguracionDianEmpresaDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ConfiguracionDianEmpresaDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"ListaDocumentoEncabezadoPojo":{"type":"object","properties":{"creadoPor":{"type":"string"},"modificadoPor":{"type":"string"},"fechaCreacion":{"type":"string"},"fechaModificacion":{"type":"string"},"id":{"type":"integer","format":"int64"},"prefijo":{"type":"string"},"idPrefijo":{"type":"integer","format":"int64"},"numero":{"type":"integer","format":"int64"},"fecha":{"type":"string"},"empresa":{"type":"string"},"empresaPrefijo":{"type":"string"},"idEmpresa":{"type":"integer","format":"int64"},"terceroExterno":{"type":"string"},"primerNombreTerceroExterno":{"type":"string"},"segundoNombreTerceroExterno":{"type":"string"},"primerApellidoTerceroExterno":{"type":"string"},"segundoApellidoTerceroExterno":{"type":"string"},"idTerceroExterno":{"type":"integer","format":"int64"},"terceroInterno":{"type":"string"},"primerNombreTerceroInterno":{"type":"string"},"segundoNombreTerceroInterno":{"type":"string"},"primerApellidoTerceroInterno":{"type":"string"},"segundoApellidoTerceroInterno":{"type":"string"},"idTerceroInterno":{"type":"integer","format":"int64"},"formaPago":{"type":"string"},"idFormaPago":{"type":"integer","format":"int64"},"concepto":{"type":"string"},"responsable":{"type":"string"},"senContabilizado":{"type":"boolean"},"senCuadrado":{"type":"boolean"},"senPresentadoElectronicamente":{"type":"boolean"},"senAnulado":{"type":"boolean"},"senContabilizacionDuplicada":{"type":"boolean"},"modoGeneracionDocumento":{"type":"string","enum":["MANUAL","AUTOMATICO","GENERADO_SISTEMA","ANTICIPO","ESTADO_CUENTA","DIFERENCIA_CAMBIO","API","IMPORTACION","AMORTIZACION_DIFERIDO","NE_PAGO_SUELDO","NE_PAGO_APORTES","NE_PAGO_PRESTACIONES_SOCIALES","PILA"]},"prefijoExterno":{"type":"string"},"numeroExterno":{"type":"string"},"codigoMoneda":{"type":"string"},"moneda":{"$ref":"#/components/schemas/MonedaPojo"},"cantidad":{"type":"number"},"valorTotal":{"type":"number"},"valorCredito":{"type":"number"},"valorDebito":{"type":"number"},"diferencia":{"type":"number"},"terminal":{"type":"string"}}},"ResponseAPIListaDocumentoEncabezadoPojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/ListaDocumentoEncabezadoPojo"}}},"ActualizarHorarioProfesionalEspacioRequest":{"required":["dia","hora_fin","hora_inicio"],"type":"object","properties":{"espacio_id":{"type":"integer","format":"int64"},"sede_id":{"type":"integer","format":"int64"},"dia":{"type":"string"},"hora_inicio":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"hora_fin":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"}}},"WrapperBaseResponseVoid":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"type":"object"}}},"FiltroWo":{"type":"object","properties":{"atributo":{"type":"string"},"valor":{"type":"string"},"tipoFiltro":{"type":"string","enum":["IGUAL","CONTIENE","MENOR_QUE","MAYOR_QUE","EMPIEZA_CON","MAYOR_O_IGUAL","MENOR_O_IGUAL","TERMINA_CON","ENTRE","IS_NULL","LENGTH","DIFERENTE","IS_NOT_NULL","LENGTH_IGUAL","NO_EMPIEZA_CON"]},"tipoDato":{"type":"string","enum":["STRING","BOOLEAN","NUMERIC","FECHA","LONG","LISTA","IN","NOT_IN","ENUM","ENTIDAD","ARRAY_INT"]},"valor2":{"type":"string"},"operador":{"type":"string","enum":["AND","OR"]},"clase":{"type":"string"},"valores":{"type":"array","items":{"type":"string"}},"subGrupo":{"type":"string"},"valorEnum":{"type":"object"}}},"PaginacionWo":{"type":"object","properties":{"pagina":{"type":"integer","format":"int32"},"registroInicial":{"type":"integer","format":"int32"},"registrosPorPagina":{"type":"integer","format":"int32"},"columnaOrdenar":{"type":"string"},"orden":{"type":"string","enum":["ASC","DESC"]},"filtros":{"type":"array","items":{"$ref":"#/components/schemas/FiltroWo"}},"totalElementos":{"type":"integer","format":"int32"},"canal":{"type":"string","enum":["WEB","MOBILE","POS","API","MCP"]}},"description":"<div id='DatosPaginar'>Datos de paginación en formato json con los siguientes campos:<br><cite>columnaOrdenar</cite> -> campo por el que se ordena la respuesta (id, codigo, nombre),<br><cite>pagina</cite> -> numero de pagina a visializar,<br><cite>registrosPorPagina</cite> -> numero de pagina a retornar,<br><cite>orden</cite> -> tipo de orden (ASC - DESC)<br></div>"},"PageObject":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"type":"object"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageableObject":{"type":"object","properties":{"pageNumber":{"type":"integer","format":"int32"},"offset":{"type":"integer","format":"int64"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"pageSize":{"type":"integer","format":"int32"},"paged":{"type":"boolean"},"unpaged":{"type":"boolean"}}},"ResponsePagAPI":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/PageObject"}}},"SortObject":{"type":"object","properties":{"direction":{"type":"string"},"nullHandling":{"type":"string"},"ascending":{"type":"boolean"},"property":{"type":"string"},"ignoreCase":{"type":"boolean"}}},"PageImpl":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object"}},"pageable":{"$ref":"#/components/schemas/PageableObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"first":{"type":"boolean"},"empty":{"type":"boolean"}}},"RecordatorioRequest":{"required":["categoria","fechaVencimiento","idprofesional","idtercero","nombre"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"},"idprofesional":{"minimum":1,"type":"integer","format":"int64"},"nombre":{"type":"string"},"descripcion":{"type":"string"},"categoria":{"type":"string","enum":["FAMILIA","VIAJES","TRABAJO","OBJETIVO","SITUACION_IMPORTANTE"]},"fechaVencimiento":{"type":"string","format":"date"}}},"HcPaginableFiltroRequest":{"type":"object","properties":{"campo":{"type":"string"},"valor":{"type":"string"},"tipo_filtro":{"type":"string","enum":["IGUAL","MAYOR_QUE","MENOR_QUE","MAYOR_O_IGUAL","MENOR_O_IGUAL","LIKE","IN"]}}},"HcPaginableRequest":{"type":"object","properties":{"pagina":{"type":"integer","format":"int32"},"registros_por_pagina":{"type":"integer","format":"int32"},"columna_ordenar":{"type":"string"},"orden":{"type":"string","enum":["ASC","DESC"]},"filtros":{"type":"array","items":{"$ref":"#/components/schemas/HcPaginableFiltroRequest"}},"search":{"type":"string"}}},"HcPaginaResponseRecordatorioResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/RecordatorioResponse"}}}},"RecordatorioResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"idprofesional":{"type":"integer","format":"int64"},"nombreCompleto":{"type":"string"},"nombre":{"type":"string"},"descripcion":{"type":"string"},"resuelto":{"type":"boolean"},"oculto":{"type":"boolean"},"fechaVencimiento":{"type":"string","format":"date"},"categoria":{"type":"string"},"categoriaDescripcion":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"WoImportacionResponse":{"type":"object","properties":{"jobId":{"type":"string"},"tipoMigracion":{"type":"string"},"mensaje":{"type":"string"},"estado":{"type":"string"}}},"JsonNode":{"type":"object"},"CrearHistoriaClinicaRequest":{"required":["idtercero"],"type":"object","properties":{"idtercero":{"minimum":1,"type":"integer","format":"int64"}}},"HcPaginaResponseHistoriaClinicaResumenResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/HistoriaClinicaResumenResponse"}}}},"HistoriaClinicaResumenResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"terceroId":{"type":"integer","format":"int64"},"profesionalId":{"type":"integer","format":"int64"},"ultimaAtencion":{"type":"string","format":"date-time"},"estado":{"type":"string","enum":["COMPLETADO","PENDIENTE_REVISION"]}}},"HcPaginaResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"type":"object"}}}},"CrearAtencionRequest":{"required":["fechaHoraAtencion","idhistoriaClinica"],"type":"object","properties":{"idhistoriaClinica":{"minimum":1,"type":"integer","format":"int64"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"servicioPrestado":{"type":"integer","format":"int32"},"profesional":{"type":"integer","format":"int32"}}},"RegistrarFacturaRequest":{"required":["documentoEncabezadoId","fechaFacturacion","numeroFactura"],"type":"object","properties":{"documentoEncabezadoId":{"type":"integer","format":"int64"},"numeroFactura":{"type":"integer","format":"int64"},"prefijoFactura":{"maxLength":50,"minLength":0,"type":"string"},"fechaFacturacion":{"type":"string","format":"date-time"}}},"AdjuntoArchivoRequest":{"required":["nombreArchivo","peso","rutaArchivo"],"type":"object","properties":{"nombreArchivo":{"maxLength":255,"minLength":0,"type":"string"},"peso":{"type":"integer","format":"int64"},"rutaArchivo":{"maxLength":500,"minLength":0,"type":"string"},"contentType":{"maxLength":150,"minLength":0,"type":"string"}}},"RegistrarAdjuntosRequest":{"required":["archivos","tipoDocumento"],"type":"object","properties":{"tipoDocumento":{"type":"string","enum":["RESULTADO_LABORATORIO","IMAGEN_DIAGNOSTICA","FORMULA_MEDICA","CONSENTIMIENTO_INFORMADO","REMISION_O_INTERCONSULTA","INCAPACIDAD_MEDICA","OTRO"]},"descripcion":{"maxLength":1000,"minLength":0,"type":"string"},"archivos":{"maxItems":10,"minItems":0,"type":"array","items":{"$ref":"#/components/schemas/AdjuntoArchivoRequest"}}}},"AdjuntoAtencionResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idAtencion":{"type":"integer","format":"int64"},"nombreArchivo":{"type":"string"},"peso":{"type":"integer","format":"int64"},"pesoLegible":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"tipoDocumento":{"type":"string"},"tipoDocumentoDescripcion":{"type":"string"},"descripcion":{"type":"string"},"rutaArchivo":{"type":"string"},"contentType":{"type":"string"}}},"AtencionesFacturablesRequest":{"required":["idterceros"],"type":"object","properties":{"idterceros":{"type":"array","items":{"type":"integer","format":"int64"}},"desde":{"type":"string","format":"date-time"},"hasta":{"type":"string","format":"date-time"},"sinFecha":{"type":"boolean"}}},"AtencionFacturableResponse":{"type":"object","properties":{"atencionId":{"type":"integer","format":"int64"},"historiaClinicaId":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"profesional":{"type":"integer","format":"int64"},"servicioPrestado":{"type":"integer","format":"int64"},"citaId":{"type":"integer","format":"int64"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"tipoConsulta":{"type":"string"},"documentoEncabezadoId":{"type":"integer","format":"int64"},"numeroFactura":{"type":"integer","format":"int64"},"prefijoFactura":{"type":"string"},"fechaFacturacion":{"type":"string","format":"date-time"},"conceptos":{"type":"array","items":{"$ref":"#/components/schemas/ConceptoFacturadoResponse"}},"formulacionMedica":{"type":"array","items":{"$ref":"#/components/schemas/FormulacionMedicaResponse"}}}},"AdjuntoDocumentoClinicoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idAtencion":{"type":"integer","format":"int64"},"nombreArchivo":{"type":"string"},"peso":{"type":"integer","format":"int64"},"pesoLegible":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"tipoDocumento":{"type":"string"},"tipoDocumentoDescripcion":{"type":"string"},"descripcion":{"type":"string"},"rutaArchivo":{"type":"string"},"contentType":{"type":"string"},"atencionOrigen":{"type":"string","format":"date-time"},"profesionalId":{"type":"integer","format":"int64"},"cargadoPor":{"type":"string"}}},"HcPaginaResponseAdjuntoDocumentoClinicoResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/AdjuntoDocumentoClinicoResponse"}}}},"DatosBasicosApiPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"idTercero":{"type":"integer","format":"int64"},"fechaNacimiento":{"pattern":"^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$","type":"string"},"idLugarNacimiento":{"type":"integer","format":"int64"},"idGenero":{"type":"integer","format":"int64"},"idEstadoCivil":{"type":"integer","format":"int64"},"libretaMilitar":{"pattern":"\\d+","type":"string"},"senExtranjero":{"type":"boolean"},"senNacionalResidenteExterior":{"type":"boolean"},"idBanco":{"type":"integer","format":"int64"},"idTipoCuenta":{"type":"integer","format":"int64"},"numeroCuenta":{"pattern":"\\d+","type":"string"},"idFormaPago":{"type":"integer","format":"int64"}}},"ResponseAPIResultadoFEPojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/ResultadoFEPojo"}}},"ResultadoFEPojo":{"type":"object","properties":{"error":{"type":"boolean","xml":{"name":"Error","namespace":"http://schemas.datacontract.org/2004/07/WoLicencias.Services.DataType.Transversales"}},"mensaje":{"type":"string","xml":{"name":"Mensaje","namespace":"http://schemas.datacontract.org/2004/07/WoLicencias.Services.DataType.Transversales"}},"entero":{"type":"integer","format":"int64","xml":{"name":"Entero","namespace":"http://schemas.datacontract.org/2004/07/WoLicencias.Services.DataType.Transversales"}},"codError":{"type":"string","xml":{"name":"CodError","namespace":"http://schemas.datacontract.org/2004/07/WoLicencias.Services.DataType.Transversales"}},"technicalMessage":{"type":"string"},"codigoError":{"type":"string"},"cufe":{"type":"string"}}},"RespuestaEnvioDto":{"type":"object","properties":{"flagProcessOk":{"type":"boolean"},"msg":{"type":"string"},"codigoError":{"type":"string"}}},"ObtenerXmlFacturasRequestDTO":{"required":["cufes"],"type":"object","properties":{"cufes":{"type":"array","items":{"type":"string"}}}},"ApiResponseDTOListString":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"string"}},"message":{"type":"string"},"errorCode":{"type":"string"}}},"SearchInvoicesRequestDTO":{"required":["clientLicense","endDate","idEmpresa","startDate"],"type":"object","properties":{"clientLicense":{"type":"string"},"idEmpresa":{"type":"integer","format":"int64"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"page":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"filters":{"type":"object","additionalProperties":{"type":"object"}}}},"ApiResponseDTOSearchInvoicesResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/SearchInvoicesResponseDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"ErrorSyncModel":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"type":"object"}},"solved":{"type":"boolean"}}},"InvoiceDocumentDTO":{"type":"object","properties":{"id":{"type":"string"},"cufe":{"type":"string"},"prefijo":{"type":"string"},"numero":{"type":"integer","format":"int64"},"issue_date":{"type":"string"},"registration_name":{"type":"string"},"company_id":{"type":"string"},"payable_amount":{"type":"string"},"sync_status":{"type":"string"},"document_number":{"type":"string"},"errors_sync":{"type":"array","items":{"$ref":"#/components/schemas/ErrorSyncModel"}},"documento_encabezado_id":{"type":"integer","format":"int64"},"id_empresa":{"type":"integer","format":"int64"}}},"SearchInvoicesResponseDTO":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceDocumentDTO"}},"total":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int32"},"page_size":{"type":"integer","format":"int32"},"total_pages":{"type":"integer","format":"int32"},"has_next":{"type":"boolean"},"has_previous":{"type":"boolean"}}},"GetDianDocumentsRequestDTO":{"required":["fechaFinal","fechaInicial","idEmpresa","tipoDocumento"],"type":"object","properties":{"idEmpresa":{"type":"integer","format":"int64"},"fechaInicial":{"type":"string","format":"date-time"},"fechaFinal":{"type":"string","format":"date-time"},"tipoDocumento":{"type":"string"}}},"ApiResponseDTODianDocumentsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DianDocumentsResponseDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"DianDocumentDTO":{"type":"object","properties":{"id":{"type":"string"},"issueDate":{"type":"string"},"issueTime":{"type":"string"},"invoiceTypeCode":{"type":"string"},"documentCurrencyCode":{"type":"string"},"lineCountNumeric":{"type":"integer","format":"int32"},"supplierName":{"type":"string"},"supplierNit":{"type":"string"},"customerName":{"type":"string"},"customerNit":{"type":"string"},"payableAmount":{"type":"string"},"taxExclusiveAmount":{"type":"string"},"taxInclusiveAmount":{"type":"string"},"clientLicense":{"type":"string"},"idEmpresa":{"type":"integer","format":"int64"},"identificationCompany":{"type":"string"},"syncStatus":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"errorsSync":{"type":"array","items":{"$ref":"#/components/schemas/ErrorSyncModel"}},"etag":{"type":"string"},"documentNumber":{"type":"string"},"cufe":{"type":"string"}}},"DianDocumentsResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/DianDocumentDTO"}},"error":{"type":"string"},"errorCode":{"type":"string"},"totalDocuments":{"type":"integer","format":"int32"}}},"DianAuthRequestDTO":{"required":["identificationType","personCode"],"type":"object","properties":{"identificationType":{"type":"string"},"personCode":{"type":"string"}}},"ApiResponseDTODianAuthResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DianAuthResponseDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"DianAuthResponseDTO":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"token":{"type":"string"},"tokenType":{"type":"string"},"expiresIn":{"type":"integer","format":"int64"}}},"DianAuthCompanyRequestDTO":{"required":["nitEmpresa","nitRepresentanteLegal"],"type":"object","properties":{"nitEmpresa":{"type":"string"},"nitRepresentanteLegal":{"type":"string"}}},"CrearAsientoApiPojo":{"type":"object","properties":{"asientos":{"type":"array","items":{"$ref":"#/components/schemas/CrearMovimientoContableAPI"}}}},"ResponseAPIVoid":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"type":"object"}}},"ApiResponseDTOListConfiguracionProveedorDianDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ConfiguracionProveedorDianDTO"}},"message":{"type":"string"},"errorCode":{"type":"string"}}},"Page":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"type":"object"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"ResponseAPICentroCostoPojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"$ref":"#/components/schemas/CentroCostoPojo"}}},"FacturarAtencionRequest":{"required":["bodega_id","entidad_responsable_pago_id","forma_pago_id","prefijo_id","sector_salud","sucursal_id","vendedor_id"],"type":"object","properties":{"sucursal_id":{"type":"integer","format":"int64"},"vendedor_id":{"type":"integer","format":"int64"},"entidad_responsable_pago_id":{"type":"integer","format":"int64"},"bodega_id":{"type":"integer","format":"int64"},"prefijo_id":{"type":"integer","format":"int64"},"forma_pago_id":{"type":"integer","format":"int64"},"fecha":{"type":"string"},"concepto":{"type":"string"},"sector_salud":{"$ref":"#/components/schemas/SectorSaludRequest"}}},"SectorSaludAnticipoRequest":{"required":["tipo_pago_codigo","valor"],"type":"object","properties":{"tipo_pago_codigo":{"type":"string"},"valor":{"type":"number"}}},"SectorSaludRequest":{"required":["tipo_factura","tipo_operacion_codigo"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tercero_id":{"type":"integer","format":"int64"},"tipo_factura":{"type":"string","enum":["PACIENTE","ENTIDAD"]},"tipo_operacion_codigo":{"type":"string","enum":["SA","RE","RC","SN","POS","CUDE","CUFE","CI","CP"]},"sen_capita":{"type":"boolean"},"codigo_prestador":{"type":"string"},"numero_contrato":{"type":"string"},"factura_sin_contrato":{"type":"boolean"},"causal_sin_contrato_codigo":{"type":"string"},"cobertura_plan_beneficios_codigo":{"type":"string"},"modalidad_pago_codigo":{"type":"string"},"numero_poliza":{"type":"string"},"fecha_inicio_periodo":{"type":"string","format":"date-time"},"fecha_fin_periodo":{"type":"string","format":"date-time"},"anticipos":{"type":"array","items":{"$ref":"#/components/schemas/SectorSaludAnticipoRequest"}}}},"FacturarAtencionResponse":{"type":"object","properties":{"atencionId":{"type":"integer","format":"int64"},"documentoEncabezadoId":{"type":"integer","format":"int64"},"numero":{"type":"integer","format":"int64"},"prefijo":{"type":"string"},"fecha":{"type":"string"},"resultado":{"type":"string"}}},"CrearTipoServicioRequest":{"required":["codigo","color","descripcion","duracion_minutos","incluir_icono","nombre"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"maxLength":10,"minLength":0,"type":"string"},"color":{"maxLength":10,"minLength":0,"type":"string"},"nombre":{"maxLength":50,"minLength":0,"type":"string"},"descripcion":{"maxLength":255,"minLength":0,"type":"string"},"duracion_minutos":{"minimum":1,"type":"integer","format":"int32"},"incluir_icono":{"type":"boolean"},"icono":{"maxLength":30,"minLength":0,"type":"string"}}},"WrapperBaseResponseLong":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"type":"integer","format":"int64"}}},"PaginableFiltroRequest":{"type":"object","properties":{"campo":{"type":"string"},"valor":{"type":"string"},"tipo_filtro":{"type":"string","enum":["IGUAL","MAYOR_QUE","MENOR_QUE","MAYOR_O_IGUAL","MENOR_O_IGUAL","LIKE","IN"]}}},"PaginableRequest":{"type":"object","properties":{"pagina":{"type":"integer","format":"int32"},"registros_por_pagina":{"type":"integer","format":"int32"},"columna_ordenar":{"type":"string"},"orden":{"type":"string","enum":["ASC","DESC"]},"filtros":{"type":"array","items":{"$ref":"#/components/schemas/PaginableFiltroRequest"}},"search":{"type":"string"}}},"PaginaResponseTipoServicioResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/TipoServicioResponse"}}}},"TipoServicioResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"color":{"type":"string"},"nombre":{"type":"string"},"descripcion":{"type":"string"},"duracion_minutos":{"type":"integer","format":"int32"},"activo":{"type":"boolean"},"incluir_icono":{"type":"boolean"},"icono":{"type":"string"},"servicios_id":{"type":"array","items":{"type":"integer","format":"int64"}},"registros_id":{"type":"array","items":{"type":"integer","format":"int64"}},"servicios":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}}}},"CrearServicioRequest":{"required":["inventarios_id","tipo_servicio_id"],"type":"object","properties":{"tipo_servicio_id":{"type":"integer","format":"int64"},"inventarios_id":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CrearSedeRequest":{"required":["nombre","recordatorio_activo","sucursal_id","sucursal_tipo"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sucursal_tipo":{"type":"string","enum":["SUCURSAL_WOCLOUD","EMPRESA_PRINCIPAL"]},"sucursal_id":{"type":"integer","format":"int64"},"sucursal_nombre":{"type":"string"},"nombre":{"maxLength":255,"minLength":0,"type":"string"},"ciudad_id":{"type":"integer","format":"int64"},"ciudad_descripcion":{"type":"string"},"telefono":{"maxLength":50,"minLength":0,"type":"string"},"direccion":{"maxLength":255,"minLength":0,"type":"string"},"correo":{"maxLength":255,"minLength":0,"type":"string"},"link_google_maps":{"maxLength":500,"minLength":0,"type":"string"},"observaciones":{"maxLength":500,"minLength":0,"type":"string"},"recordatorio_activo":{"type":"boolean"},"recordatorio_llegada":{"maxLength":500,"minLength":0,"type":"string"},"recordatorio_politica_cancelacion":{"maxLength":500,"minLength":0,"type":"string"},"recordatorio_politica_cambios":{"maxLength":500,"minLength":0,"type":"string"},"activo":{"type":"boolean"}}},"EnumBase":{"type":"object","properties":{"codigo":{"type":"string"},"descripcion":{"type":"string"}}},"PaginaResponseSedeResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/SedeResponse"}}}},"SedeResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sucursal_tipo":{"$ref":"#/components/schemas/EnumBase"},"sucursal_id":{"type":"integer","format":"int64"},"sucursal_nombre":{"type":"string"},"nombre":{"type":"string"},"ciudad_id":{"type":"integer","format":"int64"},"ciudad_descripcion":{"type":"string"},"telefono":{"type":"string"},"direccion":{"type":"string"},"correo":{"type":"string"},"link_google_maps":{"type":"string"},"observaciones":{"type":"string"},"recordatorio_activo":{"type":"boolean"},"recordatorio_llegada":{"type":"string"},"recordatorio_politica_cancelacion":{"type":"string"},"recordatorio_politica_cambios":{"type":"string"},"activo":{"type":"boolean"}}},"CrearReservaRequest":{"required":["permite_reservas","requiere_confirmacion"],"type":"object","properties":{"permite_reservas":{"type":"boolean"},"requiere_confirmacion":{"type":"boolean"},"medio_confirmacion":{"maxLength":10,"minLength":0,"type":"string"},"mensaje_confirmacion":{"maxLength":255,"minLength":0,"type":"string"}}},"CrearRecordatorioRequest":{"required":["envio_automatico","medio_comunicacion","mensaje_recordatorio","tiempo_anticipacion"],"type":"object","properties":{"envio_automatico":{"type":"boolean"},"tiempo_anticipacion":{"maxLength":20,"minLength":0,"type":"string"},"medio_comunicacion":{"maxLength":10,"minLength":0,"type":"string"},"mensaje_recordatorio":{"maxLength":255,"minLength":0,"type":"string"}}},"CrearProfesionalServicioRequest":{"required":["recurso_id","servicios"],"type":"object","properties":{"recurso_id":{"type":"integer","format":"int64"},"servicios":{"type":"array","items":{"$ref":"#/components/schemas/ProfesionalServicioItemRequest"}}}},"ProfesionalServicioItemRequest":{"required":["servicio_id"],"type":"object","properties":{"servicio_id":{"type":"integer","format":"int64"},"activo":{"type":"boolean"}}},"WrapperBaseResponseListLong":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"type":"array","items":{"type":"integer","format":"int64"}}}},"PaginaResponseProfesionalServicioAgrupadoResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/ProfesionalServicioAgrupadoResponse"}}}},"ProfesionalServicioAgrupadoResponse":{"type":"object","properties":{"recurso_id":{"type":"integer","format":"int64"},"nombre_completo":{"type":"string"},"registro_medico":{"type":"string"},"codigo_profesion":{"type":"string"},"especialidad":{"type":"string"},"servicios":{"type":"array","items":{"$ref":"#/components/schemas/ServicioResumenResponse"}}}},"ServicioResumenResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"activo":{"type":"boolean"},"inventario_id":{"type":"integer","format":"int64"},"inventario_codigo":{"type":"string"},"inventario_descripcion":{"type":"string"}}},"CrearAgendaPagosRequest":{"required":["pago_en_sede"],"type":"object","properties":{"pago_en_sede":{"type":"boolean"},"caja_fisica_integracion_wo":{"type":"boolean"},"caja_fisica_estado_inicial":{"type":"string"},"caja_fisica_mensaje_paciente":{"type":"string"},"estado_cita_pago_aprobado":{"type":"string"}}},"CrearHorarioProfesionalEspacioItemRequest":{"required":["dia","hora_fin","hora_inicio"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"espacio_id":{"type":"integer","format":"int64"},"sede_id":{"type":"integer","format":"int64"},"dia":{"type":"string"},"hora_inicio":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"hora_fin":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"}}},"CrearHorarioProfesionalEspacioRequest":{"required":["horarios","recurso_id"],"type":"object","properties":{"recurso_id":{"type":"integer","format":"int64"},"horarios":{"type":"array","items":{"$ref":"#/components/schemas/CrearHorarioProfesionalEspacioItemRequest"}}}},"HorarioProfesionalEspacioResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"recurso_id":{"type":"integer","format":"int64"},"espacio_id":{"type":"integer","format":"int64"},"espacio_nombre":{"type":"string"},"sede_id":{"type":"integer","format":"int64"},"sede_nombre":{"type":"string"},"dia":{"type":"string"},"hora_inicio":{"type":"string"},"hora_fin":{"type":"string"},"activo":{"type":"boolean"}}},"PaginaResponseHorarioProfesionalEspacioResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/HorarioProfesionalEspacioResponse"}}}},"CrearHorarioAtencionRequest":{"required":["dia","hora_fin","hora_inicio"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"dia":{"type":"string"},"hora_inicio":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"hora_fin":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"}}},"HorarioAtencionResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"dia":{"type":"string"},"hora_inicio":{"type":"string"},"hora_fin":{"type":"string"},"activo":{"type":"boolean"}}},"PaginaResponseHorarioAtencionResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/HorarioAtencionResponse"}}}},"CrearAgendaFacturacionClinicaRequest":{"required":["sucursal_id"],"type":"object","properties":{"sucursal_id":{"type":"integer","format":"int64"},"vendedor_id":{"type":"integer","format":"int64"},"bodega_id":{"type":"integer","format":"int64"},"activo":{"type":"boolean"},"prefijos_id":{"type":"array","items":{"type":"integer","format":"int64"}},"formas_pago_id":{"type":"array","items":{"type":"integer","format":"int64"}}}},"AgendaFacturacionClinicaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sucursal_id":{"type":"integer","format":"int64"},"vendedor_id":{"type":"integer","format":"int64"},"bodega_id":{"type":"integer","format":"int64"},"activo":{"type":"boolean"},"prefijos_id":{"type":"array","items":{"type":"integer","format":"int64"}},"formas_pago_id":{"type":"array","items":{"type":"integer","format":"int64"}},"sucursal_nombre":{"type":"string"},"vendedor_nombre":{"type":"string"},"bodega_nombre":{"type":"string"},"prefijos":{"type":"array","items":{"$ref":"#/components/schemas/ReferenciaResponse"}},"formas_pago":{"type":"array","items":{"$ref":"#/components/schemas/ReferenciaResponse"}}}},"PaginaResponseAgendaFacturacionClinicaResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/AgendaFacturacionClinicaResponse"}}}},"ReferenciaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"}}},"CrearEspacioRequest":{"required":["nombre"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sede_id":{"type":"integer","format":"int64"},"codigo":{"maxLength":10,"minLength":0,"type":"string"},"nombre":{"maxLength":50,"minLength":0,"type":"string"},"observaciones":{"maxLength":255,"minLength":0,"type":"string"},"activo":{"type":"boolean"}}},"EspacioResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"sede_id":{"type":"integer","format":"int64"},"sede_nombre":{"type":"string"},"codigo":{"type":"string"},"nombre":{"type":"string"},"observaciones":{"type":"string"},"activo":{"type":"boolean"}}},"PaginaResponseEspacioResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/EspacioResponse"}}}},"CrearAgendaRequest":{"required":["maneja_espacios","modulo_agenda","modulo_bloqueos","modulo_festivos","modulo_historia_clinica","modulo_lista_espera","modulo_recordatorios","multi_sede","nombre","reserva_estado_inicial","reserva_requiere_confirmacion","tiempo_duracion_base_minutos","tiempo_intervalo_citas_minutos","tipo","visual_vista_inicial"],"type":"object","properties":{"nombre":{"maxLength":100,"minLength":0,"type":"string"},"tipo":{"type":"string"},"multi_sede":{"type":"boolean"},"maneja_espacios":{"type":"boolean"},"etiqueta_paciente":{"maxLength":255,"minLength":0,"type":"string"},"etiqueta_profesional":{"maxLength":255,"minLength":0,"type":"string"},"etiqueta_servicio":{"maxLength":255,"minLength":0,"type":"string"},"reserva_estado_inicial":{"type":"string"},"reserva_requiere_confirmacion":{"type":"boolean"},"visual_color_principal":{"maxLength":50,"minLength":0,"type":"string"},"visual_vista_inicial":{"type":"string"},"tiempo_duracion_base_minutos":{"minimum":1,"type":"integer","format":"int32"},"tiempo_intervalo_citas_minutos":{"minimum":1,"type":"integer","format":"int32"},"modulo_agenda":{"type":"boolean"},"modulo_bloqueos":{"type":"boolean"},"modulo_historia_clinica":{"type":"boolean"},"modulo_festivos":{"type":"boolean"},"modulo_recordatorios":{"type":"boolean"},"modulo_lista_espera":{"type":"boolean"}}},"CrearCitaRequest":{"required":["cliente_id","duracion_minutos","espacio_id","fecha_inicio","hora_fin","hora_inicio","recurso_id","recurso_nombre_completo","reserva_estado","servicio_id","tipo_servicio_id","titulo"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"espacio_id":{"type":"integer","format":"int64"},"tipo_servicio_id":{"type":"integer","format":"int64"},"servicio_id":{"type":"integer","format":"int64"},"titulo":{"maxLength":100,"minLength":0,"type":"string"},"fecha_inicio":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"duracion_minutos":{"minimum":1,"type":"integer","format":"int32"},"hora_inicio":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"hora_fin":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"cliente_id":{"type":"integer","format":"int64"},"recurso_id":{"type":"integer","format":"int64"},"reserva_estado":{"type":"string"},"motivo_cancelacion":{"maxLength":50,"minLength":0,"type":"string"},"sede_id":{"type":"integer","format":"int64"},"observaciones":{"maxLength":1000,"minLength":0,"type":"string"},"recurso_nombre_completo":{"maxLength":300,"minLength":0,"type":"string"},"recurso_especialidad":{"maxLength":100,"minLength":0,"type":"string"},"cliente_nombre_completo":{"maxLength":300,"minLength":0,"type":"string"},"cliente_correo":{"maxLength":255,"minLength":0,"type":"string"},"telefono":{"maxLength":20,"minLength":0,"type":"string"},"primer_nombre":{"maxLength":120,"minLength":0,"type":"string"},"segundo_nombre":{"maxLength":50,"minLength":0,"type":"string"},"primer_apellido":{"maxLength":50,"minLength":0,"type":"string"},"segundo_apellido":{"maxLength":50,"minLength":0,"type":"string"}}},"CitaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"espacio_id":{"type":"integer","format":"int64"},"espacio":{"$ref":"#/components/schemas/EspacioResponse"},"sede_id":{"type":"integer","format":"int64"},"sede":{"$ref":"#/components/schemas/SedeResponse"},"tipo_servicio_id":{"type":"integer","format":"int64"},"tipo_servicio":{"$ref":"#/components/schemas/TipoServicioResponse"},"servicio_id":{"type":"integer","format":"int64"},"titulo":{"type":"string"},"fecha_inicio":{"type":"string"},"duracion_minutos":{"type":"integer","format":"int32"},"hora_inicio":{"type":"string"},"hora_fin":{"type":"string"},"cliente_id":{"type":"integer","format":"int64"},"cliente_nombre_completo":{"type":"string"},"recurso_id":{"type":"integer","format":"int64"},"recurso_nombre_completo":{"type":"string"},"reserva_estado":{"type":"string"},"tipo_agenda":{"type":"string"},"motivo_cancelacion":{"type":"string"},"observaciones":{"type":"string"}}},"PaginaResponseCitaResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/CitaResponse"}}}},"CrearBloqueoRequest":{"required":["dia_completo","diariamente","fecha","hora_fin","hora_inicio","recurso_id"],"type":"object","properties":{"id":{"type":"integer","format":"int64"},"recurso_id":{"type":"integer","format":"int64"},"fecha":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"dia_completo":{"type":"boolean"},"diariamente":{"type":"boolean"},"fecha_fin_repeticion":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"hora_inicio":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"hora_fin":{"pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","type":"string"},"motivo":{"maxLength":255,"minLength":0,"type":"string"}}},"BloqueoResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"recurso_id":{"type":"integer","format":"int64"},"recurso_nombre_completo":{"type":"string"},"fecha":{"type":"string"},"dia_completo":{"type":"boolean"},"diariamente":{"type":"boolean"},"fecha_fin_repeticion":{"type":"string"},"hora_inicio":{"type":"string"},"hora_fin":{"type":"string"},"motivo":{"type":"string"},"activo":{"type":"boolean"}}},"PaginaResponseBloqueoResponse":{"type":"object","properties":{"total_registros":{"type":"integer","format":"int64"},"pagina":{"type":"integer","format":"int32"},"total_registros_pagina":{"type":"integer","format":"int32"},"total_paginas":{"type":"integer","format":"int32"},"tiene_pagina_siguiente":{"type":"boolean"},"tiene_pagina_anterior":{"type":"boolean"},"registros":{"type":"array","items":{"$ref":"#/components/schemas/BloqueoResponse"}}}},"CrearAutogestionReglaRequest":{"required":["confirmacion_automatica","estado_inicial_cita","excluir_festivos","maxima_anticipacion_reserva","maxima_cantidad_reprogramacion","maxima_citas_activas","mensaje_autogestion_inactiva","minima_anticipacion_reserva","minimo_tiempo_cancelacion","minimo_tiempo_reprogramacion","permitir_cancelacion","permitir_reprogramacion"],"type":"object","properties":{"minima_anticipacion_reserva":{"maxLength":20,"minLength":0,"type":"string"},"maxima_anticipacion_reserva":{"maxLength":20,"minLength":0,"type":"string"},"maxima_citas_activas":{"maxLength":20,"minLength":0,"type":"string"},"estado_inicial_cita":{"maxLength":50,"minLength":0,"type":"string"},"mensaje_autogestion_inactiva":{"maxLength":255,"minLength":0,"type":"string"},"permitir_cancelacion":{"type":"boolean"},"permitir_reprogramacion":{"type":"boolean"},"minimo_tiempo_cancelacion":{"maxLength":20,"minLength":0,"type":"string"},"minimo_tiempo_reprogramacion":{"maxLength":20,"minLength":0,"type":"string"},"maxima_cantidad_reprogramacion":{"maxLength":20,"minLength":0,"type":"string"},"confirmacion_automatica":{"type":"boolean"},"excluir_festivos":{"type":"boolean"}}},"CrearAutogestionPortalRequest":{"required":["agendamiento_activo","datos_solicitados_paciente","mensaje_bienvenida","nombre_publico_portal","url_publica"],"type":"object","properties":{"nombre_publico_portal":{"maxLength":50,"minLength":0,"type":"string"},"url_publica":{"maxLength":500,"minLength":0,"type":"string"},"mensaje_bienvenida":{"maxLength":500,"minLength":0,"type":"string"},"datos_solicitados_paciente":{"maxLength":50,"minLength":0,"type":"string"},"agendamiento_dias_anticipacion_maxima":{"minimum":0,"type":"integer","format":"int32"},"agendamiento_hora_inicio":{"$ref":"#/components/schemas/LocalTime"},"agendamiento_hora_fin":{"$ref":"#/components/schemas/LocalTime"},"agendamiento_dias_habilitados":{"maxLength":200,"minLength":0,"type":"string"},"agendamiento_activo":{"type":"boolean"},"url_logo":{"pattern":"^data:image\\/(png|jpeg|jpg|gif|webp|svg\\+xml);base64,[A-Za-z0-9+/]+={0,2}$","type":"string"},"agendamiento_mensaje_no_disponibilidad":{"type":"string"}}},"LocalTime":{"type":"object","properties":{"hour":{"type":"integer","format":"int32"},"minute":{"type":"integer","format":"int32"},"second":{"type":"integer","format":"int32"},"nano":{"type":"integer","format":"int32"}}},"ApiResponseDTOListTarifaImpuestoDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TarifaImpuestoDTO"}},"message":{"type":"string"},"errorCode":{"type":"string"}}},"ApiResponseDTOListPrefijoDocumentoDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PrefijoDocumentoDTO"}},"message":{"type":"string"},"errorCode":{"type":"string"}}},"CambioRecienteResponse":{"type":"object","properties":{"tipo":{"type":"string"},"descripcion":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"tiempoRelativo":{"type":"string"}}},"DiagnosticoActivoResponse":{"type":"object","properties":{"codigo":{"type":"string"},"descripcion":{"type":"string"},"fuente":{"type":"string"},"tipoDiagnostico":{"type":"string"},"fecha":{"type":"string","format":"date-time"}}},"PendienteResponse":{"type":"object","properties":{"tipo":{"type":"string"},"titulo":{"type":"string"},"descripcion":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"categoria":{"type":"string"},"categoriaDescripcion":{"type":"string"},"estado":{"type":"string"}}},"ResumenAlertaResponse":{"type":"object","properties":{"tipo":{"type":"string"},"titulo":{"type":"string"},"detalle":{"type":"string"},"severidad":{"type":"string"},"fecha":{"type":"string","format":"date-time"}}},"ResumenClinicoResponse":{"type":"object","properties":{"alertas":{"type":"array","items":{"$ref":"#/components/schemas/ResumenAlertaResponse"}},"diagnosticosActivos":{"type":"array","items":{"$ref":"#/components/schemas/DiagnosticoActivoResponse"}},"ultimosCambios":{"type":"array","items":{"$ref":"#/components/schemas/CambioRecienteResponse"}},"pendientes":{"type":"array","items":{"$ref":"#/components/schemas/PendienteResponse"}}}},"InformacionClinicaPacienteResponse":{"type":"object","properties":{"grupoSanguineo":{"$ref":"#/components/schemas/GrupoSanguineoPacienteResponse"},"alergias":{"type":"array","items":{"$ref":"#/components/schemas/AlergiaPacienteResponse"}},"antecedentesFamiliares":{"type":"array","items":{"$ref":"#/components/schemas/AntecedenteFamiliarResponse"}},"antecedentesPatologicos":{"type":"array","items":{"$ref":"#/components/schemas/AntecedentePatologicoResponse"}},"antecedentesNoPatologicos":{"type":"array","items":{"$ref":"#/components/schemas/AntecedenteNoPatologicoResponse"}}}},"GrupoSanguineoCatalogoResponse":{"type":"object","properties":{"nombre":{"type":"string"},"codigo":{"type":"string"}}},"AtencionFacturacionResponse":{"type":"object","properties":{"atencionId":{"type":"integer","format":"int64"},"idtercero":{"type":"integer","format":"int64"},"profesional":{"type":"integer","format":"int64"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"documentoEncabezadoId":{"type":"integer","format":"int64"},"numeroFactura":{"type":"integer","format":"int64"},"prefijoFactura":{"type":"string"},"fechaFacturacion":{"type":"string","format":"date-time"},"conceptos":{"type":"array","items":{"$ref":"#/components/schemas/ConceptoFacturadoResponse"}},"formulacionMedica":{"type":"array","items":{"$ref":"#/components/schemas/FormulacionMedicaResponse"}}}},"AtencionResumenResponse":{"type":"object","properties":{"idAtencion":{"type":"integer","format":"int64"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"servicioPrestado":{"$ref":"#/components/schemas/ServicioPrestadoResumen"},"profesional":{"$ref":"#/components/schemas/ProfesionalResumen"},"motivoConsulta":{"$ref":"#/components/schemas/MotivoConsultaResumen"},"estado":{"type":"string","enum":["COMPLETADO","PENDIENTE_REVISION"]},"citaId":{"type":"integer","format":"int64"},"documentoEncabezadoId":{"type":"integer","format":"int64"},"factura":{"type":"string"},"estadoFacturacion":{"type":"string","enum":["SIN_CONCEPTOS_COBRABLES","PENDIENTE_DE_FACTURAR","FACTURADO"]}},"description":"Proyección optimizada — no carga entidad completa"},"MotivoConsultaResumen":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"tipoConsulta":{"type":"string","enum":["PRIMERA_VEZ","CONTROL","URGENCIA","INTERCONSULTA","OTRO"]},"descripcion":{"type":"string"}}},"ProfesionalResumen":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"nombres":{"type":"string"},"apellidos":{"type":"string"}}},"ServicioPrestadoResumen":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"nombreProducto":{"type":"string"}}},"AlergiaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombreAlergia":{"type":"string"},"senactivo":{"type":"boolean"}}},"DocumentoTipoNotaCreditoApiPojo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"codigo":{"type":"string"},"tipoNotaCredito":{"type":"string"}}},"ResponseAPIListDocumentoTipoNotaCreditoApiPojo":{"type":"object","properties":{"status":{"type":"string","enum":["100 CONTINUE","101 SWITCHING_PROTOCOLS","102 PROCESSING","103 EARLY_HINTS","103 CHECKPOINT","200 OK","201 CREATED","202 ACCEPTED","203 NON_AUTHORITATIVE_INFORMATION","204 NO_CONTENT","205 RESET_CONTENT","206 PARTIAL_CONTENT","207 MULTI_STATUS","208 ALREADY_REPORTED","226 IM_USED","300 MULTIPLE_CHOICES","301 MOVED_PERMANENTLY","302 FOUND","302 MOVED_TEMPORARILY","303 SEE_OTHER","304 NOT_MODIFIED","305 USE_PROXY","307 TEMPORARY_REDIRECT","308 PERMANENT_REDIRECT","400 BAD_REQUEST","401 UNAUTHORIZED","402 PAYMENT_REQUIRED","403 FORBIDDEN","404 NOT_FOUND","405 METHOD_NOT_ALLOWED","406 NOT_ACCEPTABLE","407 PROXY_AUTHENTICATION_REQUIRED","408 REQUEST_TIMEOUT","409 CONFLICT","410 GONE","411 LENGTH_REQUIRED","412 PRECONDITION_FAILED","413 PAYLOAD_TOO_LARGE","413 REQUEST_ENTITY_TOO_LARGE","414 URI_TOO_LONG","414 REQUEST_URI_TOO_LONG","415 UNSUPPORTED_MEDIA_TYPE","416 REQUESTED_RANGE_NOT_SATISFIABLE","417 EXPECTATION_FAILED","418 I_AM_A_TEAPOT","419 INSUFFICIENT_SPACE_ON_RESOURCE","420 METHOD_FAILURE","421 DESTINATION_LOCKED","422 UNPROCESSABLE_ENTITY","423 LOCKED","424 FAILED_DEPENDENCY","425 TOO_EARLY","426 UPGRADE_REQUIRED","428 PRECONDITION_REQUIRED","429 TOO_MANY_REQUESTS","431 REQUEST_HEADER_FIELDS_TOO_LARGE","451 UNAVAILABLE_FOR_LEGAL_REASONS","500 INTERNAL_SERVER_ERROR","501 NOT_IMPLEMENTED","502 BAD_GATEWAY","503 SERVICE_UNAVAILABLE","504 GATEWAY_TIMEOUT","505 HTTP_VERSION_NOT_SUPPORTED","506 VARIANT_ALSO_NEGOTIATES","507 INSUFFICIENT_STORAGE","508 LOOP_DETECTED","509 BANDWIDTH_LIMIT_EXCEEDED","510 NOT_EXTENDED","511 NETWORK_AUTHENTICATION_REQUIRED"]},"userMessage":{"type":"string"},"developerMessage":{"type":"object"},"errorCode":{"type":"string"},"moreInfo":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentoTipoNotaCreditoApiPojo"}}}},"ApiResponseDTOControlDocumentoDianDTO":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ControlDocumentoDianDTO"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"ControlDocumentoDianDTO":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"documentoEncabezadoId":{"type":"integer","format":"int64"},"documentoDianId":{"type":"string"},"activo":{"type":"boolean"},"version":{"type":"integer","format":"int64"}}},"ApiResponseDTOBoolean":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"boolean"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"ApiResponseDTOString":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"string"},"message":{"type":"string"},"errorCode":{"type":"string"}}},"AtencionPorTerceroResponse":{"type":"object","properties":{"idAtencion":{"type":"integer","format":"int64"},"fechaHoraAtencion":{"type":"string","format":"date-time"},"servicioPrestado":{"$ref":"#/components/schemas/ServicioPrestadoResumen"},"profesional":{"$ref":"#/components/schemas/ProfesionalResumen"},"motivoConsulta":{"$ref":"#/components/schemas/MotivoConsultaResumen"},"estado":{"type":"string","enum":["COMPLETADO","PENDIENTE_REVISION"]},"citaId":{"type":"integer","format":"int64"},"cita":{"$ref":"#/components/schemas/CitaResumenResponse"}}},"CitaResumenResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"titulo":{"type":"string"},"tipoServicioNombre":{"type":"string"},"tipoServicioDescripcion":{"type":"string"}}},"WrapperBaseResponseTipoServicioResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/TipoServicioResponse"}}},"WrapperBaseResponseSedeResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/SedeResponse"}}},"ReservaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"permite_reservas":{"type":"boolean"},"requiere_confirmacion":{"type":"boolean"},"medio_confirmacion":{"type":"string"},"mensaje_confirmacion":{"type":"string"}}},"WrapperBaseResponseReservaResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/ReservaResponse"}}},"WrapperBaseResponseRecordatorioResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/RecordatorioResponse"}}},"AgendaPagosResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"pago_en_sede":{"type":"boolean"},"caja_fisica_integracion_wo":{"type":"boolean"},"caja_fisica_estado_inicial":{"type":"string"},"caja_fisica_mensaje_paciente":{"type":"string"},"estado_cita_pago_aprobado":{"type":"string"}}},"WrapperBaseResponseAgendaPagosResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/AgendaPagosResponse"}}},"WrapperBaseResponseHorarioProfesionalEspacioResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/HorarioProfesionalEspacioResponse"}}},"FestivoResponse":{"type":"object","properties":{"fecha":{"type":"string","format":"date"},"nombre":{"type":"string"},"pais":{"type":"string"}}},"WrapperBaseResponseListFestivoResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"type":"array","items":{"$ref":"#/components/schemas/FestivoResponse"}}}},"WrapperBaseResponseAgendaFacturacionClinicaResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/AgendaFacturacionClinicaResponse"}}},"WrapperBaseResponseEspacioResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/EspacioResponse"}}},"AgendaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre":{"type":"string"},"tipo":{"type":"string"},"multi_sede":{"type":"boolean"},"maneja_espacios":{"type":"boolean"},"etiqueta_paciente":{"type":"string"},"etiqueta_profesional":{"type":"string"},"etiqueta_servicio":{"type":"string"},"reserva_estado_inicial":{"type":"string"},"reserva_requiere_confirmacion":{"type":"boolean"},"visual_color_principal":{"type":"string"},"visual_vista_inicial":{"type":"string"},"tiempo_duracion_base_minutos":{"type":"integer","format":"int32"},"tiempo_intervalo_citas_minutos":{"type":"integer","format":"int32"},"modulo_agenda":{"type":"boolean"},"modulo_bloqueos":{"type":"boolean"},"modulo_historia_clinica":{"type":"boolean"},"modulo_festivos":{"type":"boolean"},"modulo_recordatorios":{"type":"boolean"},"modulo_lista_espera":{"type":"boolean"}}},"WrapperBaseResponseAgendaResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/AgendaResponse"}}},"EnumBaseResponse":{"type":"object","properties":{"codigo":{"type":"string"},"descripcion":{"type":"string"}}},"WrapperBaseResponseListEnumBaseResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"type":"array","items":{"$ref":"#/components/schemas/EnumBaseResponse"}}}},"AutogestionReglaResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"minima_anticipacion_reserva":{"type":"string"},"maxima_anticipacion_reserva":{"type":"string"},"maxima_citas_activas":{"type":"string"},"estado_inicial_cita":{"type":"string"},"mensaje_autogestion_inactiva":{"type":"string"},"permitir_cancelacion":{"type":"boolean"},"permitir_reprogramacion":{"type":"boolean"},"minimo_tiempo_cancelacion":{"type":"string"},"minimo_tiempo_reprogramacion":{"type":"string"},"maxima_cantidad_reprogramacion":{"type":"string"},"confirmacion_automatica":{"type":"boolean"},"excluir_festivos":{"type":"boolean"}}},"WrapperBaseResponseAutogestionReglaResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/AutogestionReglaResponse"}}},"AutogestionPortalResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre_publico_portal":{"type":"string"},"url_publica":{"type":"string"},"mensaje_bienvenida":{"type":"string"},"datos_solicitados_paciente":{"type":"string"},"agendamiento_dias_anticipacion_maxima":{"type":"integer","format":"int32"},"agendamiento_hora_inicio":{"$ref":"#/components/schemas/LocalTime"},"agendamiento_hora_fin":{"$ref":"#/components/schemas/LocalTime"},"agendamiento_dias_habilitados":{"type":"string"},"agendamiento_activo":{"type":"boolean"},"url_logo":{"type":"string"},"agendamiento_mensaje_no_disponibilidad":{"type":"string"},"tenant_id":{"type":"string"},"tipo_agenda":{"type":"string"}}},"WrapperBaseResponseAutogestionPortalResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/AutogestionPortalResponse"}}},"ProfesionalDisponibleResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nombre_completo":{"type":"string"},"registro_medico":{"type":"string"},"codigo_profesion":{"type":"string"},"especialidad":{"type":"string"}}},"ProfesionalesDisponiblesResponse":{"type":"object","properties":{"tipo_agenda":{"type":"string"},"profesionales":{"type":"array","items":{"$ref":"#/components/schemas/ProfesionalDisponibleResponse"}}}},"WrapperBaseResponseProfesionalesDisponiblesResponse":{"type":"object","properties":{"estado":{"type":"string"},"fecha":{"type":"string","format":"date-time"},"mensaje":{"type":"string"},"datos":{"$ref":"#/components/schemas/ProfesionalesDisponiblesResponse"}}},"ApiResponseDTOVoid":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object"},"message":{"type":"string"},"errorCode":{"type":"string"}}}}}}