DevelopersAPIReferencecategorization_suggestions
Apply
Apply a reviewed batch of categorization suggestions in one call. Counterparties that do not exist yet go in vendorsToCreate and customersToCreate with a…
Authentication
Checking whether you're signed in…
POST
header
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.
companyId*stringFormat
uuidapplication/json- body
suggestions*array<>vendorsToCreate?array<>Default
[]customersToCreate?array<>Default
[]Suggestions applied
application/json- response
appliedSuggestions*numberappliedTransactions*numberskippedTransactions*numbercreatedVendors*array<>createdCustomers*array<>curl -X POST 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/categorization_suggestions/apply' \ -H 'Content-Type: application/json' \ -d '{ "suggestions": [ { "categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0", "usingDateRule": { "type": "transactionDate" }, "plSplit": {}, "transactionIds": [ "390bdf4e-83f8-4d97-9b70-6548dddef7ab" ] } ]}'Example Response
{ "appliedSuggestions": 0, "appliedTransactions": 0, "skippedTransactions": 0, "createdVendors": [ { "tempId": "string", "id": "string", "name": "string" } ], "createdCustomers": [ { "tempId": "string", "id": "string", "name": "string" } ]}Retrieve stripe mrr comparison
Retrieve one MRR comparison run with a row per subscription. Each row carries the Stripe figure under each of Stripe's two discount settings, the reason…
List plan items
List every plan item for a company. A plan item is one budgeted line in the financial plan: a P&L type, a category, a starting month (YYYY-MM), and an…