# Accounts Payable - Process

> **Accounts payable - Process** is the main dashboard where you can analyze the complete Purchase-to-Pay process from an invoices perspective.

## Introduction

**Accounts payable - Process** is the main dashboard where you can analyze the complete Purchase-to-Pay process from an invoices perspective.

See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-54120-b9440f25-2b51e68d.webp)

## KPIs

Below is a description of the **KPIs** that are displayed at the top of the **Accounts payable - Process** dashboard.

If you click on a KPI, the corresponding metric is selected in the **Invoices** dashboard item.

| KPI | Description |
| --- | --- |
| Variants | The number of various process paths different invoices have taken.  A variant is a specific path through the process, a set of activities that were taken in a specific order. Usually, several purchase order items have followed the same variant. |
| Avg. throughput time | The average throughput time between the first and the last event for invoices. |
| Percentage first time right | The percentage of unique invoices that only have main events and for which the final payment is done, related to the total number of invoices. |
| Total value (invoiced) | Total value of the invoices. |
| Invoices | Total number of invoices. |

## Invoices

With the **Invoices** dashboard item you can analyze the invoices in more detail.

You can select various attributes of the invoices and create different contexts by selecting metrics from the metric selector. See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-53523-0fb57f49-127be400.webp)

## Metrics

Below is a description of the metrics.

 <colgroup>
  <col/>
  <col/>
 </colgroup>
 
  
     Metric  
     Description  
  
 
 
  
     Number of invoices  
     The number of unique invoices created within the selected period.  
  
  
     Percentage of invoices  
     The percentage of unique invoices created within the selected period related to the total number of invoices.  
  
  
     Avg. value (invoiced)  
     The average value of invoices created within the selected period.  
  
  
     Total value (invoiced)  
     The total value of invoices created within the selected period.  
  
  
     Avg. invoice processing time  
     Average number of days between the invoice date and the creation date for invoices created within the selected period. Note: The processing time is calculated only if both dates are available and occurred in the right order. 
  
  
     Avg. throughput time end to end  
     The average throughput time between the first and the last event for invoices created within the selected period. Note: The throughput time is calculated only if both dates are available and occurred in the right order. 
  
  
     Avg. throughput time INV creation to payment  
     The average throughput time from creating an invoice to the actual payment of the invoice for invoices created within the selected period. Note: The throughput time is calculated only if both dates are available and occurred in the right order. 
  
  
     Percentage of first time right  
     The percentage of unique invoices which only have main activities and for which the final payment has been made, related to the total number of unique invoices created within the selected period for which a final payment has been made.  
  
 

:::note
Metrics in the **Purchase-to-Pay Discovery Accelerator** never take Invoices with missing data into account when the metric is calculated. For example, if an invoice does not have a value for the selected attribute and the metric calculates the average over this attribute, the Invoices is not taken into account.
:::

## Distribution

The **Distribution** chart enables you to analyze the frequency of purchase order items based on the **Invoice value**, the **Invoice processing time**,**Throughput time (end to end)**, or **Throughput time (invoice creation to payment)**. See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-54144-c06bad29-6761f0cc.webp)

The Details button enables you to analyze invoices in more detail and opens the [Details - Invoices](https://docs.uipath.com/process-mining/standalone/2021.10/user-guide/p2p-details-invoices#details---invoices)

## Process graph

The process graph displays the Accounts payable process based on the number of cases. See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-55865-709acf12-0c75f9fa.webp)

:::note
You can use the **Detail** slider to change the number of activities and/or edges shown.
:::

### Viewing the process based on a different metric

Follow these steps to select a different metric for the process graph.

| Step | Action |
| --- | --- |
| 1 | Click on the **Displayed metrics** icon in the process graph. |
| 2 | Select a different metric from the list of available metrics. |

See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-53740-b5b39df1-11ce95ac.webp)

See also [Working with Process Graphs](https://docs.uipath.com/process-mining/standalone/2021.10/user-guide/working-with-process-graphs#working-with-process-graphs).

## Submitting automation ideas

When you identify a bottleneck in the Purchase-to-Pay process while monitoring, for example when a manual activity takes a long time to be executed, you might want to send a request to automate the activity to **UiPath Automation Hub**. You can do this directly from the process graph. See [Sending Automation Ideas to UiPath Automation Hub](https://docs.uipath.com/process-mining/standalone/2021.10/user-guide/sending-automation-ideas-to-uipath-automation-hub#sending-automation-ideas-to-uipath-automation-hub) for more information.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-54672-a89dad32-b0bca748.webp)

:::note
This function is only available if **UiPath Process Mining** is set up for integration with **UiPath Automation Hub**.
:::
