--- title: "DATEV document upload error for Administrators - Payhawk Help Center" slug: "failed-to-export-into-datev-an-error-occurred-while-uploading-the-documents-please-check-if-the-attached-file-is-valid" description: "Fix the DATEV export error about uploading documents. DATEV accepts PNG files but not JPEG, so change the receipt or document to PNG and retry the export." updated: 2026-02-26T13:37:06Z published: 2026-02-26T13:37:06Z canonical: "payhawk.com/failed-to-export-into-datev-an-error-occurred-while-uploading-the-documents-please-check-if-the-attached-file-is-valid" --- > ## 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 Datev. An error occurred while uploading the documents. Please check if the attached file is valid. ## Error message ```plaintext Failed to export into Datev. An error occurred while uploading the documents. Please check if the attached file is valid. ``` ## Affected ERP integrations - DATEV ## Cause This error occurs because DATEV does not accept JPEG (`.jpg`) file formats for uploads. Only PNG (`.png`) files are supported. ## Solution To resolve this issue: 1. Check the attached file format. 2. If the receipt or document is in JPEG format, change it to PNG before re‑uploading. 3. Retry the export after updating the file.