MolinoPro

line-items

Master Codebase Guidebook
Markdown + HTML Dev-Docs Renderer - Frontend Client Module

Default Index
Open README.md
Root: README.mdarchive
Milestones
H1LineItems

Status: shared economic layer.

LineItem already exists in Prisma and is the canonical pricing row for multiple domain sources.

H2Source domains
  • Trip
  • Experience
  • Document
  • Offer
  • Order
  • Product
H2Rule
  • LineItem is the only pricing authority used across these flows.
  • Trips, Experiences, Documents, Offers, and Orders may produce or consume LineItems.
  • Downstream snapshots should not recompute the commercial truth.
H2Current schema shape
  • parentId
  • parentType
  • sourceType
  • sourceId
  • productId
  • tripId
  • experienceId
  • documentId
  • orderId
  • offerId
  • title
  • qty
  • unitLabel
  • unitType
  • unitPrice
  • total
  • taxRate
  • taxTotal
  • displayMode
  • groupKey
  • meta
H2Notes
  • This file is intentionally concise.
  • It exists to make the shared LineItem contract explicit in the docs tree.