invoice2data icon indicating copy to clipboard operation
invoice2data copied to clipboard

how to use group: sum in lines

Open BhargaviRM opened this issue 1 year ago • 1 comments

total_admin_fee: parser: lines start: Total Claims\s+Admin Fee end: Totals line: - $(?P[\d,]+.\d{2})\s+$(?P[\d,]+.\d{2})\s+$(?P[\d,]+.\d{2}) types: standard: float connect: float other: float group: sum

with this sum ( standard+ connect+ other ) is not coming

currently getting this  

'total_admin_fee': [ { 'connect': 0.0,
                     'other': 0.0,
                     'standard': 10.0},
                   { 'connect': 0.0,
                     'other': 0.0,
                     'standard': 20.0}]

but i want 'total_admin_fee': 30.0

BhargaviRM avatar Oct 09 '24 08:10 BhargaviRM

This is not yet supported by the lines plugin. I made a PR for the Tables plugin to support grouping in #592 Maybe you ca use that as an alternative?

bosd avatar Dec 22 '24 23:12 bosd