---
title: "Record a payment on an invoice"
method: POST
path: "/invoices/{id}/record-payment"
tags: ["Invoices"]
---

# Record a payment on an invoice

`POST /invoices/{id}/record-payment`

Records a payment entry on the invoice. Set `markPaid: true` to also mark the invoice as fully paid, or `false` to record a partial payment.

## Request body

- object

## Response `200`

Payment recorded

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api.md) · [All operations](https://skmtc.dev/vocal/apis/magic-heidi-invoicing-software-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vocal/magic-heidi-invoicing-software-api/revisions/591ae048f0a0/schema)
