---
title: "Changes to Edit a document"
method: PUT
path: "/v2/doc/{doc_hash_id}"
---

# Changes to Edit a document

`PUT /v2/doc/{doc_hash_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `0bcdbc62187b`: 20 breaking, 13 info

## Changes

- **2026-11-03** `0bcdbc62187b`: 20 breaking, 13 info
  - removed the enum value `Korea, North` of the request property `company_billing_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, North` of the request property `company_shipping_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, North` of the request property `export_invoice_details/allOf[#/components/schemas/ExportInvoiceDetailsV2]/country_id`
  - removed the enum value `Korea, North` of the request property `party/allOf[#/components/schemas/Party]/billing_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, North` of the request property `party/allOf[#/components/schemas/Party]/shipping_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, South` of the request property `company_billing_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, South` of the request property `company_shipping_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, South` of the request property `export_invoice_details/allOf[#/components/schemas/ExportInvoiceDetailsV2]/country_id`
  - removed the enum value `Korea, South` of the request property `party/allOf[#/components/schemas/Party]/billing_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - removed the enum value `Korea, South` of the request property `party/allOf[#/components/schemas/Party]/shipping_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - the `bank_details` request property type changed from `object` to no type
  - the `company_billing_address` request property type changed from `object` to no type
  - the `company_shipping_address` request property type changed from `object` to no type
  - the `convert` request property type changed from `object` to no type
  - the `export_invoice_details` request property type changed from `object` to no type
  - the `party` request property type changed from `object` to no type
  - the `party/allOf[#/components/schemas/Party]/billing_address` request property type changed from `object` to no type
  - the `party/allOf[#/components/schemas/Party]/shipping_address` request property type changed from `object` to no type
  - the `serial_number_v2` request property type changed from `object` to no type
  - the `subscription_details` request property type changed from `object` to no type
  - added the new optional request property `with_tax`
  - the `discount_amount` request property default value `0` was added
  - the `discount_percent` request property default value `0` was added
  - the `extra_discount` request property default value `0` was added
  - added the new `LADAKH(NEWLY ADDED)` enum value to the request property `company_billing_address/allOf[#/components/schemas/ShippingAddressV2]/state`
  - added the new `LADAKH(NEWLY ADDED)` enum value to the request property `company_shipping_address/allOf[#/components/schemas/ShippingAddressV2]/state`
  - added the new `LADAKH(NEWLY ADDED)` enum value to the request property `party/allOf[#/components/schemas/Party]/billing_address/allOf[#/components/schemas/ShippingAddressV2]/state`
  - added the new `LADAKH(NEWLY ADDED)` enum value to the request property `party/allOf[#/components/schemas/Party]/shipping_address/allOf[#/components/schemas/ShippingAddressV2]/state`
  - added the new `Republic of Korea (South Korea)` enum value to the request property `company_billing_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - added the new `Republic of Korea (South Korea)` enum value to the request property `company_shipping_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - added the new `Republic of Korea (South Korea)` enum value to the request property `export_invoice_details/allOf[#/components/schemas/ExportInvoiceDetailsV2]/country_id`
  - added the new `Republic of Korea (South Korea)` enum value to the request property `party/allOf[#/components/schemas/Party]/billing_address/allOf[#/components/schemas/ShippingAddressV2]/country`
  - added the new `Republic of Korea (South Korea)` enum value to the request property `party/allOf[#/components/schemas/Party]/shipping_address/allOf[#/components/schemas/ShippingAddressV2]/country`

---

[Operation](https://skmtc.dev/getswipe/apis/swipeapi/docs/v2/doc/:doc_hash_id/put.md) - [API](https://skmtc.dev/getswipe/apis/swipeapi.md) - [Page](https://skmtc.dev/getswipe/apis/swipeapi/changes/v2/doc/:doc_hash_id/put)
