diff --git a/VERSION b/VERSION index 255642e..8389c48 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.22 +2.2.24 diff --git a/app/billing/backend/supplier_invoices.py b/app/billing/backend/supplier_invoices.py index d8d4914..cb5239c 100644 --- a/app/billing/backend/supplier_invoices.py +++ b/app/billing/backend/supplier_invoices.py @@ -2356,13 +2356,13 @@ async def reprocess_uploaded_file(file_id: int): execute_insert( """INSERT INTO extraction_lines (extraction_id, line_number, description, quantity, unit_price, - line_total, vat_rate, vat_note, confidence) - VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s) + line_total, vat_rate, confidence) + VALUES (%s, %s, %s, %s, %s, %s, %s, %s) RETURNING line_id""", (extraction_id, idx, line.get('description'), line.get('quantity'), line.get('unit_price'), - line.get('line_total'), line.get('vat_rate'), - line.get('vat_note'), confidence) + line.get('line_total'), line.get('vat_rate'), + confidence) ) # Update file status to ai_extracted