From be4e1d787b437ebf4d7a891c85a4eed164e80dce Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Fri, 3 Mar 2017 15:45:09 +0100 Subject: [PATCH] Doku zu DATEV.pm csv_export_for_tax_accountant --- SL/DATEV.pm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/SL/DATEV.pm b/SL/DATEV.pm index b4cdd839a..ea410aca3 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -1464,6 +1464,25 @@ Returns a list of errors that occured. If no errors occured, the export was a su Exports data. You have to have set L and L or an error will occur. OBE exports are currently not implemented. +=item csv_export_for_tax_accountant + +Generates up to four downloadable csv files containing data about sales and +purchase invoices, and their respective payments: + +Example: + my $startdate = DateTime->new(year => 2012, month => 1, day => 1); + my $enddate = DateTime->new(year => 2012, month => 12, day => 31); + SL::DATEV->new(from => $startdate, to => $enddate)->csv_export_for_tax_accountant; + # { + # 'download_token' => '1488551625-815654-22430', + # 'filenames' => [ + # 'Zahlungen Kreditorenbuchungen 2012-01-01 - 2012-12-31.csv', + # 'Kreditorenbuchungen 2012-01-01 - 2012-12-31.csv', + # 'Zahlungen Debitorenbuchungen 2012-01-01 - 2012-12-31.csv', + # 'Debitorenbuchungen 2012-01-01 - 2012-12-31.csv' + # ] + # }; + =back =head1 ATTRIBUTES -- 2.20.1