);
my @data_csv = sort { $a->[0] cmp $b->[0] } @{ $datev_csv3->lines };
-cmp_deeply($data_csv[0], [ 100, 'H', 'EUR', '', '', '', '4660', '1000', 9, '1703', 'Reise März 2',
+cmp_deeply($data_csv[0], [ 100, 'S', 'EUR', '', '', '', '4660', '1000', 9, '1703', 'Reise März 2',
'', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '', '',
'kost2' => 'Crowd-Funding September 2017',
'umsatz' => '249.9',
'waehrung' => 'EUR',
- 'soll_haben_kennzeichen' => 'S',
},
{
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
'kost2' => 'Crowd-Funding September 2017',
'umsatz' => 535,
'waehrung' => 'EUR',
- 'soll_haben_kennzeichen' => 'S',
},
{
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
'kost2' => 'Crowd-Funding September 2017',
'umsatz' => '784.9',
'waehrung' => 'EUR',
- 'soll_haben_kennzeichen' => 'S',
},
], "trans_id datev check ok";
'kost2' => 'Crowd-Funding September 2017',
'umsatz' => '249.9',
'waehrung' => 'EUR',
- 'soll_haben_kennzeichen' => 'S',
},
{
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
'kost2' => 'Crowd-Funding September 2017',
'umsatz' => 535,
'waehrung' => 'EUR',
- 'soll_haben_kennzeichen' => 'S',
},
{
'belegfeld1' => "\x{de} sales \x{a5}& inv\x{f6}ice",
'kost2' => 'Crowd-Funding September 2017',
'umsatz' => '784.9',
'waehrung' => 'EUR',
- 'soll_haben_kennzeichen' => 'S',
},
], "trans_id datev check use_pk ok";
'konto' => '3400',
'kost1' => undef,
'kost2' => undef,
- 'soll_haben_kennzeichen' => 'H',
'umsatz' => 119,
'waehrung' => 'EUR'
},
'konto' => '3300',
'kost1' => undef,
'kost2' => undef,
- 'soll_haben_kennzeichen' => 'H',
'umsatz' => 107,
'waehrung' => 'EUR'
}
'konto' => '3400',
'kost1' => undef,
'kost2' => undef,
- 'soll_haben_kennzeichen' => 'H',
'umsatz' => 119,
'waehrung' => 'EUR'
},
'konto' => '3300',
'kost1' => undef,
'kost2' => undef,
- 'soll_haben_kennzeichen' => 'H',
'umsatz' => 107,
'waehrung' => 'EUR'
}