Files
accounted/lib/bookkeeping/bas-data/index.ts
T
Jakob Wennberg 39e407644d feat: unified document inbox, full BAS 2026, and document-transaction matching
- Expand BAS reference from ~180 to ~1,276 accounts (full BAS Kontoplan 2026)
  with K2 exclusion flags, per-class data files, and computed SRU codes
- Evolve invoice inbox into unified document inbox handling invoices, receipts,
  and government letters with AI-powered classification (Claude Haiku Vision)
- Add multi-pass document-to-transaction matching engine with greedy assignment
  for both supplier invoices (reference/amount/date/name) and receipts
  (weighted amount/merchant/date scoring)
- Add supplier invoice matching in transaction ingest pipeline
- Inject booking template suggestions into AI extraction prompts
- Surface matched documents in swipe categorization UI with one-tap booking
- Auto-activate missing BAS accounts during SIE import against full reference
- Add K2 filter toggle in Chart of Accounts manager
- Add receipt confirmation route with BFNAR representation fields
- Add database migrations for K2 support and document matching columns
- Remove obsolete extension migration scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 16:59:02 +01:00

22 lines
759 B
TypeScript

import { CLASS_1_ACCOUNTS } from './class-1-assets'
import { CLASS_2_ACCOUNTS } from './class-2-equity-liabilities'
import { CLASS_3_ACCOUNTS } from './class-3-revenue'
import { CLASS_4_ACCOUNTS } from './class-4-purchases'
import { CLASS_5_ACCOUNTS } from './class-5-external-expenses'
import { CLASS_6_ACCOUNTS } from './class-6-other-external'
import { CLASS_7_ACCOUNTS } from './class-7-personnel'
import { CLASS_8_ACCOUNTS } from './class-8-financial'
import type { BASReferenceAccount } from '../bas-reference'
export const BAS_REFERENCE: BASReferenceAccount[] = [
...CLASS_1_ACCOUNTS,
...CLASS_2_ACCOUNTS,
...CLASS_3_ACCOUNTS,
...CLASS_4_ACCOUNTS,
...CLASS_5_ACCOUNTS,
...CLASS_6_ACCOUNTS,
...CLASS_7_ACCOUNTS,
...CLASS_8_ACCOUNTS,
]