# Purchase Orders

Group: Accounting

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/groups/accountingPurchaseOrders)

A purchase order records the goods or services a legal entity orders from a vendor.

An order can be created from purchase requests, and goods receipts and vendor bills are matched to the order's lines. Each order goes through your tenant's approval policy, and approvalStatus shows the result.

## Endpoints

- [List purchase orders](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/purchaseOrders.html): `GET /accounting/purchase-orders`
- [Create a purchase order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/createPurchaseOrder.html): `POST /accounting/purchase-orders`
- [Search purchase orders](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/searchPurchaseOrder.html): `POST /accounting/purchase-orders/search`
- [Retrieve a purchase order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/getPurchaseOrder.html): `GET /accounting/purchase-orders/{id}`
- [Update a purchase order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/updatePurchaseOrder.html): `PATCH /accounting/purchase-orders/{id}`
- [Delete a purchase order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/deletePurchaseOrder.html): `DELETE /accounting/purchase-orders/{id}`
- [Approve a purchase order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/approvePurchaseOrder.html): `POST /accounting/purchase-orders/{id}/approve`
- [Reject a purchase order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/rejectPurchaseOrder.html): `POST /accounting/purchase-orders/{id}/reject`
