Type alias InvoiceLineItem

InvoiceLineItem: {
    createdAt: string;
    description: string;
    id: string;
    invoiceId: string;
    itemId: string;
    price: number;
    quantity: number;
    sortOrder: number;
    taxId: string;
    type: InvoiceLineItem.type;
    unit: 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

  • 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

  • taxId: string

    ID of the associated tax. If not set, no tax is applied.

  • type: InvoiceLineItem.type

    Type of line item.

  • unit: string

    Unit of measure