> ## Documentation Index
> Fetch the complete documentation index at: https://linkq.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Log expenses

Before expenses can be reimbursed, each individual expense needs to be logged in the database. Expense records can be created in four different ways: **manually enter an expense record**, **upload a receipt**, **drag and drop** a receipt onto the **Expenses** app dashboard, or **email a receipt** to a preconfigured email address.

## **Manually enter expenses**

To record a new expense, open the **Expenses** app, which displays the **My Expenses** page, by default.

> [!TIP]
>
> **Tip**
>
> This view can also be accessed at any time by navigating to **Expenses app ‣ My Expenses ‣ My Expenses**.

Click the **New** button and fill out the following fields on the blank expense form that loads:

* **Description**: Enter a short description for the expense. This should be concise and informative, such as `Lunch with client` or `Hotel for trade show`.
* **Category**: Using the drop-down menu, select the **expense category** that most closely corresponds to the expense.
* **Total**: Enter the total amount paid for the expense in one of two ways:
  1. If the expense is for a single item/expense, and the category selected was for a single item, enter the cost in the **Total** field (the **Quantity** field is hidden).
  2. If the expense is for multiples of the same item/expense with a fixed price, the **Unit Price** is displayed. Enter the number of units in the **Quantity** field, and the total cost is automatically updated with the correct total. The total cost appears below the **Quantity**.
     > [!NOTE]
     >
     > **Example** An employee received one dollar for each mile driven for work. The **Category** is **\[MIL] Mileage**. The **Unit Price** is automatically populated with `$1.00`, which is the cost *per mile* configured for the expense **Category** **\[MIL] Mileage**. The **Quantity** is set to `48`, which is the *number of miles driven*, and the total is calculated to `$48.00`.
* **Included Taxes**: If taxes were configured on the selected expense category, the tax percentage and amount appear automatically after entering either the **Total** or the **Quantity**.
  > [!NOTE]
* **Employee**: Using the drop-down menu, select the employee associated with the expense.
* **Paid By**: Click the radio button to indicate who paid for the expense and should be reimbursed. Select either **Employee (to reimburse)** or **Company**. Depending on the expense category selected, this field may not appear.
* **Expense Date**: Using the calendar popover window that appears when this field is clicked, enter the date the expense was incurred.
* **Account**: If the selected expense **Category** has a specific account linked to it, that account appears in the **Account** field. If no account is specified, the default `600000 Expenses` account populates this field. If a different account is desired, select the account the expense should be logged in.
* **Customer to Reinvoice**: If the expense should be paid for by a customer and the selected **Category** allows for reinvoicing of expenses, select the SO and customer to be invoiced for the expense using the drop-down menu. All sales orders in the drop-down menu list both the SO, as well as the company the sales order is written for. After the expense is saved, the customer name disappears, and only the SO is visible on the expense.
  > [!NOTE]
  >
  > **Example** A customer wishes to have an on-site meeting for the design and installation of a custom building, and agrees to pay for all expenses associated with the meeting, including travel, hotel, and meals for the traveling employees. All expenses tied to that meeting would indicate the sales order for the custom building (which also references the customer) as the **Customer to Reinvoice**.
* **Analytic Distribution**: Select the account the expense should be written against from the drop-down menu for either **Projects**, **Departments**, or both. Multiple accounts can be listed for each category, if needed. Adjust the percentage for each analytic account by typing in the percentage value next to each account.
* **Company**: If in a multi-company database, select the company the expense should be filed for using the drop-down menu. The current company automatically populates this field.
* **Notes…**: If any notes are needed to clarify the expense, enter them in the notes field.

  ![Image](https://mintcdn.com/linkq/la51aYfqrw75OF-H/images/image-68.png?fit=max\&auto=format\&n=la51aYfqrw75OF-H\&q=85\&s=bc10cb1e521974ba1e484505b3d870b5)

### **Attach receipts**

After the expense record is created, the next step is to attach a receipt. Click the **Attach Receipt** button, and a file explorer appears. Navigate to the receipt to be attached, and click **Open**.

The new receipt is recorded in the *chatter*, and the number of receipts appears next to the **(paperclip)** icon. Multiple receipts can be attached to an individual expense record, as needed.

## **Upload expenses**

It is possible to have expense records created automatically by **uploading a PDF receipt**. To utilize this feature, a setting must be enabled, and IAP credits must be purchased.

### **Digitalization settings**

To enable receipt scanning, navigate to **Expenses app ‣ Configuration ‣ Settings**, and tick the checkbox beside the **Expense Digitization (OCR)** option. Then, click **Save**. When enabled, additional options appear. Click on the corresponding radio button to select one of the following options:

* **Do not digitize**: Disables receipt digitization but does *not* uninstall the related digitization module.
* **Digitize on demand only**: Only digitizes receipts when requested. A **Digitize document** button appears on expense records. When clicked, the receipt is scanned and the expense record is updated.
* **Digitize automatically**: Automatically digitizes all receipts when they are uploaded.

Beneath these options are two additional links. Click the **Manage Service & Buy Credits** link to view account details and settings, and purchase credits for receipt digitization. Click the **View My Services** link to view a list of all current services, and their remaining credit balances.

> [!NOTE]
>
> **Note**
>
> When the **Expense Digitization (OCR)** option is enabled, a necessary module is installed, so receipts can be scanned. Disabling this option uninstalls the module.
>
> If, at some point, there is a desire to temporarily stop digitizing receipts, select the **Do not digitize** option. The reason this option is available is so the module is not uninstalled, allowing for digitization to be enabled in the future by selecting one of the other two options.

### **Upload receipts**

Open the **Expenses app**, and from the **My Expenses** dashboard, click **Upload**, and a file explorer appears. Navigate to the desired receipt, select it, then click **Open**.

The receipt is scanned, and a new expense record is created. The **Expense Date** field is populated with today’s date, along with any other fields based on the scanned data, such as the **Total**.

Click on the new entry to open the individual expense form, and make any changes, if needed. The scanned receipt appears in the *chatter*.

## **Drag and drop an expense**

If **digitalization is enabled**, drag and drop a receipt onto the **Expenses** app dashboard. The receipt is scanned and appears by itself on the **Generate Expenses** dashboard.

Click on the expense record, and modify the details as needed. After changes are made, return to the **My Expenses** dashboard, and the expense now appears in the list.

## **Email expenses**

Instead of individually creating each expense in the **Expenses** app, expenses can be automatically created by sending an email to an email alias.

> [!NOTE]
>
> **Note**
>
> For security purposes, only authenticated employee emails are accepted by Odoo when creating an expense from an email. To confirm an authenticated employee email address, go to the employee card in the **Employees app**, and refer to the **Work Email** field.
>
> ![Image](https://mintcdn.com/linkq/la51aYfqrw75OF-H/images/image-69.png?fit=max\&auto=format\&n=la51aYfqrw75OF-H\&q=85\&s=f556310c6e730610eaace6a87ba25f7b)

To do so, an email alias must first be configured. Navigate to **Expenses app ‣ Configuration ‣ Settings**. Ensure the checkbox beside **Incoming Emails** is ticked. The default email alias is *expense@(domain).com*. Change the email alias by entering the desired email in the field to the right of **Alias**. Then, click **Save**.

> [!NOTE]
>
> **Note**
>
> If the domain alias needs to be set up, **Setup your domain alias** appears beneath the **Incoming Emails** checkbox, instead of the email address field.
>
> Refer to the **Domain names** documentation for setup instructions and more information.
>
> Once the domain alias is configured, the email address field is visible beneath the **Incoming Emails** feature on the **Settings** page in the **Expenses** app.

Once the email address has been entered, emails can be sent to that alias to create new expenses, without having to be in the LinkQ database.

To submit an expense via email, create a new email, and enter the product’s *reference* code (if available) and the amount of the expense as the subject of the email. Next, attach the receipt to the email. LinkQ creates the expense by taking the information in the email subject, and combining it with the receipt.

> [!TIP]
>
> **Tip**
>
> > To check an expense category’s reference code, go to **Expenses app ‣ Configuration ‣ Expense Categories**. Reference codes are listed in the **Reference** column.
>
> To add a reference code to an expense category, click on the category to open the expense category form. Enter the reference code in the **Reference** field.
>
> ![Image](https://mintcdn.com/linkq/la51aYfqrw75OF-H/images/image-70.png?fit=max\&auto=format\&n=la51aYfqrw75OF-H\&q=85\&s=ec68cc3bd0427df1c2c70816df494f83)

> [!NOTE]
>
> **Example**
>
> If submitting an expense, via email, for a \$25.00 meal during a work trip, the email subject would be `FOOD $25.00`.
>
> Explanation:
>
> * The **Reference** for the expense category `Meals` is `FOOD`
> * The **Cost** for the expense is `$25.00`

![Link Q](https://mintcdn.com/linkq/Gz9yyk8_ue3tRgDi/images/LinkQ.jpg?fit=max\&auto=format\&n=Gz9yyk8_ue3tRgDi\&q=85\&s=4ae76b65c6ab65cb407d97ac246299d7)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.