---
title: "Updates an existing invoice by ID"
method: PUT
path: "/invoices/{id}"
tags: ["Invoice"]
---

# Updates an existing invoice by ID

`PUT /invoices/{id}`

This updates an existing Invoice, all parameters overwrite existing params

## Path parameters

- `id` integer, required

## Request body

- object
  - `customer_id` integer
  - `name` string
  - `number` string
  - `date` string, date-time
  - `customer_business_then_name` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `due_date` string, date
  - `subtotal` string
  - `total` string
  - `tax` string
  - `verified_paid` boolean
  - `tech_marked_paid` boolean
  - `ticket_id` integer
  - `pdf_url` string
  - `is_paid` boolean
  - `location_id` integer
  - `po_number` string
  - `contact_id` integer
  - `note` string
  - `hardwarecost` number

## Response `200`

Invoice Updated

## Other responses

- `404` — Invalid request

---

[API](https://skmtc.dev/syncromsp/apis/syncro.md) · [All operations](https://skmtc.dev/syncromsp/apis/syncro/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/syncromsp/syncro/revisions/dfc1c332d2c2/schema)
