---
title: "Guardar o reemplazar el SRI-GP del año"
method: PUT
path: "/nomina/empleados/{id}/gastos-personales"
tags: ["nomina"]
---

# Guardar o reemplazar el SRI-GP del año

`PUT /nomina/empleados/{id}/gastos-personales`

## Request

- Base URL: `https://contadeo.com/api`
- URL: `https://contadeo.com/api/nomina/empleados/{id}/gastos-personales`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `emisorId` string, uuid, required
  - `anio` integer, required
  - `vivienda` number
  - `educacion` number
  - `salud` number
  - `vestimenta` number
  - `alimentacion` number
  - `turismo` number
  - `cargas` integer
  - `catastrofica` boolean
  - `entregadoEn` string, date, nullable

## Response `200`

El SRI-GP guardado

- object
  - `anio` integer
  - `vivienda` number
  - `educacion` number
  - `salud` number
  - `vestimenta` number
  - `alimentacion` number
  - `turismo` number
  - `cargas` integer
  - `catastrofica` boolean
  - `entregadoEn` string, date, nullable

## Other responses

- `400`: Cuerpo inválido o validación de negocio (previene errores SRI 62/52/65/69/39)
- `404`: Empleado no encontrado

---

[API](https://skmtc.dev/contadeo/apis/api-de-contadeo.md) · [All operations](https://skmtc.dev/contadeo/apis/api-de-contadeo/llms.txt) · [OpenAPI document](https://skmtc.dev/contadeo/apis/api-de-contadeo/revisions/461bbb9a74ce?raw)
