Skip to main content

types/invoices/Invoice

@arolariu/website


@arolariu/website / types/invoices/Invoice

types/invoices/Invoice

Fileoverview

Invoice domain type definitions for the arolariu.ro platform.

Remarks

This module defines the core invoice aggregate and related types for the invoices bounded context. The invoice is the primary aggregate root that encapsulates:

  • Payment transaction details
  • Line item products
  • Merchant references
  • AI-generated recipe suggestions
  • Document scans and OCR artifacts

Domain Concepts:

  • Invoice: Aggregate root representing a financial transaction record
  • InvoiceScan: Document artifacts (images, PDFs) attached to invoices
  • Analysis Options: AI processing configurations

Sharing Model:

  • Private: sharedWith is empty
  • Shared: sharedWith contains specific user GUIDs
  • Public: sharedWith contains a special "public" GUID sentinel

See

Interfaces

Type Aliases

Variables

// was this page useful?