--- title: "Splitting expenses into line items in the Portal" slug: "splitting-expenses-into-line-items-in-the-portal" description: "Split expenses into multiple line items in the Payhawk spend management platform: allocate amounts by category or custom fields and use smart split tools." updated: 2026-10-27T14:17:29Z published: 2026-10-27T14:17:29Z canonical: "payhawk.com/splitting-expenses-into-line-items-in-the-portal" --- > ## Documentation Index > Fetch the complete documentation index at: https://payhawk.com/help/llms.txt > Use this file to discover all available pages before exploring further. # Splitting expenses into line items in the Portal Your company may receive an invoice containing expenses related to different pre-defined expense categories, teams, tax rates, or custom fields such as **Cost center** or **Project**. In such cases, you can split expenses that are not yet reviewed into multiple line items, so that you can maintain the correct expense categorization data on each line. In Payhawk, employees can split expenses into line items too. If your workflows are configured to require approval by a Team Manager or a Custom Field Manager, Payhawk will send expense requests to all relevant approvers based on the data in all line items. For more information, see the article about [defining custom approval workflows](/help/workflow-conditions-and-custom-workflows). > [!TIP] > **Pro tip** > > To save time and effort, you can assign a category to the expense before splitting so that it automatically applies to all line items. ## Fetching line items from document lines You can split an expense into line items by fetching the line items from the attached expense document. If you have already split the expense into line items, the new fetch will replace them. 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Click on its three-dot menu and select **Split**. 3. In the side panel that opens, select the **Document lines** option. 4. When ready, click on the **Fetch [number] line items** to confirm the split. ![Overview of line items including services, consulting, materials, and discount details.](https://cdn.payhawk.com/Acc%3AExpenses/splitting-expenses-line-items-portal_fetch-document-lines_20260910_ai.png) ## Fetching line items from document tax rates You can also split an expense based on the tax rate of the document line items in the invoice attached to that expense. 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Click on its three-dot menu and select **Split**. 3. In the side panel that opens, select the **Tax rate** option. 4. When ready, click on the **Fetch [number] line items** to confirm the split. ![Display of tax rates and total amounts for line items in a document.](https://cdn.payhawk.com/Acc%3AExpenses/splitting-expenses-line-items-portal_fetch-tax-rates_20260910_ai.png) ## Fetching from previous expenses You can also apply a previous line split to an expense as long as you have an expense from the same supplier that has been previously split into line items. 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Click on its three-dot menu and select **Split**. 3. In the side panel that opens, select the **Previous expense** option. 4. When ready, click on the **Fetch [number] line items** to confirm the split. ![Interface for fetching previous expense details with search and action buttons.](https://cdn.payhawk.com/Acc%3AExpenses/splitting-expenses-line-items-portal_fetch-previous-expense_20260910_ai.png) ## Splitting into equal parts You can split an expense into equal parts. For example, if the expense amount is EUR 100 and you’ve selected to split it in equal parts, Payhawk will split the expense into 2 line items and distribute the amount equally between the two, resulting in each line item’s amount of EUR 50. Alternatively, if you have already split the expense into, for example, 4 line items, the system will distribute the total into 4 equal parts resulting in 4 line items each amounting to EUR 25. To split an expense into equal parts: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Click on its three-dot menu and select **Split**. 3. In the side panel that opens, select the **Equal parts** option. 4. When ready, click on **Save**. ![Equal parts panel showing the line items with equal amounts and the Split the amounts equally button.](https://cdn.payhawk.com/navigation-redesign-didi_20261008_ai/splitting-expenses-into-line-items-in-the-portal-04_20261008_ai.png) ## Making your own custom line item split Some allocations aren't printed on the invoice - for example, sharing a cost across two teams, cost centers, projects, or grants, or applying a fixed ratio such as 70/30. In these cases, you can describe the split in your own words and let Payhawk’s Financial Controller AI Agent propose the line items for you. > [!TIP] > Custom splits with the Payhawk AI Agent are available in the Payhawk Web Portal only, and only for expenses that haven't been reviewed yet. To split an expense by using the AI Agent: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Click its three-dot menu and select **Split** and the line-item split options will open in a side panel.![Expense three-dot menu open with the Split option highlighted](https://cdn.payhawk.com/Navigation%20images%20Desi_20261015/splitting-expenses-line-items-portal_split-menu_20261015_ai.png) 3. Select **Describe the split**. The Payhawk **AI Office** dialog loads, and the Financial AI Controller Agent starts the conversation. ![Split expense panel with the Document lines, Manual split, and Describe the split options](https://cdn.payhawk.com/Navigation%20images%20Desi_20261015/splitting-expenses-line-items-portal_split-expense-panel_20261015_ai.png) 4. Describe how you want the expense split - for example, "Allocate 70% to Project A and 30% to Project B." The AI Agent proposes a split as line items, each with category, tax rate, cost center, and other fields filled in, with amounts adding up to the invoice total. 5. Review the proposal and, if needed, tell the agent what to adjust - for example, move an amount to another team or add a line. It'll recalculate so everything still adds up to the invoice total. Once you're happy with it, confirm in the chat to add the line items to the expense.![Expense split proposal for Barcelona and Sofia offices with detailed amounts and ratios.](https://cdn.payhawk.com/Acc%3AExpenses/splitting-expenses-line-items-portal_ai-agent-describe-split_20260910_ai.png) 6. Adjust any line if needed and click on **Save**. ![An expense split into two line items in the Amount section, next to the AI Office panel where the Financial Controller Agent confirms the 70/30 split has been applied.](https://cdn.payhawk.com/Navigation%20images%20Desi_20261015/splitting-expenses-line-items-portal_ai-agent-split-applied_20261015_ai.png) ## Manually splitting an expense into line items To split an expense into multiple line items: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend**. 2. Select the desired expense by clicking on it. 3. Click on the three-dot menu and select the **Split** option. 4. In the **Split expense** panel that opens, select **Manual split**. Payhawk splits the expense into two line items in the **Amount** section: the first one holds the full amount and the second one is empty. To add more line items, click on **Add line**. 5. Part of the line item data will be filled in automatically by Payhawk. Review it and manually enter the rest of the required data for each line item, for example: - Category. - Custom fields such as **Cost center** and **Project**. - The amount for each line item. Make sure that the amounts add up to the correct total. > [!TIP] > **Pro tip** > > Instead of entering the exact amount, you can input the percentage that the line item's cost represents of the expense total - for example, go to the line item, select **Total amount**, and type **50%**. The system will then automatically calculate the amount and subtract it from the total. - Tax rate, and more. 6. Click on **Save** to confirm your changes. ![Expense three-dot menu with the Split option, and the Amount section showing two line items and the Add line button](https://cdn.payhawk.com/Navigation%20images%20Desi_20261015/splitting-expenses-into-line-items-in-the-portal-09_20261015_ai.png) ## LLM-based line item extraction If the standard data extraction mechanism for line item extraction was not able to match the data as expected, you can run the LLM-based data fetch method. To retry, click on the **Scan again** button. ![Document lines for various shipping charges and options to fetch line items.](https://cdn.payhawk.com/Acc%3AExpenses/fetch%20line%20items%20again%20llm.jpg) ## Splitting expenses into line items from a linked request When an expense is linked to a request whose invoice has two or more line items, you can split the expense into the respective line items too. 1. Select the expense. 2. In the **Details** section, go to the **Matching request line item** field and click on **Split into [number] line items**. ![Details section of an expense with the linked request in the Related section and the Matching request line item field with the Split into 2 line items option.](https://cdn.payhawk.com/Acc%3AExpenses/Splitting_expenses_linked_request_matching_line_20261007_ai.png) If the **Split into [number] line items** option is selected, it will lead to the following actions: - The number of line items that will be added to the expense will be the same as the number of line items in the request. - The line item notes of the expense will be populated with the descriptions of the request items. - The line item categorization fields of the expense will be populated with the request item fields - category, team, amortization, and custom fields. - If the net amount of the expense matches the amount of the request, the splitting will populate the net amounts of the expense line items by using the item amounts of the request. Once the expense is split, each line item has its own **Request** and **Matching request line item** fields in the **Amount** section, so you can change the request line item that each expense line item matches. For more information, see the article about the [Request selector](/help/overview-of-the-request-expense-selector). ## Viewing line items To view an expense line item: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Go to the **Amount** section. The line items are listed there, each with its tax and total amount. ![Expense with line items shown in the Amount section and the line item count next to the title.](https://cdn.payhawk.com/navigation-redesign-didi_20261008_ai/splitting-expenses-into-line-items-in-the-portal-12_20261008_ai.png) ## Merging line items You can also merge some of the expense line items: 1. In **Spend**, select the desired expense. 2. In the **Amount** section, click on **EDIT** next to **LINE ITEM**. 3. Select the checkboxes of the line items you want to merge and click on **MERGE**. Alternatively, to cancel the line item merge, click on **CANCEL**. 4. In the flyout dialog, select the target line item from the drop-down list where you want to merge the selected line items. 5. Click on **Merge**. 6. When back to the expense, click on **Save**. ![Line items in edit mode with two lines selected and the Merge 2 line items panel with the target line item.](https://cdn.payhawk.com/navigation-redesign-didi_20261008_ai/splitting-expenses-into-line-items-in-the-portal-13_20261008_ai.png) ## Editing line items To edit an expense line item, including splitting the expense in another way, removing a line item, and so on: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Go to the **Amount** section of the expense, where the line items are listed. ![Amount section of an expense with two line items, the EDIT option, and the Add line button](https://cdn.payhawk.com/Navigation%20images%20Desi_20261015/splitting-expenses-line-items-portal_line-items-amount_20261015_ai.png) ## Deleting line items To remove an expense line item: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend** and select the desired expense. 2. Go to the **Amount** section of the expense, where the line items are listed. 3. Hover over the line item and click on the **x** icon against the line item you want to remove. ![Line items in the Amount section of an expense, with the x icon shown when you hover over a line item.](https://cdn.payhawk.com/Navigation%20images%20Desi_20261015/splitting-expenses-line-items-portal_deleting-line-items_20261015_ai.png) > [!TIP] > - You can delete line items only before the expense has been reviewed. > - To be able to remove all existing line items of an expense, make sure you’ve updated the amount of the last one to the amount of the whole expense. When you click on save, the only line item won’t be visible any more. ## ​Useful resources - [Splitting expenses into line items from the Payhawk mobile app](/help/splitting-expenses-into-line-items-in-the-app)