AP payment priority queue

Generates a prioritized payment queue with 3 urgency levels to help the AP Manager efficiently manage daily payments.

↓ Download skill (.md)
83/100·⚡ Daily·BeginnerAP Manager
SuppliersReconciliationspendesk_get_due_invoicesget_payablesget_suppliers

🎯 Skill purpose

Generates a prioritized payment queue with 3 urgency levels to help the AP Manager efficiently manage daily payments.

📊 What it produces

Payment queue sorted by urgency with total disbursement amount, supplier names, and due dates.

Benefit

Before

The AP Manager consults multiple Spendesk views to manually prioritize urgent payments.

After

Prioritized payment queue ready for action in seconds, with total disbursements by time horizon.



# AP queue — priority payments

## Purpose
Generate a prioritized payment list across 3 urgency levels: overdue invoices (pay now), invoices due within 7 days (pay this week), and invoices due within 30 days (plan ahead). Lets the AP Manager manage their payment queue efficiently.

## Instructions

### Step 1 — Overdue invoices (CRITICAL PRIORITY)
```
Call spendesk_get_due_invoices (with no supplierIds filter → all due invoices).
Result: invoices whose due date has passed.
For each invoice: note id, supplierId, amount, currency, dueDate, daysOverdue.
Sort by amount descending (pay the largest overdue amounts first).
```

### Step 2 — Invoices due within 7 days (HIGH PRIORITY)
```
Call get_payables with:
  - paymentStatus: unpaid / toPay
  - dueDate: between today and today + 7 days
Sort by dueDate ascending (most urgent first), then by amount descending.
```

### Step 3 — Invoices due 8-30 days out (PLANNING)
```
Call get_payables with:
  - paymentStatus: unpaid / toPay
  - dueDate: between today + 8 days and today + 30 days
Sort by dueDate ascending.
```

### Step 4 — Resolve supplier names
```
Extract the unique supplierIds from the 3 buckets.
For the top 20 suppliers by amount: call get_supplier_by_id for each.
Substitute the IDs with names in the final list.
```

### Step 5 — Queue presentation
```
🔴 PAY NOW (X invoices | X€) — overdue
  Supplier | Amount | Days overdue | Invoice number

🟡 PAY THIS WEEK (X invoices | X€) — due < 7 days
  Supplier | Amount | Due date | Days remaining

🟢 PLAN AHEAD (X invoices | X€) — due 8-30 days
  Supplier | Amount | Due date

Total to disburse within 30 days: X€
```

## Points to watch
- Invoices with no dueDate set do not appear in spendesk_get_due_invoices — track them separately via get_payables
- Payment itself happens in Spendesk — this skill does not trigger a wire transfer
- Validate the list with the treasurer before launching payments

## Example prompts
- "Which invoices should I pay first today?"
- "Show me my AP queue for the week"
- "How much do I need to disburse in the next 30 days?"

How to install this skill

/
  1. 1
    Download the file s50-ap-payment-priority.md using the button above.
  2. 2
    Place the file in the .claude/ directory of your project (or ~/.claude/ for a global install).
    cp s50-ap-payment-priority.md .claude/s50-ap-payment-priority.md
  3. 3
    Use in Claude Codethe 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 spendesk_get_due_invoices, get_payables, get_suppliers.

Similar skills

★ Top
95/100·🔍 Ad hoc·Expert

MCP coverage audit & gap analysis

Probes all available MCP tools, re-evaluates coverage of 50 persona use cases, detects new fields or tools, and regenerates the gap analysis report.

CFOControllerAP Manager
★ Top
89/100·🔍 Ad hoc·Intermediate

Skill Builder

Aide un client à transformer un besoin métier précis (contexte, contraintes, format de sortie souhaité) en un nouveau skill Claude sur mesure, prêt à l'emploi sur le MCP Spendesk

CFOControllerAP Manager
★ Top
88/100·🔍 Ad hoc·Beginner

MCP Product Tour

Visite guidée conversationnelle du MCP Spendesk — appels réels sur les données de l'utilisateur, adaptée à sa persona, puis recommandation des prochains skills à installer

CFOControllerAP Manager