Skip to content

Invoice

aggregate-root order


Commercial billing document associated with an order or payment obligation.

Business Purpose: Represent billed value, tax, and settlement-relevant information for an order.

Identity

Type Field Description
global invoice-id Globally unique invoice identifier, stable across its commercial lifecycle.

Attributes

Attribute Description
invoice-id Invoice ID Stable invoice identifier.
order-id Order ID Related order reference.
payment-id Payment ID Related payment reference when applicable.
invoice-date Invoice Date Date when the invoice was issued.
status Status Current invoice state.

Lifecycle

draftissuedpaidcorrectedcancelled

Invariants

  • stable-invoice-id — Invoice ID must remain stable for the lifetime of the invoice.
  • order-reference-required — An invoice must reference an order or payment obligation.

Relationships

Type Target
references order order
references payment payment
contains tax-rate tax-rate

Semantic Constraints

Constraint Type Rule
invoice-belongs-to-order association An Invoice must be associated with exactly one Order.

Note

Invoice is requested by OBJ-001 but is not present in current model references.


← Back to Order Domain