Failed to export into Exact Online. The selected Cost Unit is not allowed with the selected category.

Prev Next

Error message

The selected Cost Unit is not allowed with the selected category. Please check the G/L account Cost analysis in Exact Online.

Affected ERP integrations

  • Exact Online

Cause

This error occurs when the General Ledger (G/L) account mapped to your expense category in Payhawk has specific restrictions on which cost units can be used with it in Exact Online. If the selected cost unit in your Payhawk expense is not part of the allowed list for that G/L account, as defined in its Cost analysis settings, Exact Online will reject the export.

Solution

To resolve this issue:

  1. Log in to your Exact Online account.

  2. Navigate to Master Data > Financial > G/L Accounts.

  3. Locate the G/L account that is mapped to your expense category in Payhawk.

  4. Click on the G/L account to view its details, and then go to the Cost analysis section.

  5. Review the settings for Cost unit.

    1. Check if a mandatory set of cost units is specified.

    2. Verify that the cost unit selected in your Payhawk expense is included in the Available property for that G/L account. If the selected cost unit is not allowed, you will need to either:

      • Adjust the G/L account's Cost analysis settings in Exact Online to include the desired cost unit.

      • Select a different, permissible cost unit in Payhawk for the expense.

      • Select a different expense category in Payhawk that maps to a G/L account allowing the desired cost unit.

        Cost analysis section highlighting mandatory cost unit selection in a user interface.

  6. Click Save.

  7. Return to Payhawk and attempt to export the expense again. The export must now be successful.