Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 22:03:51 +00:00
co-authored by renee-png
parent 0462ffb3ec
commit 10337c4848
+1 -1
View File
@@ -569,7 +569,7 @@ const IMPORTERS: ImporterConfig[] = [
{
key: "invoices",
label: "Invoices → Invoices",
description: "Invoice headers (line items not imported). If the client isn't recognized, an archived client is auto-created. If the case isn't recognized, an archived placeholder case is auto-created so the reference is preserved.",
description: "Invoice headers. Matched against existing invoices by invoice number (preferred) or external ID — when a match exists, only header fields (status, dates, notes) are updated and totals are left intact (totals = sum of attached time/expense line items). Non-matching invoices are inserted as new. Import time entries and expenses FIRST so their invoices are auto-created as drafts; this CSV then promotes them to sent/paid/etc.",
table: "invoices",
conflict: "external_id",
// Only invoice_number is strictly required at the row level. client_id is