---
title: "Mark invoice as paid"
method: POST
path: "/v1/invoices/{invoiceId}/paid"
tags: ["Invoices"]
---

# Mark invoice as paid

`POST /v1/invoices/{invoiceId}/paid`

## Request

- Base URL: `https://api.frihet.io`
- URL: `https://api.frihet.io/v1/invoices/{invoiceId}/paid`
- Auth: API key in header `X-API-Key`

Mark an invoice as paid. Optionally specify the payment date.

## Path parameters

- `invoiceId` string, required

## Request body

- object
  - `paidDate` string, date: Payment date in ISO format. Defaults to today.

## Response `200`

Invoice marked as paid

- object
  - `success` boolean
  - `status` string
  - `paidAt` string, date

## Other responses

- `401`: Authentication required or invalid API key
- `404`: Resource not found
- `429`: Rate limit exceeded (100 requests per minute)
- `500`: Internal server error

---

[API](https://skmtc.dev/frihet/apis/frihet-api.md) · [All operations](https://skmtc.dev/frihet/apis/frihet-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frihet/apis/frihet-api/revisions/3dd37f6a72d1?raw)
