PRB: Zetadocs Expenses Export issue of 'Your license does not grant you the following permissions on CodeUnit 6989 Expense Attachment Mgt.'
Print
ZTN6028
This Zetadocs technical note applies to:
- Zetadocs Expenses
- Business Central Version 28.3
Symptom
The following error is being thrown when exporting any report from Zetadocs Expenses to Business Central version 28.3:
Export of reimbursable expenses failed.
Details: Validation error when setting purchase header document type and vendor number. Unhandled exception: Your license does not grant you the following permissions on CodeUnit 6989 Expense Attachment Mgt.: Execute. To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the following server session ID: '240891'. [ERR_PurchaseHeaderValidationVendorException]
Cause
The cause of this is due to a change in Business Central 28.3, which introduces the Expense Agent (Preview), in turn impacting the creation of purchase records, and other areas in Business Central, such as creating new companies.
Microsoft is aware of this issue and have detailed it as a known issue here, and is planned to be resolved in an update by Microsoft in Business Central.
Resolution
In order to resolve this issue, you will need to uninstall the Expense Agent (Preview) to prevent the impact of this within Business Central. To do this, please follow the steps detailed below.
- Browse to the Extension Management page in Business Central
- Locate the 'Expense Agent (Preview)' Extension
- Uninstall (ensuring you delete the data when uninstalling this)
Once this is done, please retry exporting the report/s from the Status screen within Zetadocs Expenses.
If you are still having issues, or would like assistance in doing this - please contact support@equisys.com quoting ZTN6028.
Status
Last updated: 27th July 2026 (MT/NT)
Keywords: Zetadocs Expenses, Export, Business Central 28.3