SaaSFlow
DevelopersAPIReferencetransactions

Stripe invoice candidates

List Stripe invoices this payment might have settled, strongest evidence first. Only invoices that were paid outside Stripe and are not yet linked to a transaction are offered, because anything Stripe collected itself already has its revenue booked. `evidence` says why a row is being offered: `reference` means the payment text quotes that invoice number, `amountAndDate` means only the figures line up.

Authentication

You're not signed in. Either sign in at app.saasflow.com and reload (then pick sessionCookie), or paste a SaaSFlow sf_… API key in the bearerAuth field below.
GET
/companies/{companyId}/transactions/stripe_invoice_candidates

Authorization

Authorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

In: header

Path Parameters

companyId*string
Length1 <= length

Query Parameters

transactionId*string
Length1 <= length
search?string

Response Body

application/json

curl -X GET "https://example.com/companies/string/transactions/stripe_invoice_candidates?transactionId=string"
[  {    "stripeInvoiceId": "string",    "stripeAccountId": "string",    "number": "string",    "customerName": "string",    "amount": 0,    "currency": "string",    "invoiceDate": "string",    "paidOn": "string",    "servicePeriod": {      "start": "string",      "end": "string"    },    "hostedInvoiceUrl": "string",    "evidence": "reference"  }]