Skip to main content

types/invoices/Merchant

@arolariu/website


@arolariu/website / types/invoices/Merchant

types/invoices/Merchant

Fileoverview

Merchant type definitions for vendor/retailer tracking.

Remarks

This module defines merchant (vendor/retailer) types used for tracking where purchases are made. Merchants are shared across invoices and users, enabling analytics and vendor management.

Merchant Hierarchy: Merchants can belong to parent companies (e.g., local Lidl store → Lidl GmbH). This enables corporate-level reporting while maintaining store-level detail.

Data Sources:

  • AI extraction from invoice headers/footers
  • User manual entry
  • Public business registry lookups

See

  • Invoice.merchantReference for merchant linkage
  • NamedEntity for base entity contract

Interfaces

Type Aliases

Variables

// was this page useful?