---
title: "Lista gastos y servicios"
method: GET
path: "/v2/gastos-servicios"
tags: ["Gastos y Servicios"]
---

# Lista gastos y servicios

`GET /v2/gastos-servicios`

## Request

- Base URL: `https://erp.duxsoftware.com.ar/WSERP/rest/services`
- URL: `https://erp.duxsoftware.com.ar/WSERP/rest/services/v2/gastos-servicios`
- Auth: HTTP bearer

Retorna items con es_gasto_servicio='S' (no stockeables). Distinto de /v2/gastos (comprobantes de gasto de proveedor). Este recurso no se filtra por empresa.

## Query parameters

- `cod_item` string
- `item` string
- `codigo_marca` string
- `id_rubro` integer
- `id_sub_rubro` integer
- `id_proveedor` integer
- `habilitado` boolean
- `offset` integer
- `limit` integer

## Response `200`

OK

- ApiResponseListGastoServicioV2Dto
  - `datos` GastoServicioV2Dto[]
    - `cod_item` string
    - `item` string
    - `rubro` ItemsV2ResponseItemV2RubroDto: Rubro o sub rubro del item/gasto. Se omite (null) cuando no tiene rubro asignado.
      - `id` integer
      - `nombre` string
    - `sub_rubro` ItemsV2ResponseItemV2RubroDto: Rubro o sub rubro del item/gasto. Se omite (null) cuando no tiene rubro asignado.
      - `id` integer
      - `nombre` string
    - `proveedor` ItemsV2ResponseProveedorDto
      - `id_proveedor` integer
      - `proveedor` string
      - `tipo_doc` string
      - `nro_doc` integer
      - `provincia` string
      - `localidad` string
      - `domicilio` string
      - `barrio` string
      - `cod_postal` string
      - `telefono` string
      - `fax` string
      - `compania_celular` string
      - `cel` string
      - `persona_contacto` string
      - `email` string
      - `pagina_web` string
    - `costo` number, double
    - `costo_compra` number, double
    - `porc_iva` number, double
    - `habilitado` boolean
    - `codigo_externo` string
    - `fecha_creacion` string: Siempre en formato yyyy-MM-dd.
    - `imagen_url` string: Siempre null en este recurso.
  - `paginacion` Paginacion
    - `total` integer
    - `offset` integer
    - `limit` integer
    - `hay_mas` boolean
  - `id_solicitud` string

## Other responses

- `400`: Validación
- `401`: No autorizado
- `403`: Prohibido
- `429`: Límite de peticiones
- `500`: Error interno

---

[API](https://skmtc.dev/duxsoftware/apis/dux-api-v2-compras.md) - [All operations](https://skmtc.dev/duxsoftware/apis/dux-api-v2-compras/llms.txt) - [OpenAPI document](https://skmtc.dev/duxsoftware/apis/dux-api-v2-compras/revisions/18d837637333?raw)
