---
title: "Update invoice"
method: PUT
path: "/invoices/{id}"
tags: ["Invoices"]
---

# Update invoice

`PUT /invoices/{id}`

## Request

- Base URL: `http://localhost/app4legal/api/v2/money`
- URL: `http://localhost/app4legal/api/v2/money/invoices/{id}`
- Auth: OAuth 2
  - Password
  - Token URL: `http://localhost/app4legal/api/v2/core/login`
- TypeScript: <https://skmtc.dev/app4legal/apis/a4l-money-api/docs/invoices/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update invoice

## Path parameters

- `id` integer, required

## Request body

- unknown

## Response `201`

Successful operation

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden

## Changes

- **2026-08-06** `e0d144609998`: 2 info
  - api operation id `update` removed and replaced with `6d99628785dd275107049e38f4ecc7f3`
  - the endpoint scheme security `passport` was added to the API

[Operation history](https://skmtc.dev/app4legal/apis/a4l-money-api/changes/invoices/:id/put.md)

---

[API](https://skmtc.dev/app4legal/apis/a4l-money-api.md) - [All operations](https://skmtc.dev/app4legal/apis/a4l-money-api/llms.txt) - [OpenAPI document](https://skmtc.dev/app4legal/apis/a4l-money-api/revisions/e0d144609998?raw)
