list invoices

This block is part of the stripe group and was last modified in core v15.0.0.

list invoices v15.0.0

The billing history for a customer or a subscription, newest first. Set at least one of the two filters : unfiltered this would walk the whole account. The latest invoice pins are the shortcut for "credit their last month".

In pins 5 + flow
  • flow
    flow
  • connection required
    stripeconnection
  • customer id
    value
  • subscription id
    value
  • status
    value

    draft, open, paid, uncollectible or void. A credit note needs an open or paid one. • Suggestions: draft open paid uncollectible void

  • limit
    number

    Default 10, maximum 100.

Out pins 10 + flow
  • flow
    flow
  • connection
    stripeconnection
  • invoices
    array<object>

    Newest first.

  • count
    number
  • has more
    condition

    True when the account has more invoices past the limit.

  • latest invoice id
    value
  • latest invoice
    object
  • success
    condition
  • error
    value

    Stripe's own message, or a sentinel like MISSING_SESSION_ID for a problem in the wiring.

  • error code
    value

    Stripe's machine-readable code, e.g. card_declined, resource_missing.

  • decline code
    value

    Why the bank refused, e.g. insufficient_funds. Only set on a declined card.

invoices
billing history
find invoice

Version history

Introduced in v15.0.0.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to stripe Return to the main group to view all sub-groups Back to credits Return to the group to view all blocks within this group