DATEV export
  1. Home
  2. Examples
  3. Catching up a year

Example A whole fiscal year in one run.

The shop has been running for years, and the tax firm wants last year cleanly in DATEV. The export catches up on it, orders from before the installation included.

The sequence

From the period to the import.

your-shop.com/admin

Period

August 2026September 2026Custom period

From01.01.2025

To31.12.2025

The period is longer than a year. That works, but it takes correspondingly longer - most tax firms want one month per file. A booking batch over the DATEV limit is split into several files by the export itself.

The document date counts. Already exported documents are skipped automatically; the file is then ready to download from the run and is kept in the history.

Start the export

Create previewShows totals and rows. Produces no file and locks no Beleg - the history lists it as a preview.

Create test exportProduces a real, complete file for checking. The run does not count as an export and the documents stay free - the file header says "Testexport".

Create exportBinding: writes the file and locks the documents against a second export.

  1. Choose the period

    On the export page "Custom period": 1 January to 31 December, or however the fiscal year of the tenant runs.

  2. Preview and test export

    The preview shows documents, bookings and totals; the test export writes the files as a trial for the tax firm.

  3. The run works in steps

    The progress window shows every step with a bar and the time left. The run works while the window is open: you can stop at any time, and "Continue" picks up where it stopped. To run it without the window, use the console.

  4. Several files when there are many

    Above 99,996 bookings the export writes several complete files, each with its own header and totals; they end in _01von03, _02von03 and so on. The document images come in packages.

  5. The tax firm imports everything

    All files belong together and are imported one by one; for the document packages the order does not matter.

What applies

Three rules for the big run.

Within one fiscal year

The document date is in the file without a year. A period across the fiscal year boundary therefore stops; two years are two runs.

No month twice

If a month already has a binding run, the year run skips its documents.

No upper limit

The number of documents only decides how many steps the run needs, not whether it runs.

Questions

What gets asked about it.

Does it work on the console as well?

Yes: bin/console dvsn-datev:export --from=2025-01-01 --to=2025-12-31 The run appears in the history like one from the admin.

What about payments under cash-basis taxation?

They count by their real payment date from the status history, also for months long past.

Does it work with a fiscal year that differs from the calendar year?

Yes. The tenant holds the start of the fiscal year as MM-DD, so 07-01 for a fiscal year starting on 1 July; it goes into the header of every file and has to match the fiscal year in the tax firm's DATEV records. You then choose 1 July to 30 June as the custom period. A period across the fiscal year boundary stops, because a booking batch belongs to exactly one fiscal year.

The other examples

The monthly run

At the start of the month the schedule exports the previous month and mails the file to the tax firm.

Switching over

Test export, trial import and reconciliation before the first binding run counts.

Selling into the EU

A revenue account per destination country and a delivery threshold that warns before it is crossed.