feat: correct total tax on incoming invoices

This commit is contained in:
2026-08-09 16:35:47 +02:00
parent 94008e8072
commit 8301d8777e
14 changed files with 129 additions and 103 deletions

View File

@@ -5,6 +5,7 @@ import {
text,
boolean,
jsonb,
numeric,
uuid,
} from "drizzle-orm/pg-core"
@@ -55,6 +56,8 @@ export const incominginvoices = pgTable("incominginvoices", {
},
]),
taxAmountOverride: numeric("tax_amount_override", { precision: 12, scale: 2 }),
paid: boolean("paid").notNull().default(false),
expense: boolean("expense").notNull().default(true),