Files
accounted/extensions/export/currency-receivables/index.ts
T
EmilandClaude Opus 4.6 0764bc11a6 feat: implement 4 export extensions with engines, API routes, and workspaces
- EU Sales List: engine, CSV/XML generators, Skatteverket format, tests
- VAT Monitor: moms box mapping, revenue breakdown, validation, tests
- Intrastat: product registry, SCB CSV generator, threshold tracking, tests
- Currency Receivables: FX exposure, unrealized gain/loss calc, tests
- Shared utilities: EU country list, moms box mapping
- API routes for report generation and file downloads
- Workspace UI components for all 4 extensions

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

19 lines
664 B
TypeScript

import type { Extension } from '@/lib/extensions/types'
/**
* Multi-Currency Receivables Manager / Valutafordringar Extension
*
* Dashboard showing foreign currency exposure from open receivables.
* Calculates unrealized FX gains/losses using current Riksbanken rates
* compared to booking rates.
*
* Shows realized FX gains (account 3960) and losses (account 7960) per
* period, with monthly trend analysis. Provides period-end revaluation
* preview for informational purposes (does not create journal entries).
*/
export const currencyReceivablesExtension: Extension = {
id: 'currency-receivables',
name: 'Valutafordringar',
version: '1.0.0',
}