ramp-core-workflow-b

Featured

Ramp core workflow b — corporate card and expense management API integration. Use when working with Ramp for card management, expenses, or accounting sync. Trigger with phrases like "ramp core workflow b", "ramp-core-workflow-b", "corporate card API".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ramp Core Workflow B ## Overview Manage transactions and expenses: list, categorize, attach receipts, and sync to accounting. ## Prerequisites - Completed `ramp-core-workflow-a` ## Instructions ### Step 1: List Transactions with Filters ```python resp = requests.get(f"{BASE}/transactions", headers=headers, params={ "start_date": "2026-01-01", "end_date": "2026-03-22", "merchant_name": "Amazon", "page_size": 50, }) transactions = resp.json()["data"] total = sum(tx["amount"] for tx in transactions) print(f"Amazon spend: ${total/100:.2f} across {len(transactions)} transactions") ``` ### Step 2: Get Transaction Details ```python tx_id = transactions[0]["id"] detail = requests.get(f"{BASE}/transactions/{tx_id}", headers=headers) tx = detail.json() print(f"Amount: ${tx['amount']/100:.2f}") print(f"Merchant: {tx['merchant_name']}") print(f"Category: {tx['sk_category_name']}") print(f"Card: {tx['card_holder']['first_name']} — last4: {tx['card_last_four']}") ``` ### Step 3: Sync to Accounting ```python # Fetch transactions ready for accounting sync sync_resp = requests.get(f"{BASE}/accounting/transactions", headers=headers, params={ "sync_ready": True, "page_size": 100, }) for tx in sync_resp.json()["data"]: # Map to your ERP's chart of accounts journal_entry = { "date": tx["user_transaction_time"], "amount": tx["amount"], "account": map_category_to_gl(tx["sk_category_name"]), "vendor": tx["merchant_name"], ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category