---
title: "transaction-out__void-outgoing-payment"
method: POST
path: "/tools/transaction-out__void-outgoing-payment"
tags: ["Gastos"]
---

# transaction-out__void-outgoing-payment

`POST /tools/transaction-out__void-outgoing-payment`

### MCP
`void-outgoing-payment` → `transaction-out__void-outgoing-payment`.

### HTTP
Endpoint de **void** del recurso de pagos (no confundir con delete).

### Body opcional
`voidCause`, `voidDate` (nombres según contrato API / guía).

### Errores
| Código | Significado | Acción |
|--------|-------------|--------|
| 400 | No anulable en el estado actual | Consultar GET previo (`voidable` y mensaje) |

## Request body

- object
  - `id` string, required
  - `voidCause` string
  - `voidDate` string

## Response `200`

Pago anulado

---

[API](https://skmtc.net/alegra/apis/ingresos.md) · [All operations](https://skmtc.net/alegra/apis/ingresos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alegra/ingresos/versions/cd52d3f68f1b/schema)
