Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract summary lines from table groups #567

Open
daniele123321 opened this issue Sep 11, 2024 · 1 comment
Open

Extract summary lines from table groups #567

daniele123321 opened this issue Sep 11, 2024 · 1 comment

Comments

@daniele123321
Copy link

daniele123321 commented Sep 11, 2024

Hello, I am trying to extract data from the following invoice:

Date	   Time      Product 	        Location        Price
25/04/2024 06:22     TYPE2 		MILAN 		9.54
26/04/2024 23:37     TYPE2 		ROME 		10.67
Total for product : TYPE2 20.21
20/06/2024 07:07     TYPE1 		MILAN		497.33
21/06/2024 12:25     TYPE1 		ROME 		572.39
21/06/2024 12:42     TYPE1 		ROME	 	289.83
Total for product : TYPE1 1,369.55
TOTAL FOR CLIENT1 1,379.76

17/07/2024 09:45     TYPE1 		MILAN 		732.56
17/07/2024 09:59     TYPE1 		MILAN		462.37
Total for product : TYPE1 1,194.93
TOTALE FOR CLIENT2 1,194.93

By using the lines parser I can extract correctly all the single items with date, product type, location and price. However, I also need to extract the client name for each group (in the example above CLIENT1, CLIENT2...) and ideally add it to each line of the group, but I can't find how.
Is there a way to do it by just using a template or do I need a custom plugin?

Thank you for your time

@bosd
Copy link
Collaborator

bosd commented Sep 11, 2024

Thanks for your interest in invoice2data.
The feature you are looking for is currently not implemented.
It would would need to be developed.
It is a reasonable use case. So if there is an pr opened for it I will accept it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants