--- title: "Department not provided for Administrators - Payhawk Help Center" slug: "department-not-provided-please-make-sure-you-have-mapped-departments-teams-correctly" description: "Fix the department not provided error when exporting to Oracle NetSuite: map each team to its NetSuite department in the team's Entity visibility section." updated: 2026-10-21T07:34:28Z published: 2026-10-21T07:34:28Z canonical: "payhawk.com/department-not-provided-please-make-sure-you-have-mapped-departments-teams-correctly" --- > ## 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. # Department not provided. Please make sure you have mapped Departments/Teams correctly. ## Error message ```plaintext Department not provided. Please make sure you have mapped Departments/Teams correctly. ``` ## Relevant ERP integrations - Oracle NetSuite ## Cause **Department** is a required field in Oracle NetSuite and the mapping with Payhawk's **Teams** field is incorrect. ## Solution Verify the **Employees**-**Departments** mapping in Payhawk. A possible issue may be that the **Team** selected for the expense causing the error is not mapped. To resolve this, map the **Team** to the correct department: open the team and, in the **Entity visibility** section, click on **Edit**. Then select the department from the drop-down list next to the entity and click on **Save**. ![Team panel and the Edit team panel with the NetSuite departments in the External ID drop-down](https://cdn.payhawk.com/Adm%3AIntegrations%3AError%20messages/Department_not_provided_20261020_ai.png) If the mapping is already correct, open the expense, change the **Team** to a different one, and then switch it back to the mapped **Team** to apply the changes.