---
title: "Update Purchase Invoice"
method: PUT
path: "/purchase-invoices/:id"
---

# Update Purchase Invoice

`PUT /purchase-invoices/:id`

You can update specific Purchase Invoice document

## Query parameters

- `invoice_id` string, required

## Request body

- object
  - `partner_id` string, required — Partner UUID, please make sure that the partner is already registered.
  - `invoice_number` string, required — Invoice number, unique value
  - `invoice_date` string, date — Invoice creation date, leave blank to use today's date
  - `invoice_due_date` string, date — Invoice payment due date, Leave blank to use today's date
  - `items` object[], required — Product details of the invoices
    - `product_name` string, required — Product Name
    - `description` string — Product Description
    - `quantity` integer, required — Product quantity
    - `price` integer, required — Product price per unit
    - `discount` number, float — Product discount per unit. Value should be in percentage
    - `tax_id` string — Tax UUID, applied tax id in purchase invoices. For tax list, see get tax list API
    - `total` number — Total amount for the product
  - `additional_info` string — Additional information for the Purchase Invoice
  - `signature_text_header` string — Text above the document signature area
  - `signature_text_footer` string — Text below the document signature area
  - `terms_and_conditions` string — Description for terms and conditions for the purchase invoice

## Response `200`

200

- object
  - `status` string
  - `message` string
  - `data` object
    - `invoice_uuid` string
    - `invoice_number` string
    - `partner_id` string
    - `items` object[]
      - `product_name` string
      - `description` string
      - `sku` string
      - `uom` string
      - `quantity` integer
      - `price` integer
      - `discount` integer
      - `tax_id` string
      - `total` integer
    - `signature_date` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/paper/apis/version-1.md) · [All operations](https://skmtc.net/paper/apis/version-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paper/version-1/versions/3c426ced31a3/schema)
