Type alias InvoiceLineItem

InvoiceLineItem: {
    createdAt: string;
    description: string;
    id: string;
    invoiceId: string;
    itemId: string;
    itemType: itemType;
    metadata: Record<string, any>;
    price: number;
    quantity: number;
    sortOrder: number;
    title: string;
}

Type declaration

  • createdAt: string

    Timestamp of line item creation

  • description: string

    Short description of the line item

  • id: string

    ID of the line item

  • invoiceId: string

    ID of the associated invoice

  • itemId: string

    ID of the associated product or service. If null, the product or service is not associated internally

  • itemType: itemType

    Type of line item.

  • metadata: Record<string, any>

    Any associated metadata when the invoice was created

  • price: number

    Price at which this item was invoiced

  • quantity: number

    Quantity of the invoiced item

  • sortOrder: number

    Order in which the item appears in the rendered invoice

  • title: string

    Title of the line item