View as Markdown
Lightspeed eCom (C-Series) icon

Lightspeed eCom (C-Series) ACTION

Find Invoice

Find an invoice by ID. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Lightspeed eCom (C-Series) account once, then configure and run Find Invoice from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "lightspeed_ecom_c_series-find-invoice",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    lightspeed_ecom_c_series: { authProvisionId: "apn_xxxxxxx" },
    customerId: "Customer ID",
    orderNumber: "Order Number",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Find Invoice inputs
Property Type Description
customerId Customer ID string
Retrieve all invoices from a specific customer based on the customerid
Optional Dynamic
orderNumber Order Number string
Retrieve an order based on the order number
Optional Dynamic
invoiceNumber Invoice Number string
Retrieve an invoice based on the invoice number
Optional Dynamic
sinceId Since ID string
Restrict results to after the specified ID
Optional
createdAtMin Created At Min string
Show invoices created after date. Format: YYYY-MM-DD HH:MM:SS
Optional
createdAtMax Created At Max string
Show invoices created before date. Format: YYYY-MM-DD HH:MM:SS
Optional
updatedAtMin Updated At Min string
Show invoices last updated after date. Format: YYYY-MM-DD HH:MM:SS
Optional
updatedAtMax Updated At Max string
Show invoices last updated before date. Format: YYYY-MM-DD HH:MM:SS
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
lightspeed_ecom_c_series-find-invoice
Version
0.0.1
App
Lightspeed eCom (C-Series)
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes