---
title: "Creates a history record for a specific invoice"
method: PUT
path: "/Invoices/{InvoiceID}/History"
tags: ["Accounting"]
---

# Creates a history record for a specific invoice

`PUT /Invoices/{InvoiceID}/History`

## Path parameters

- `InvoiceID` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- HistoryRecords
  - `HistoryRecords` HistoryRecord[]
    - `Details` string — details
    - `Changes` string — Name of branding theme
    - `User` string — has a value of 0
    - `DateUTC` string — UTC timestamp of creation date of branding theme

## Response `200`

Success - return response of type HistoryRecords array of HistoryRecord objects

- HistoryRecords
  - `HistoryRecords` HistoryRecord[]
    - `Details` string — details
    - `Changes` string — Name of branding theme
    - `User` string — has a value of 0
    - `DateUTC` string — UTC timestamp of creation date of branding theme

## Other responses

- `400` — A failed request due to validation error

---

[API](https://skmtc.net/xeroapi/apis/xero-accounting-api.md) · [All operations](https://skmtc.net/xeroapi/apis/xero-accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xeroapi/xero-accounting-api/versions/dc231cafd8de/schema)
