← API reference
CANONICAL TYPE REFERENCE

InvoiceLineState

A line item on an invoice

Unique identifier

Parent invoice ID

Line number within the invoice

Associated order line ID

Associated job ID

Product SKU

Line item description

Quantity

unitPriceFloat!

Unit price

Discount percentage

Discount amount

taxRateFloat

Tax rate percentage for this line

lineTotalFloat!

Total amount for this line

Currency code

Sort order for display

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

Parent invoice. Requires invoice:read permission.

Source order line. Requires order:read permission.

Linked job. Requires job:read permission.

View exact SDL
"""A line item on an invoice"""
type InvoiceLineState {
  """Unique identifier"""
  id: InvoiceLineID!
  """Parent invoice ID"""
  invoiceId: InvoiceID!
  """Line number within the invoice"""
  lineNumber: Int!
  """Associated order line ID"""
  orderLineId: OrderLineID
  """Associated job ID"""
  jobId: JobID
  """Product SKU"""
  productSku: String
  """Line item description"""
  description: String!
  """Quantity"""
  quantity: Int!
  """Unit price"""
  unitPrice: Float!
  """Discount percentage"""
  discountPercent: Float
  """Discount amount"""
  discountAmount: Float
  """Tax rate percentage for this line"""
  taxRate: Float
  """Total amount for this line"""
  lineTotal: Float!
  """Currency code"""
  currency: CurrencyISO!
  """Sort order for display"""
  sortOrder: Int!
  """Creation timestamp (ISO8601)"""
  createdAt: String!
  """Last update timestamp (ISO8601)"""
  updatedAt: String!
  """Parent invoice. Requires invoice:read permission."""
  invoice: InvoiceState
  """Source order line. Requires order:read permission."""
  orderLine: OrderLineState
  """Linked job. Requires job:read permission."""
  job: JobState
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.