InvoiceItem

A single line on an invoice: what you are billing for, how much of it, and at what rate.

  • amount
    Type: string | null
    required

    Quantity billed, as a decimal string.

  • description
    Type: string | null
    required

    Longer description shown beneath the name, or null.

  • id
    Type: integer
    required

    Unique identifier for the line item.

  • name
    Type: string | null
    required

    Line item name, as it appears on the invoice.

  • rate
    Type: string | null
    required

    Price per unit, as a decimal string in the invoice currency.

  • total
    Type: string
    required

    amount multiplied by rate, rounded, as a decimal string.

  • unit_type
    Type: string | null enum
    required

    What the rate is charged per. Defaults to flat.

    values
    • flat
    • per_hour
    • per_day
    • per_item
    • per_word