--- title: "Line items sum mismatch for Administrators - Payhawk Help Center" slug: "sum-of-expense-line-items-amount-does-not-match-expense-amount" description: "Fix the error when the sum of expense line items does not match the expense amount: adjust the line items or the total in Spend so they match, then export it." updated: 2026-10-27T16:13:47Z published: 2026-10-27T16:13:47Z canonical: "payhawk.com/sum-of-expense-line-items-amount-does-not-match-expense-amount" --- > ## 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. # Sum of expense line items amount does not match expense amount ## Error message ```plaintext Sum of expense line items amount does not match expense amount. ``` ## Affected ERP integrations - DATEV - Exact Online - MS Business Central - Microsoft Dynamics 365 Finance & Operations - Oracle NetSuite - QuickBooks Online ## Cause This error occurs when the total sum of all line item amounts does not equal the total expense amount. The integration service validates that these amounts match before sending the expense to your accounting system. While this is typically validated in the Payhawk Web Portal, a secondary validation also runs in the backend. ## Solution To resolve this issue: 1. In the [Payhawk Web Portal](https://portal.payhawk.com), go to **Spend**. 2. Click on the expense that failed to export to open its details view. To find it quickly, click **Filters**, select **Export status** > **Failed**, and then select **Expense**. 3. Check all line items and compare the sum of their amounts to the total expense amount. 4. Adjust either the individual line item amounts or the total expense amount so that they match exactly. 5. Click on **Review** to export the expense again.