---
title: "Changes to Get purchase order"
method: GET
path: "/companies/{companyId}/data/purchaseOrders/{purchaseOrderId}"
---

# Changes to Get purchase order

`GET /companies/{companyId}/data/purchaseOrders/{purchaseOrderId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 16 of 139 revisions.

- **2024-02-19** `d9d77b1f9132`: 1 info
- **2024-02-13** `4bfab0afa6ca`: 8 info
- **2023-12-15** `ba6ef154fd48`: 1 info
- **2023-10-23** `948b47a54450`: 4 info
- **2023-10-17** `bca5fa1f1e6e`: 1 warning, 1 info
- **2023-06-08** `56e113e70fd6`: 5 info
- **2023-05-10** `1d4c9af4afe1`: 3 breaking, 2 info
- **2023-03-30** `09a533a56ef5`: 1 breaking, 18 warning, 20 info
- **2023-03-29** `35207a7105e2`: 5 breaking, 3 info
- **2023-03-03** `98215c2f7f13`: 1 info
- **2023-03-01** `6deb1f3607e9`: 13 breaking
- **2023-02-08** `1a59e6fed067`: 1 breaking, 20 info
- **2023-02-05** `0114eec4c4e6`: 1 breaking, 20 warning, 1 info
- **2023-02-04** `0d48409a7c7e`: 1 warning
- **2023-02-04** `62ac5c73b42d`: 4 breaking, 4 warning, 1 info
- **2023-02-01** `116155a6ce04`: 2 info

## Changes

- **2024-02-19** `d9d77b1f9132`: 1 info
  - added the optional property `allOf[subschema #1]/createdBy` to the response with the `200` status
- **2024-02-13** `4bfab0afa6ca`: 8 info
  - added the optional property `validation` to the response with the `401` status
  - added the optional property `validation` to the response with the `402` status
  - added the optional property `validation` to the response with the `403` status
  - added the optional property `validation` to the response with the `404` status
  - added the optional property `validation` to the response with the `409` status
  - added the optional property `validation` to the response with the `429` status
  - added the optional property `validation` to the response with the `500` status
  - added the optional property `validation` to the response with the `503` status
- **2023-12-15** `ba6ef154fd48`: 1 info
  - added the optional property `allOf[subschema #1]/lineItems/items/unitOfMeasurement` to the response with the `200` status
- **2023-10-23** `948b47a54450`: 4 info
  - added the non-success response with the status `402`
  - added the non-success response with the status `403`
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
- **2023-10-17** `bca5fa1f1e6e`: 1 warning, 1 info
  - deleted the `path` request parameter `purchaseOrderId`
  - added the optional property `allOf[subschema #1]/lineItems/items/lineNumber` to the response with the `200` status
- **2023-06-08** `56e113e70fd6`: 5 info
  - endpoint reactivated
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `429`
- **2023-05-10** `1d4c9af4afe1`: 3 breaking, 2 info
  - the response property `allOf[#/components/schemas/ModifiedDates]/allOf[subschema #2: Source Modified Date]/` became nullable for the status `200`
  - the `allOf[#/components/schemas/ModifiedDates]/allOf[subschema #1: ModifiedDate]/modifiedDate` response's property type changed from `string` to no type for status `200`
  - the `allOf[#/components/schemas/ModifiedDates]/allOf[subschema #2: Source Modified Date]/sourceModifiedDate` response's property type changed from `string` to no type for status `200`
  - added `#/components/schemas/DateTime, subschema #2` to the `allOf[#/components/schemas/ModifiedDates]/allOf[subschema #1: ModifiedDate]/modifiedDate` response property `allOf` list for the response status `200`
  - added `#/components/schemas/DateTime, subschema #2` to the `allOf[#/components/schemas/ModifiedDates]/allOf[subschema #2: Source Modified Date]/sourceModifiedDate` response property `allOf` list for the response status `200`
- **2023-03-30** `09a533a56ef5`: 1 breaking, 18 warning, 20 info
  - the `allOf[subschema #1]/` response's property type changed from no type to `object` for status `200`
  - removed the optional property `currency` from the response with the `200` status
  - removed the optional property `currencyRate` from the response with the `200` status
  - removed the optional property `deliveryDate` from the response with the `200` status
  - removed the optional property `expectedDeliveryDate` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - removed the optional property `issueDate` from the response with the `200` status
  - removed the optional property `lineItems` from the response with the `200` status
  - removed the optional property `metadata` from the response with the `200` status
  - removed the optional property `note` from the response with the `200` status
  - removed the optional property `paymentDueDate` from the response with the `200` status
  - removed the optional property `purchaseOrderNumber` from the response with the `200` status
  - removed the optional property `shipTo` from the response with the `200` status
  - removed the optional property `status` from the response with the `200` status
  - removed the optional property `subTotal` from the response with the `200` status
  - removed the optional property `supplierRef` from the response with the `200` status
  - removed the optional property `totalAmount` from the response with the `200` status
  - removed the optional property `totalDiscount` from the response with the `200` status
  - removed the optional property `totalTaxAmount` from the response with the `200` status
  - added `#/components/schemas/ModifiedDates` to the response body `allOf` list for the response status `200`
  - added the optional property `allOf[subschema #1]/currency` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/currencyRate` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/deliveryDate` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/expectedDeliveryDate` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/id` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/issueDate` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/lineItems` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/metadata` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/note` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/paymentDueDate` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/purchaseOrderNumber` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/shipTo` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/status` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/subTotal` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/supplierRef` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/totalAmount` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/totalDiscount` to the response with the `200` status
  - added the optional property `allOf[subschema #1]/totalTaxAmount` to the response with the `200` status
  - removed `subschema #1: ModifiedDate, subschema #2: Source Modified Date` from the `allOf[subschema #1]/` response property `allOf` list for the response status `200`
- **2023-03-29** `35207a7105e2`: 5 breaking, 3 info
  - the `allOf[subschema #1]/allOf[subschema #1: ModifiedDate]/modifiedDate` response's property format changed from `date-time` to no format for status `200`
  - the `deliveryDate` response's property format changed from `date-time` to no format for status `200`
  - the `expectedDeliveryDate` response's property format changed from `date-time` to no format for status `200`
  - the `issueDate` response's property format changed from `date-time` to no format for status `200`
  - the `paymentDueDate` response's property format changed from `date-time` to no format for status `200`
  - added `subschema #2: Source Modified Date` to the `allOf[subschema #1]/` response property `allOf` list for the response status `200`
  - removed `subschema #2: SourceModifiedDate` from the `allOf[subschema #1]/` response property `allOf` list for the response status `200`
  - response property `lineItems/items/trackingCategoryRefs/items/` deprecated
- **2023-03-03** `98215c2f7f13`: 1 info
  - the endpoint scheme security `API_Key` was removed from the API
- **2023-03-01** `6deb1f3607e9`: 13 breaking
  - the `currencyRate` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/discountAmount` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/discountPercentage` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/quantity` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/subTotal` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/taxAmount` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/taxRateRef/effectiveTaxRate` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/totalAmount` response's property format changed from `double` to no format for status `200`
  - the `lineItems/items/unitAmount` response's property format changed from `double` to no format for status `200`
  - the `subTotal` response's property format changed from `double` to no format for status `200`
  - the `totalAmount` response's property format changed from `double` to no format for status `200`
  - the `totalDiscount` response's property format changed from `double` to no format for status `200`
  - the `totalTaxAmount` response's property format changed from `double` to no format for status `200`
- **2023-02-08** `1a59e6fed067`: 1 breaking, 20 info
  - the response's body type changed from no type to `object` for status `200`
  - added `#/components/schemas/0` to the response body `allOf` list for the response status `200`
  - removed `#/components/schemas/1, subschema #1` from the response body `allOf` list for the response status `200`
  - added the optional property `currency` to the response with the `200` status
  - added the optional property `currencyRate` to the response with the `200` status
  - added the optional property `deliveryDate` to the response with the `200` status
  - added the optional property `expectedDeliveryDate` to the response with the `200` status
  - added the optional property `id` to the response with the `200` status
  - added the optional property `issueDate` to the response with the `200` status
  - added the optional property `lineItems` to the response with the `200` status
  - added the optional property `metadata` to the response with the `200` status
  - added the optional property `note` to the response with the `200` status
  - added the optional property `paymentDueDate` to the response with the `200` status
  - added the optional property `purchaseOrderNumber` to the response with the `200` status
  - added the optional property `shipTo` to the response with the `200` status
  - added the optional property `status` to the response with the `200` status
  - added the optional property `subTotal` to the response with the `200` status
  - added the optional property `supplierRef` to the response with the `200` status
  - added the optional property `totalAmount` to the response with the `200` status
  - added the optional property `totalDiscount` to the response with the `200` status
  - added the optional property `totalTaxAmount` to the response with the `200` status
- **2023-02-05** `0114eec4c4e6`: 1 breaking, 20 warning, 1 info
  - the response's body type changed from `object` to no type for status `200`
  - removed the optional property `currency` from the response with the `200` status
  - removed the optional property `currencyRate` from the response with the `200` status
  - removed the optional property `deliveryDate` from the response with the `200` status
  - removed the optional property `expectedDeliveryDate` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - removed the optional property `issueDate` from the response with the `200` status
  - removed the optional property `lineItems` from the response with the `200` status
  - removed the optional property `metadata` from the response with the `200` status
  - removed the optional property `modifiedDate` from the response with the `200` status
  - removed the optional property `note` from the response with the `200` status
  - removed the optional property `paymentDueDate` from the response with the `200` status
  - removed the optional property `purchaseOrderNumber` from the response with the `200` status
  - removed the optional property `shipTo` from the response with the `200` status
  - removed the optional property `sourceModifiedDate` from the response with the `200` status
  - removed the optional property `status` from the response with the `200` status
  - removed the optional property `subTotal` from the response with the `200` status
  - removed the optional property `supplierRef` from the response with the `200` status
  - removed the optional property `totalAmount` from the response with the `200` status
  - removed the optional property `totalDiscount` from the response with the `200` status
  - removed the optional property `totalTaxAmount` from the response with the `200` status
  - added `#/components/schemas/1, subschema #1` to the response body `allOf` list for the response status `200`
- **2023-02-04** `0d48409a7c7e`: 1 warning
  - deleted the `path` request parameter `companyId`
- **2023-02-04** `62ac5c73b42d`: 4 breaking, 4 warning, 1 info
  - the `lineItems/items/itemRef` response's property type changed from `object` to no type for status `200`
  - the `lineItems/items/taxRateRef` response's property type changed from `object` to no type for status `200`
  - removed the required property `lineItems/items/itemRef/id` from the response with the `200` status
  - removed the required property `lineItems/items/taxRateRef/id` from the response with the `200` status
  - removed the optional property `lineItems/items/itemRef/name` from the response with the `200` status
  - removed the optional property `lineItems/items/taxRateRef/effectiveTaxRate` from the response with the `200` status
  - removed the optional property `lineItems/items/taxRateRef/name` from the response with the `200` status
  - removed the optional property `metadata/isDeleted` from the response with the `200` status
  - added the optional property `metadata/metadata` to the response with the `200` status
- **2023-02-01** `116155a6ce04`: 2 info
  - api tag `Purchase orders` added
  - api tag `PurchaseOrders` removed

---

[Operation](https://skmtc.dev/codatio/apis/accounting-api/docs/companies/:companyId/data/purchaseOrders/:purchaseOrderId/get.md) - [API](https://skmtc.dev/codatio/apis/accounting-api.md) - [Page](https://skmtc.dev/codatio/apis/accounting-api/changes/companies/:companyId/data/purchaseOrders/:purchaseOrderId/get)
