---
title: "Changes to Create a document"
method: POST
path: "/v2/doc"
---

# Changes to Create a document

`POST /v2/doc`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `0bcdbc62187b`: 21 breaking, 16 info

## Changes

- **2026-11-03** `0bcdbc62187b`: 21 breaking, 16 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 `payments/items/bank_details` 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
  - api operation id `v2_post_invoice_resource` removed and replaced with `post_invoice_resource`
  - 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`
  - added the non-success response with the status `409`
  - added the non-success response with the status `422`

---

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