ramp-payment-lookup
Look up vendor bill payments and verify payment status from the terminal. Use when: 'did we pay', 'payment status', 'check if paid', 'verify payment', 'find…
от CognitionAI★ 42 звезды на GitHub
Установить ramp-payment-lookup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Non-Negotiables
- Pass
--rationaleon every command — it is a required field on these agent-tools (a non-empty string, max 1024 chars). With--json, supply it as a"rationale"key in the body. Omitting it returnsHTTP 422 (DEVELOPER_INVALID_SCHEMA), in both agent and human modes. - Always search bills first with
--include_drafts=false, then enrich submitted bills withbills getandbills attachmentswhen available. - Report exactly what the API returns. Don't infer payment state beyond what the status says.
- When checking whether a payment went out, search with
--include_paidto include completed bills. - Pass
--agentfor machine-readable JSON output on all commands. - Bill amounts in search and
getresponses are numeric major currency units (for example, dollars for USD). Never divide bill amounts by 100. Transaction amounts are formatted strings ("$135.40"). Reimbursement amounts are in dollars. - Check
is_drafton every search result. If a draft appears despite--include_drafts=false, usebills draftinstead ofbills get. - For approval or modification history, use
bills history;bills getdoes not include history. - If
bills getfails on a search-returned ID, fall back to the search results and note the limitation.
Workflow
Step 1: Search for the bill
ramp bills search --query "<vendor or invoice number>" --include_paid --include_drafts=false --limit 10 --agent --rationale "Search bills for the user"
The --query flag matches against payee name, invoice number, and payment ID. Partial matches work (e.g., "UPS" matches "UPS Store").
If too many results, narrow with more specific terms. If zero results, try alternate vendor name spellings.
If next_page_cursor is not null, paginate with --page_cursor:
ramp bills search --query "<vendor>" --include_paid --include_drafts=false --limit 10 \
--page_cursor "<cursor>" --agent --rationale "Search bills for the user"
Step 2: Drill into details
Check the search result's is_draft field. For a submitted bill (is_draft=false):
ramp bills get <bill_id> --agent --rationale "Review bill details"
This returns payment and bill metadata, but not approval history.
If a result unexpectedly has is_draft=true, route it to the draft command instead:
ramp bills draft --bill_id <bill_id> --agent --rationale "Review draft bill details"
For a draft, do not run bills history or bills attachments; both commands support submitted bills only. Drafts do not yet have submitted-bill approval history. For draft attachment requests, direct the user to the bill_url returned by bills draft, where attachments can be viewed.
Use -n (dry run) to preview the request without sending:
ramp bills get <bill_id> --agent -n --rationale "Review bill details"
Step 3: Pull approval history for a submitted bill when requested
ramp bills history --bill_id <bill_id> --agent --rationale "Review bill approval history"
Use this dedicated command for approval-history or modification-history requests only when is_draft=false.
Step 4: Pull the invoice attachment for a submitted bill
ramp bills attachments <bill_id> --agent --rationale "Fetch bill attachments"
For is_draft=false, this returns invoice files associated with the bill for cross-reference. For is_draft=true, use the bill_url from bills draft instead.
If get fails on a bill ID, attachments will likely fail too.
Step 5: Present findings
Summarize clearly:
Bill found: DHL
Invoice #: 24-165-12
Amount: $1,287.95 USD
Payment status: [status from API]
Approval status: [status from API]
Memo: Business package shipment and insurance
If the user wanted to confirm a payment went out, state explicitly whether the status confirms payment or not.
Fields Available
From bills search
| Field | Description |
|---|---|
id |
Bill UUID |
is_draft |
Whether the result is an unsubmitted draft; route true values to bills draft |
invoice_number |
Vendor invoice number |
vendor_name |
Payee name |
amount |
Numeric amount in major currency units; never divide by 100 |
currency |
Currency code |
due_date |
Payment due date (may be null) |
payment_status |
Payment state (may show "Unknown" for unpaid) |
approval_status |
Approval state |
memo |
Bill description |
From bills get (when available)
Additional fields beyond search — exact schema depends on bill state. May include payment method and accounting metadata. Use bills history for approval history.
Example Session
User: Did we pay DHL this month?
Agent: Let me check.
> ramp bills search --query "DHL" --include_paid --include_drafts=false --limit 10 --agent --rationale "Search bills for the user"
Found 1 bill:
DHL — Invoice #24-165-12
Amount: $1,287.95 USD
Payment status: PAID
Approval status: APPROVED
Memo: Busines
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ramp-payment-lookup?
Look up vendor bill payments and verify payment status from the terminal. Use when: 'did we pay', 'payment status', 'check if paid', 'verify payment', 'find invoice', 'bill lookup', 'was this bill paid', 'payment confirmation'. Do NOT use for: approving bills (use ramp-approval-dashboard), spend analysis across vendors (use ramp-spend-analysis), or uploading receipts (use ramp-complete-expenses).
Как установить скилл ramp-payment-lookup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ramp-payment-lookup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…