---
title: "Deletes an invoice payment"
method: DELETE
path: "/invoices/{invoice_id}/payments/{payment_id}"
tags: ["Invoice payments"]
---

# Deletes an invoice payment

`DELETE /invoices/{invoice_id}/payments/{payment_id}`

## Request

- Base URL: `https://api.rillet.com`
- URL: `https://api.rillet.com/invoices/{invoice_id}/payments/{payment_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/rillet/apis/rillet-accounting-api/docs/invoices/:invoice_id/payments/:payment_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Reverses a previously recorded uncleared invoice payment, restoring the invoice balance accordingly.
Only uncleared payments can be deleted; cleared or reconciled payments are rejected.
Treat this as a corrective action with the same controls you apply to voiding treasury transactions in your close process.

## Path parameters

- `invoice_id` string, uuid, required
- `payment_id` string, uuid, required

## Response `204`

No Content

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/rillet/apis/rillet-accounting-api.md) - [All operations](https://skmtc.dev/rillet/apis/rillet-accounting-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rillet/apis/rillet-accounting-api/revisions/c393d0102005?raw)
