--- title: "BC invoice not in Open state for Administrators - Payhawk Help Center" slug: "failed-to-export-into-ms-business-central-purchase-invoice-is-not-in-open-state-and-cannot-be-updated" description: "Fix the Business Central export error when the purchase invoice of a re-exported expense is no longer Open. Set the invoice back to Open in BC and export again." updated: 2026-03-16T14:03:40Z published: 2026-03-16T14:03:40Z canonical: "payhawk.com/failed-to-export-into-ms-business-central-purchase-invoice-is-not-in-open-state-and-cannot-be-updated" --- > ## 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 MS Business Central. Purchase invoice is not in Open state and cannot be updated. ## Error message ```plaintext Failed to export into MS Business Central. Purchase invoice is not in Open state and cannot be updated. ``` ## Affected ERP integrations - MS Business Central ## Cause This error occurs when an expense was previously exported to MS Business Central, then returned for review in Payhawk, and reviewed again for re-export. However, the corresponding purchase invoice in MS Business Central is no longer in the **Open status**, which is required for updates to be applied. ## Solution To resolve this issue: 1. Log in to your MS Business Central account. 2. Navigate to the **Purchase Invoices** section and locate the invoice corresponding to the expense that failed to export. 3. Open the invoice details and check its current status. 4. Change the status back to **Open** if it’s currently in another state such as **Posted** or **Pending**. 5. Save the changes. 6. Return to the Payhawk Web Portal and try to export the expense again.