DATEV Export Pro Extension
Overview
The MageB2B DATEV Export Pro module exports Magento 2 invoices and credit memos in DATEV-compatible formats and provides a powerful mapping language so you can adapt exports to your accounting requirements.
Key Features
Exports
- CSV / EXTF (DATEV ASCII) export with semicolon separator and Windows-1252 encoding
- XML (DATEV Online) export with archive + per-document XML files
- Optional: PDF documents and customer master data inside ZIP exports
Mapping & Validation
- JSON-based mappings for invoices, credit memos, XML, and master data
- Integrated Validate Mapping and Mapping Help / Quick Reference in the Magento admin
- Built-in mapping functions (including
function:getRevenueAccountandfunction:getTaxRate)
Automation
- Cron-based automatic exports with configurable date range patterns and formats
- CLI export command:
bin/magento datev:export
Where To Find It In Magento
- Manual Export (Admin):
Sales >DATEV > DATEV Export - OSS Export (Admin):
Sales >DATEV > DATEV OSS Export - Configuration:
Stores >Configuration > MageB2B > DATEV Export Pro
Screenshot placeholder:
Sales >DATEV > DATEV Exportexport form.
Quick Start
- Install: Installation Guide
- Configure: Configuration
- Adapt exports: Column Mapping and Mapping Language
- Run exports: Manual Export / Automated Exports
Output Files (Default)
Exports are written under Magento’s var/ directory:
var/export/datev/EXTF_Datev_*.csv(CSV / EXTF)var/export/datev/DATEV_XML_*.xml(XML archive)var/export/datev/invoice_/.xml creditmemo_(XML document files).xml var/export/datev/pdfs/*.pdf(optional PDFs)var/export/datev/*.zip(ZIP exports)
Note: Some configuration fields (e.g. “Export Path”, “XML Encoding”) may exist in the UI but are not applied by the current exporter implementation. The paths above reflect the actual output.
Related Topics
If you run into issues, start with: Troubleshooting.
