# Send, receive and complete an internal delivery

## Overview

[Video: Send, receive and complete an internal delivery](https://www.youtube.com/watch?v=i6HQhj6onRg)

This flow describes how to approve an [internal delivery](https://docs.ohc.network/concepts/supply/supply-delivery.md) at the sending location, receive its delivered items at the receiving location, and complete the internal delivery in Care. It also describes how to cancel an internal delivery or one of its delivered items.

The flow has three parts, at two locations.

First, the sending location approves the internal delivery. Its status changes from **Draft** to **Pending**, and the internal delivery is on its way to the receiving location. After that, the sending location can no longer change the internal delivery.

Next, the receiving location receives the delivered items. It marks each ticked item **Completed** or **Abandoned**. Care adds the quantity of each completed item to the stock of the receiving location at once. Care gives the quantity of each abandoned item back to the sending location.

Last, the receiving location completes the internal delivery. This closes the internal delivery but does not change the stock. The stock of the sending location dropped when the delivered items were saved. The stock of the receiving location rose when that location received them.

## Pre-requisites

* You belong to a department of the facility.
* A service of the facility lists the sending location under **Available Locations**. A service also lists the receiving location.
* The internal delivery has at least one delivered item with the status **In Progress**. If it has none, see [Add items to an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/add-items-supply-delivery.md).
* The status of the internal delivery is **Draft** or **Pending**.
* The goods of the internal delivery arrived at the receiving location.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Supply Delivery on Facility | Lets you approve the internal delivery, receive its delivered items, complete it, and cancel it. To approve, complete, or cancel the internal delivery, you must hold this permission in one of the departments of the sending location. To receive delivered items, you can hold it in one of the departments of the sending location or of the receiving location. By default, only the Facility Admin role holds this permission. |
| Can Read Healthcare Service | Lets you open **Services** and the services that list the two locations. You can hold this permission in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer, and Pharmacist roles hold this permission. |
| Can List Facility Locations | Lets you open the sending location and the receiving location. You must hold this permission in one of the departments of each location that you open. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, and Pharmacist roles hold this permission. |
| Can Read Supply Delivery | Lets you see the internal delivery in **Outgoing Deliveries** and **Incoming Deliveries**, open it, and see its delivered items. You must hold this permission in one of the departments of the location whose list you open. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer, and Pharmacist roles hold this permission. |

The departments of a location are the departments linked to it or to a location that contains it, the departments above them, and Administration.

Care counts only the roles that you hold in the departments of the facility.

Note: Care shows **Mark as Completed** only at the receiving location. But Care checks Can Create Supply Delivery on Facility at the sending location when you select it.

If you hold the Facility Admin role only in a department of the receiving location, you can receive the delivered items. Care does not save **Mark as Approved** or **Mark as Completed** for you. A role in Administration counts at every location of the facility, so it covers both locations.

Note: Care does not check your permissions before it shows the buttons of this flow. Care checks Can Create Supply Delivery on Facility when you save each change. If you do not hold it in the place described above, Care does not save the change.

## Steps

### 1. Open the internal delivery at the sending location

1. Open your facility.
2. In the sidebar, select **Services**.
3. Select the service that lists the sending location.
4. Under **Available Locations**, select the button on the card of the sending location.
5. In the location sidebar, select **Inventory**. The Inventory group opens.
6. Under **Internal Transfers**, select **To Dispatch**.
7. Select the **Outgoing Deliveries** tab.
8. Select the **Created** tab.
9. In the row of the internal delivery, select **View Details**.

![The Created tab of Outgoing Deliveries at the sending location, with the row of a Draft internal delivery outlined](/assets/images/receive-supply-delivery-1-17274196f184164105de8d131a4d6928.webp)

Care opens the page of the internal delivery. Its heading is the name of the delivery.

Note: The **Created** tab lists the internal deliveries with the status **Draft** or **Pending**.

Note: The button on the location card depends on the service type. For a Store service, it is **View Inventory**. For a Pharmacy service, it is **View Prescriptions**. Both open a page of the location that has the location sidebar.

### 2. Approve the delivery

If the status of the internal delivery is **Pending**, go to step 3.

In the page header, select **Mark as Approved**. Care does not ask you to confirm.

![A Draft internal delivery with saved items and the Mark as Approved button outlined in the page header](/assets/images/receive-supply-delivery-2-a4ea4deca15b70bcfed86a872736b6dc.webp)

Care changes the status to **Pending** and shows **Order marked as approved successfully.**

![The internal delivery after the approval, with the details card outlined showing the status Pending, and only Print in the page header](/assets/images/receive-supply-delivery-3-e2a8c96ea4c988248672a7d41947dce6.webp)

**Mark as Approved** is disabled in these cases:

* The internal delivery has unsaved item rows. The page then shows **Save or discard your item changes before updating this order.** Save or discard the rows first.
* The internal delivery has no delivered item with the status **In Progress**.

Note: **Mark as Approved** shows the keyboard shortcut M. To select **Mark as Approved** with the keyboard, press M.

Note: After the approval, the sending location sees no controls to change the internal delivery. It sees only **Print**, and **View Dispatch Request** if the items came from a stock request. Care offers no control to return the internal delivery to **Draft** or to cancel it.

The internal delivery now shows at the receiving location, under **Incoming Deliveries**, in the **In Transit** tab.

### 3. Open the internal delivery at the receiving location

1. Open your facility.
2. In the sidebar, select **Services**.
3. Select the service that lists the receiving location.
4. Under **Available Locations**, select the button on the card of the receiving location.
5. In the location sidebar, select **Inventory**. The Inventory group opens.
6. Under **Internal Transfers**, select **To Receive**.
7. Select the **Incoming Deliveries** tab.
8. Select the **In Transit** tab.
9. In the row of the internal delivery, select **View Details**.

![The In Transit tab of Incoming Deliveries at the receiving location, with the row of a Pending internal delivery outlined](/assets/images/receive-supply-delivery-4-39e68f81274a7b9c90b5f9aa83130375.webp)

Care opens the page of the internal delivery. Its heading is the name of the delivery. The items card is titled **Items to Receive**.

Note: The **In Transit** tab lists the internal deliveries with the status **Pending**. A **Draft** internal delivery does not show here.

Note: **To Receive** also opens at a location whose inventory usage is None. This lets the location receive stock that was sent to it.

Note: At such a location, the location sidebar does not show **Inventory**. Use **To Receive** under **Quick links** on the overview page of the location.

### 4. Select the items you receive

When the page opens, Care ticks every delivered item with the status **In Progress**.

1. Make sure that each item that arrived is ticked.
2. Untick each item that did not arrive.

![The Items to Receive table outlined, with every item ticked](/assets/images/receive-supply-delivery-5-000e6c9b725871b9ec7a2bab20618c87.webp)

Note: By default, you can tick up to 100 items at one time. Your deployment can change this limit. Above the limit, Care shows a message and disables **Receive & Update Stock**.

### 5. Receive the items

Select **Receive & Update Stock**. Care opens a dialog with the same name.

| Components | What it captures |
| - | - |
| Receiving Status | The new status of the ticked items. Select **Completed** to add the items to the stock of the receiving location. Select **Abandoned** to give the items back to the sending location. The default is **Completed**. |
| Item Condition? | The condition of the items: **Normal** or **Damaged**. The default is **Normal**. Care shows this field only when **Receiving Status** is **Completed**. |

Complete the fields. Then select **Confirm**.

![The Receive and Update Stock dialog outlined, with Completed and Normal selected and the Confirm button](/assets/images/receive-supply-delivery-6-94dbb8ab401a06401d1a5a8c97418e38.webp)

Care updates the ticked items and shows **Supply deliveries updated successfully**.

If you selected **Completed**, Care adds the quantity of each item to the stock of the receiving location at once. Items with the condition **Damaged** count in the stock, the same as **Normal** items.

If you selected **Abandoned**, Care gives the quantity of each item back to the stock of the sending location.

Note: **Receive & Update Stock** is disabled while no item is ticked.

Note: To update the ticked items without the dialog, open the ⋮ menu beside **Receive & Update Stock**. Care applies your choice at once and does not ask you to confirm.

* **Mark as Damaged** sets the ticked items to **Completed** with the condition **Damaged**. Care adds them to the stock of the receiving location.
* **Mark as Abandoned** sets the ticked items to **Abandoned**. Care gives them back to the sending location.

Warning: After a delivered item is **Completed** or **Abandoned**, you cannot change its status. Care offers no control to cancel the internal delivery after its approval. So you cannot take received stock back.

| If Care shows | What to do |
| - | - |
| **Error updating supply deliveries** | Care did not update any of the ticked items. If you do not hold the permissions listed above, ask your facility administrator for them. Then try again. |

### 6. Complete the delivery

1. Make sure that every delivered item has the status **Completed**, **Abandoned**, or **Entered in Error**.
2. Make sure that no item is ticked.
3. Select **Mark as Completed**.

![The received items and the message Supply deliveries updated successfully, with the Mark as Completed button outlined](/assets/images/receive-supply-delivery-7-bd5459ad5d280ee99f2eb0ac83ee67c3.webp)

Care changes the status to **Completed** and shows a message that the order is marked as completed.

The items card is now titled **Items updated to stock**.

![The completed internal delivery with the status Completed, the message Order successfully marked as Completed, and the title Items updated to stock outlined](/assets/images/receive-supply-delivery-8-a168e5b410a9a2c61e501ac4c6b93cdb.webp)

Completing the internal delivery does not change the stock. Care already changed it when the delivered items were saved and when they were received.

Note: If an item did not arrive, receive it as **Abandoned** in step 5 before you complete the internal delivery. If you do not, **Mark as Completed** stays disabled.

Note: Care shows **Mark as Completed** only at the receiving location, and only while the status is **Pending**.

Note: **Mark as Completed** shows the keyboard shortcut M. To select **Mark as Completed** with the keyboard, press M.

Note: You cannot return a completed internal delivery to **Draft**.

### 7. Cancel the delivery or an item

This step is optional.

To cancel the whole internal delivery while its status is **Draft**, use these steps:

1. Open the internal delivery at the sending location, as in step 1.
2. In the page header, open the ⋮ menu.
3. Select **Mark as Abandoned** or **Mark as entered in error**.
4. Read the message in the dialog. Then select **Confirm**.

When you cancel the internal delivery, these things happen:

* Each delivered item that is not already **Abandoned** or **Entered in Error** gets the new status of the internal delivery.
* Care gives the quantity of these items back to the stock of the sending location.
* After the cancellation, you cannot change the status of the internal delivery again.

Note: The ⋮ menu of the page header shows only while the internal delivery is **Draft**. It is disabled while unsaved item rows exist.

To cancel one delivered item while the internal delivery is **Draft**, use the ⋮ menu of the item. See [Add items to an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/add-items-supply-delivery.md). Care gives the quantity of the item back to the sending location.

While the internal delivery is **Pending**, only the receiving location can cancel delivered items. It receives them as **Abandoned** in step 5. The sending location has no control to cancel an item or the internal delivery.

## Expected Outcome

* The status of the internal delivery is **Completed**. It shows in the **Completed** tab of **Incoming Deliveries** at the receiving location. It also shows in the **Completed** tab of **Outgoing Deliveries** at the sending location.
* Each delivered item has the status **Completed**, with the condition **Normal** or **Damaged**, or the status **Abandoned**.
* The stock of the receiving location includes the quantity of each **Completed** item, **Damaged** items included.
* The stock of the sending location is lower by the quantity of each **Completed** item. Care took it out when the item was saved.
* The quantity of each **Abandoned** item is back in the stock of the sending location.
* At the receiving location, the items card is titled **Items updated to stock**.

## Related

Concepts:

* [Internal Delivery](https://docs.ohc.network/concepts/supply/supply-delivery.md)
* [Inventory Item](https://docs.ohc.network/concepts/supply/inventory-item.md)

Flows:

* [Create an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/create-supply-delivery.md)
* [Add items to an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/add-items-supply-delivery.md)
* [Edit an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/edit-supply-delivery.md)
* [View an internal delivery](https://docs.ohc.network/flows/supply/supply-delivery/view-supply-delivery.md)
* [Track incoming stock in To Receive](https://docs.ohc.network/flows/supply/internal-transfers/track-incoming-stock.md)
* [Track outgoing stock in To Dispatch](https://docs.ohc.network/flows/supply/internal-transfers/track-outgoing-stock.md)
