New Payhawk offices in Stockholm and Warsaw | Learn more

The selected G/L account is not mapped to an expense category in NetSuite.

Prev Next

Error message

The selected G/L account is not mapped to an expense category in NetSuite.

Relevant ERP integrations

  • Oracle NetSuite

Cause

The issue arises when there is no expense category in Oracle NetSuite linked to the G/L account associated with the expense category in Payhawk.

  • If you're using direct integration with Oracle NetSuite, you can configure reimbursements to export into the ERP as either Expense Reports or Vendor Bills.

  • If you use expense reports, Oracle NetSuite requires expense categories to post them correctly.

Solution

To handle this error:

  1. Check the selected category of the expense you are facing issues with in Payhawk.

  2. Check the selected expense account in Oracle NetSuite and its Internal ID.

  3. Go to Payhawk and verify that the two are matching:

    1. Go to Settings > Fields library > Category.

    2. Locate the expense category.

    3. Make sure the corresponding account matches the Internal ID from Oracle NetSuite.

Expense categories are a specific type of categorization in Oracle NetSuite. To view the list, search for Expense Categories within the ERP.

Oracle NetSuite global search for expense categories

Here is an example of how Expense Categories appear in Oracle NetSuite:

  • Internal ID - The unique identifier for the expense category. This may vary for each Oracle NetSuite account or may not appear if it’s optional.  

  • Name - The name of the expense category, specific to the Oracle NetSuite account shown in the screenshot.  

  • Description - A brief description of the category. This field may be empty.

  • Expense Account - The account from the chart of accounts that is linked to this expense category.  

Expense Categories list in Oracle NetSuite with the internal ID column

The following screenshot is from Oracle NetSuite, showing a specific expense category:

Expense category in Oracle NetSuite with its expense account

*The 10001 code is the code of the account from Oracle NetSuite.

The Expense Account field is the most crucial one. The account selected here must match the one configured in Payhawk under Fields library > Category > ACCOUNT CODE.

Category page in Payhawk with the account code of a category highlighted

*ACCOUNT CODE is the Internal ID of the account code from Oracle NetSuite.

The following screenshot is from Oracle NetSuite, showing Expense Categories.

Expense Categories list in Oracle NetSuite with the expense account highlighted

The selected expense account in Oracle NetSuite must correspond to the account code (Internal ID) configured in Payhawk.

Expense account of a category in Oracle NetSuite and the matching account code in Payhawk