Skip to content
Proud to collaborate with Microsoft for Startups

stripe.invoices.list_invoices ​

List Stripe invoices with optional filters

List invoices, optionally narrowed by customer, subscription, or status.

Acts on the CUSTOMER'S OWN Stripe account, authenticated via the org-scoped Stripe connection selected by cloud_connection_uuid.

Inputs:

  • cloud_connection_uuid: Org-scoped Stripe connection (customer's own account).
  • customer_id: Only this customer's invoices (optional).
  • subscription_id: Only invoices for this subscription (optional).
  • status: draft | open | paid | uncollectible | void (optional).
  • limit: Page size, 1-100 (default: 20) (optional).
  • starting_after: Cursor: invoice id to page after (optional).

Outputs (terminal state_data):

  • invoices: list
  • total: int
  • has_more: bool

Connection required: cloud_connection_uuid — the organization's own Stripe account credentials; there is no platform-key fallback.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-stripe
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes—Org-scoped Stripe connection (customer's own account)
customer_idstringNo—Only this customer's invoices
subscription_idstringNo—Only invoices for this subscription
statusstringNo—draft
limitintegerNo—Page size, 1-100 (default: 20)
starting_afterstringNo—Cursor: invoice id to page after

Output Schema ​

FieldTypeRequiredDefaultDescription
invoiceslistNo——
totalintegerNo——
has_morebooleanNo——
cloud_connection_uuiduuidNo——
customer_idstringNo——
subscription_idstringNo——
statusstringNo——
limitintegerNo——
starting_afterstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
errorstringNo——
error_typestringNo——
failed_layerintegerNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "stripe.invoices.list_invoices",
  "initial_data": {
    "cloud_connection_uuid": "value"
  }
}