Revision df24b089
Von Jan Büren vor etwa 2 Jahren hinzugefügt
t/datev/datev_format_2018.t | ||
---|---|---|
173 | 173 |
'', '', '', '', '', '', '', '', '', |
174 | 174 |
'', '', '', '', '', '', '', '', '', |
175 | 175 |
'', '', '', '', '', '', '', '1', '', |
176 |
'', '', '', '', '',
|
|
176 |
'', |
|
177 | 177 |
], |
178 | 178 |
'invoice without deliverydate 19% tax export ok'; |
179 | 179 |
cmp_deeply $sorted[2], |
... | ... | |
191 | 191 |
'', '', '', '', '', '', '', '', '', |
192 | 192 |
'', '', '', '', '', '', '', '', '', |
193 | 193 |
'', '', '', '', '', '', '', '1', '', |
194 |
'', '', '', '', '',
|
|
194 |
'', |
|
195 | 195 |
], |
196 | 196 |
'invoice without deliverydate 16% tax export ok'; |
197 | 197 |
cmp_deeply $sorted[1], |
... | ... | |
209 | 209 |
'', '', '', '', '', '', '', '', '', |
210 | 210 |
'', '', '', '', '', '', '', '', '', |
211 | 211 |
'', '', '', '', '', '', '', '1', '', |
212 |
'', '', '', '', '',
|
|
212 |
'', |
|
213 | 213 |
], |
214 | 214 |
'invoice without deliverydate payment export ok'; |
215 | 215 |
|
... | ... | |
265 | 265 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
266 | 266 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
267 | 267 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
268 |
'', '', '1', '', '', '', '', '', '',
|
|
268 |
'', '', '1', '', '', |
|
269 | 269 |
], |
270 | 270 |
'gl datev export without delivery date ok'); |
271 | 271 |
|
... | ... | |
306 | 306 |
'', '', '', '', '', '', '', '', '', |
307 | 307 |
'', '', '', '', '', '', '', '', '', |
308 | 308 |
'', '', '', '', '', '', '', '1', '18072017', |
309 |
'', '', '', '', '',
|
|
309 |
'', |
|
310 | 310 |
], |
311 | 311 |
'invoice with deliverydate 19% tax export ok'; |
312 | 312 |
|
... | ... | |
325 | 325 |
'', '', '', '', '', '', '', '', '', |
326 | 326 |
'', '', '', '', '', '', '', '', '', |
327 | 327 |
'', '', '', '', '', '', '', '1', '18072017', |
328 |
'', '', '', '', '',
|
|
328 |
'', |
|
329 | 329 |
], |
330 | 330 |
'invoice with deliverydate 16% tax export ok'; |
331 | 331 |
|
... | ... | |
344 | 344 |
'', '', '', '', '', '', '', '', '', |
345 | 345 |
'', '', '', '', '', '', '', '', '', |
346 | 346 |
'', '', '', '', '', '', '', '1', '', |
347 |
'', '', '', '', '',
|
|
347 |
'', |
|
348 | 348 |
], |
349 | 349 |
'invoice with deliverydate payment export ok'; |
350 | 350 |
|
... | ... | |
378 | 378 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
379 | 379 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
380 | 380 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
381 |
'', '', '1', '18072017', '', '', '', '', '',
|
|
381 |
'', '', '1', '18072017', '', |
|
382 | 382 |
], |
383 | 383 |
'testing gl transaction with delivery date datev export ok'); |
384 | 384 |
|
t/datev/invoices.t | ||
---|---|---|
181 | 181 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
182 | 182 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
183 | 183 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
184 |
'', '', '1', '', '', '', '', '', '' ]
|
|
184 |
'', '', '1', '', '', ] |
|
185 | 185 |
); |
186 | 186 |
|
187 | 187 |
cmp_deeply($data_csv[0], [ '249,9', 'S', 'EUR', '', '', '', '1400', '8400', '', '0101', "\x{de} sales \x{a5}& i", |
... | ... | |
193 | 193 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
194 | 194 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
195 | 195 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
196 |
'', '', '1', '', '', '', '', '', '' ]
|
|
196 |
'', '', '1', '', '', ] |
|
197 | 197 |
); |
198 | 198 |
cmp_deeply($data_csv[2], [ '784,9', 'S', 'EUR', '', '', '', '1200', '1400', '', '0501', "\x{de} sales \x{a5}& i", |
199 | 199 |
'', '', 'Testcustomer', '', '', '', '', '', '', '', '', |
... | ... | |
204 | 204 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
205 | 205 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
206 | 206 |
'', '', '', '', '', '', '', '', '', '', '', '', '', |
207 |
'', '', '1', '', '', '', '', '', '' ]
|
|
207 |
'', '', '1', '', '', ] |
|
208 | 208 |
); |
209 | 209 |
my $march_9 = DateTime->new(year => 2017, month => 3, day => 9); |
210 | 210 |
my $invoice2 = create_sales_invoice( |
Auch abrufbar als: Unified diff
Testfälle für DATEV angepasst