Rafał Miłecki

Results 156 comments of Rafał Miłecki

> Ok, going back to the original issue in #377 Parse Multiple lines in the same field. > > When passing multiple line arguments in the template I won't get...

You can simply use the `--output-name` option on `invoice2data`. Make your script read directory files and for each file call `invoice2data` with something like `--output-name $file-parsed`.

It seems to work for me locally. It fixes: ``` ====================================================================== FAIL: test_copy (test_cli.TestCLI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/rmilecki/projects/invoice2data/tests/test_cli.py", line 136, in test_copy self.assertEqual(i, len(get_sample_files('.json'))) AssertionError: 0...

@bosd: does this problem (AssertionError) occur if you run tests using `python -m tests.test_cli` ?

Sure! @christianroeser: I'm a bit confused by "most fields are missing" while your output shows that only `invoice_number` and `kundennr` are missing. When testing the latest `master` branch with my...

Thanks, I'm wondering if it's caused by your regular expressions providing few matches. I'll do more testing locally and try to fix that!

@christianroeser: I couldn't reproduce this problem using any of my invoices or templates. I decided to fake ALLNET invoice and use your template. Your template didn't work for me initially...

I use 2.7.18. What is your version @christianroeser ?

@FrancescoPalmieri: do you use 0.3.6 or newer? I've prepared sample PDF matching your template, see: [cedolino.pdf](https://github.com/invoice-x/invoice2data/files/7150264/cedolino.pdf) Parsing it works perfectly fine, see: ``` > invoice2data --debug --template-folder tpl --output-format xml...

@gregoribic: did you try 0.3.6 (or newer) release?