Recently created or updated suppliers
Filters suppliers recently created or updated in Spendesk via createdAfter/updatedAfter. Useful for new supplier validation workflows and change tracking.
86/100ยท๐
WeeklyยทBeginnerAP Manager
Suppliersget_suppliers
๐ฏ Skill purpose
Filters suppliers recently created or updated in Spendesk via createdAfter/updatedAfter. Useful for new supplier validation workflows and change tracking.
๐ What it produces
Recent suppliers with creation or modification date, contact information, and status.
โก Benefit
Before
No direct way to find recent suppliers without browsing the entire list.
After
Recent suppliers filtered directly by date, in seconds.
# Instructions
## Use case
Synchronize the Spendesk supplier master data with an external system by retrieving only data that is new or has changed since the last synchronization.
## Two distinct time filters
```json
{
"createdAfter": "2026-01-01T00:00:00.000Z",
"sortBy": "created_at",
"sort": "desc",
"pageSize": 1
}
```
```json
{
"updatedAfter": "2026-06-01T00:00:00.000Z",
"sortBy": "updated_at",
"sort": "desc",
"pageSize": 1
}
```
Both accept ISO 8601 datetime (`YYYY-MM-DDTHH:MM:SS.sssZ`).
## Critical difference: createdAfter vs updatedAfter
| Filter | Returns | Does NOT include |
|--------|----------|--------------|
| `createdAfter` | Suppliers whose creation date is after the date | Old suppliers whose data has recently changed |
| `updatedAfter` | Suppliers whose ANY field was modified after the date | Suppliers not modified even if recently created but modified before the date |
### Concrete example observed
With `updatedAfter: "2026-06-01T00:00:00Z"`:
- **Wojo** (created in 2020, updated 2026-07-02) โ **INCLUDED** โ old supplier but recently modified
- **Microsoft Ireland** (created 2024, bankDetails updated 2026-07-02) โ **INCLUDED** โ banking details recently updated
With `createdAfter: "2026-01-01T00:00:00Z"`:
- **Wojo** (created 2020) โ **ABSENT** โ filtered out because created before the date
- **Microsoft Ireland** (created 2024) โ **ABSENT** โ created before 2026
- **Getsafe GmbH** (created 2026-07-01) โ **INCLUDED** โ new supplier
## Recommended use cases
**To detect new suppliers to create in the ERP:**
โ Use `createdAfter: <last synchronization>`
**To detect suppliers whose banking data has changed:**
โ Use `updatedAfter: <last synchronization>`
โ Check `bankDetailsUpdatedAt` to confirm it's the bank details that changed
**Full incremental synchronization:**
โ Call both filters separately and merge the results (a supplier may appear in both)
## Available sorting
`sortBy` options: `"name"`, `"created_at"`, `"updated_at"`
`sort` option: `"asc"` / `"desc"`
## Pagination โ page-based
Unlike `get_payables` (cursor), `get_suppliers` uses page number pagination:
```json
{ "page": 2, "pageSize": 50 }
```
See `meta.pagination.hasNextPage` to iterate.
## Combining with isArchived
To retrieve only recently created active suppliers:
```json
{
"createdAfter": "2026-06-01T00:00:00.000Z",
"isArchived": "false",
"pageSize": 1
}
```
Note: `isArchived` is a **string** `"false"`, not a boolean. On accounts with consolidated-AP-account suppliers, `get_suppliers` can fail even at `pageSize=1` (verified) โ see [[s22-fournisseurs-actifs-iban]]. A lower `pageSize` is not a guaranteed fix.
## Example user prompts
- "Which suppliers have been added to Spendesk since January 1st?"
- "Have any suppliers had their banking details updated this month?"
- "Sync our ERP with new Spendesk suppliers created since our last sync on 2026-06-01"
How to install this skill
/
- 1Download the file
s24-fournisseurs-filtre-temporel.mdusing the button above. - 2Place the file in the
.claude/directory of your project (or~/.claude/for a global install).cp s24-fournisseurs-filtre-temporel.md .claude/s24-fournisseurs-filtre-temporel.md - 3Use in Claude Code โ the skill is automatically discovered. Describe your need in natural language and Claude will apply the skill instructions.
๐ก Make sure the Spendesk MCP is configured in your
.claude/settings.json with the tools get_suppliers.Similar skills
โ
Top
โ
Top