InvoiceLine

  • What's still to pay on the line: totalPriceAfterTax less what's been allocated to it, and 0 once the invoice is paid. The most you can allocate to it. Integer minor units (cents for USD).

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • Always 0. Credit notes refund the invoice as a whole; see the invoice's creditNotesTotal. Integer minor units (cents for USD).

  • Three-letter ISO 4217 code, upper case.

  • What the line is for, as your customer sees it.

  • End of the period the line covers, exclusive.

  • The line's ID, the invoice's ID, a hyphen and the line's position from 0. Allocate payments to it by this ID.

  • The order the invoice bills.

  • The charge on that order line this invoice line bills (orderLineAttributeId in Get amendment options); null for a line that doesn't come from one.

  • The order line this invoice line bills; null for a line that doesn't come from one, such as on an invoice Stripe issued.

  • paid when nothing is left to pay on the line; otherwise overdue when the invoice is overdue, partiallyPaid when some of it is paid, and pending when none is.

    values
    pendingpartiallyPaidpaidoverdue
  • How many units the line bills.

  • Start of the period the line covers, inclusive: the period of the charge it bills, which can differ from the invoice's (a fee billed in advance covers the period it pays for; usage covers the period it was used in). A one-time fee's line, and a percentage-of-total charge's, starts and ends at the moment it was billed. A line without a period of its own, such as on an invoice Stripe issued, takes the invoice's.

  • The line's tax, at the invoice's tax rate, rounded to the minor unit. Integer minor units (cents for USD).

  • The invoice's tax rate, as a fraction (0.08 is 8%).

  • The line's amount including tax. Integer minor units (cents for USD).

  • The line's amount before tax; negative for a discount line. Integer minor units (cents for USD).

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z