--- title: "Xero currency export error for Administrators - Payhawk Help Center" slug: "failed-to-export-to-xero-unable-to-create-x-currency" description: "Fix the Failed to export into Xero. Unable to create X currency error: add the currency in Xero, then export the expense from Payhawk again to finish it." updated: 2026-10-21T09:04:00Z published: 2026-10-21T09:04:00Z canonical: "payhawk.com/failed-to-export-to-xero-unable-to-create-x-currency" --- > ## 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. # Failed to export into Xero. Unable to create X currency. ## Error message ```plaintext Failed to export into Xero. Unable to create X currency. ``` ## Cause This error occurs when Payhawk attempts to export an expense to Xero using a currency that is not enabled in your Xero account. When creating an invoice or bill, Xero requires that the currency be pre-configured and active within your account’s settings. If the currency from the expense in Payhawk has not been added to Xero, the export will fail with the above error message. ## Solution To resolve this issue: 1. Add the currency in Xero. 1. Log in to your Xero account. 2. Follow the instructions on [adding a foreign currency in Xero](https://central.xero.com/s/article/Add-a-foreign-currency-in-Xero). 3. Ensure the currency is activated and available for use. 2. Re-review the expense in Payhawk. 1. Go to your Payhawk account. 2. Locate the expense that failed to export. 3. Re-review the expense to initiate a new export attempt. 3. Proceed with processing the bank payment as usual, once the export is successful and the invoice or bill is created in Xero with the correct currency.