---
title: "Changes to Create purchase order"
method: POST
path: "/companies/{companyId}/connections/{connectionId}/push/purchaseOrders"
---

# Changes to Create purchase order

`POST /companies/{companyId}/connections/{connectionId}/push/purchaseOrders`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 59 revisions.

- **2024-02-19** `d9d77b1f9132`: 2 info
- **2024-02-13** `4bfab0afa6ca`: 8 info
- **2024-01-11** `3bc6baa03253`: 2 breaking, 18 warning, 3 info
- **2023-12-15** `ba6ef154fd48`: 2 warning, 2 info
- **2023-10-23** `948b47a54450`: 4 info

## Changes

- **2024-02-19** `d9d77b1f9132`: 2 info
  - added the new optional request property `allOf[subschema #1]/createdBy`
  - added the optional property `allOf[subschema #1]/data/allOf[subschema #1: Accounting: Purchase order]/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 `400` status
  - 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 `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
- **2024-01-11** `3bc6baa03253`: 2 breaking, 18 warning, 3 info
  - the `allOf[subschema #1]/data` response's property type changed from `object` to no type for status `200`
  - the `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/` response's property type changed from `object` to no type for status `200`
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/currency` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/currencyRate` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/deliveryDate` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/expectedDeliveryDate` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/id` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/issueDate` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/lineItems` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/metadata` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/note` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/paymentDueDate` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/purchaseOrderNumber` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/shipTo` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/status` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/subTotal` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/supplierRef` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/totalAmount` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/totalDiscount` from the response with the `200` status
  - removed the optional property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/totalTaxAmount` from the response with the `200` status
  - added `#/components/schemas/PurchaseOrder` to the `allOf[subschema #1]/data` response property `allOf` list for the response status `200`
  - removed `#/components/schemas/ModifiedDates` from the `allOf[subschema #1]/data` response property `allOf` list for the response status `200`
  - response property `allOf[subschema #1]/data/allOf[subschema #1 -> subschema #2]/` deprecated
- **2023-12-15** `ba6ef154fd48`: 2 warning, 2 info
  - added the new `itemReceipts` enum value to the `allOf[subschema #2: Push operation]/changes/items/recordRef/dataType` response property for the response status `200`
  - added the new `itemReceipts` enum value to the `allOf[subschema #2: Push operation]/dataType` response property for the response status `200`
  - added the new optional request property `allOf[subschema #1]/lineItems/items/unitOfMeasurement`
  - added the optional property `allOf[subschema #1]/data/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`

---

[Operation](https://skmtc.dev/codatio/apis/accounting-api/docs/companies/:companyId/connections/:connectionId/push/purchaseOrders/post.md) - [API](https://skmtc.dev/codatio/apis/accounting-api.md) - [Page](https://skmtc.dev/codatio/apis/accounting-api/changes/companies/:companyId/connections/:connectionId/push/purchaseOrders/post)
