--- title: "Invalid category account code for Administrators - Payhawk Help Center" slug: "failed-to-export-into-oracle-exact-netsuite-xero-invalid-category-account-code" description: "Fix the invalid category account code error when exporting to Oracle NetSuite, Exact Online, or Xero: update the categories from the ERP and check the mapping." updated: 2026-10-21T07:32:19Z published: 2026-10-21T07:32:19Z canonical: "payhawk.com/failed-to-export-into-oracle-exact-netsuite-xero-invalid-category-account-code" --- > ## 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. # Failed to export into Oracle NetSuite/Exact/Xero. Invalid category account code. ## Error message ```plaintext Failed to export into Exact/NetSuite/Xero. Invalid category account code. ``` ## Relevant ERP integrations - Exact Online - Oracle NetSuite - Xero > [!TIP] > This article shows how to handle the error message in Oracle NetSuite. However, though the approach may vary, the suggested solution also applies to all relevant ERP integrations listed above. ## Cause The selected expense category is either not mapped correctly or its account code has been updated in the ERP system. ![Category page in the Payhawk Fields library with the Update from NetSuite button and the account code of each category](https://cdn.payhawk.com/Adm%3AIntegrations%3AError%20messages/Invalid_category_account_code_20261020_ai.png) ## Solution Refresh the list by clicking on **Update from ERP**, verify the mapping, re-select the expense category, and try reviewing it again.