feat(invoices): add line_items extraction and normalization for invoice parsing

This commit is contained in:
2026-01-20 17:14:26 +00:00
parent 45cb87e9e7
commit 2ed419f6e4
2 changed files with 52 additions and 3 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-01-20 - 1.16.0 - feat(invoices)
add line_items extraction and normalization for invoice parsing
- Introduce ILineItem interface and add line_items array to IInvoice.
- Add extractLineItems helper to normalize item fields (position, product, description, quantity, unit_price, total_price).
- Include line_items in parsed invoice output and sample JSON in test, defaulting to [] when absent.
- Update logging to include extracted line item count.
- Clarify test instructions to extract items from invoice tables and skip subtotal/total rows.
## 2026-01-20 - 1.15.3 - fix(tests(nanonets))
allow '/' when normalizing invoice strings in tests