Error message
Failed to export into Datev. The selected cost category does not have an external ID associated with it.Affected ERP integrations
DATEV
Cause
This error occurs when the cost category was selected before its external ID mapping was completed in DATEV. Because mappings are applied to historical data, Payhawk does not automatically refresh old fields after the mapping is added.
Solution
To resolve this issue:
Open the affected expense line in Payhawk.
Briefly select a different cost category.
Reselect the correct cost category (the one now linked to an external ID).
Save your changes and trigger the export again.