types/invoices/Invoice
@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:
sharedWithis empty - Shared:
sharedWithcontains specific user GUIDs - Public:
sharedWithcontains a special "public" GUID sentinel
See
- NamedEntity for base entity contract
- PaymentInformation for payment details
- Product for line item structure
Interfaces
Type Aliases
- InvoiceAnalysisOptions
- InvoiceScanType
- InvoiceCategory
- InvoiceScan
- CreateInvoiceDtoPayload
- UpdateInvoiceDtoPayload
- DeleteInvoiceDtoPayload
- CreateInvoiceScanDtoPayload
- DeleteInvoiceScanDtoPayload
Variables
// was this page useful?