From aabd9f0069ab4de033764a69012c3ccf3e033498 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 2 Mar 2026 08:54:14 +0100 Subject: [PATCH] fix: remove vat_note from extraction_lines INSERT v2.2.24 --- VERSION | 2 +- app/billing/backend/supplier_invoices.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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