技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
ramp-core-workflow-b【数据与研究】Implement a reconciled two-way Ramp accounting integration for chart-of-accounts data and sync-ready spend objects. Use when exporting transactions, bills, reimbursements, transfers, or cashbacks to an ERP. Trigger with "Ramp accounting sync" or "Ramp ERP integration".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Mirror ERP coding structures into Ramp, pull only eligible objects, post them once to the ERP, and send explicit success or failure receipts back to Ramp. Preserve entity boundaries and an auditable idempotency ledger.
references/official-docs.md and re-check endpoint schemas, scopes, limits, and support status before a live operation.sync_status=SYNC_READY; bills use sync_ready=true.POST /developer/v1/accounting/syncs accepts an idempotency key, sync type, and explicit successful or failed object receipts.entity_id, and Ramp IDs used for accounting selections differ from ERP remote IDs.Inventory entities, object types, chart fields, remote IDs, tax/vendor relationships, direct integrations, owners, and the reconciliation period.
Push or update chart-of-accounts structures in bounded validated batches; retain Ramp IDs and ERP remote IDs in a typed mapping table.
Fetch each eligible object type with its documented ready-to-sync filter and paginate completely within one entity at a time.
Post to the ERP using a stable source-object key, then record the ERP reference and only afterward submit the Ramp success receipt; submit structured failure receipts for rejected objects.
Reconcile counts, amounts, currencies, line splits, entities, and status in both systems; quarantine mismatches and repeat reconciliation after any retry.
Accounting owns mappings and period policy; each entity owner approves scope; finance approves production posting and replay. Do not mark an object synced without a durable ERP receipt.
An entity-aware mapping inventory, cursor/checkpoint ledger, ERP post receipts, Ramp sync receipts, mismatch queue, reconciliation totals, and rollback/reversal procedure.
| Condition | Response |
|---|---|
| An object is already posted in the ERP | Resolve by the stable Ramp source ID and reuse the existing ERP reference; do not create a second journal entry. |
| A chart batch partly appears to succeed | Treat the documented batch as all-or-nothing, read current state, and resend only after reconciliation. |
| A direct integration rejects sync marking | Stop and resolve the accounting-connection architecture with Ramp and the finance owner. |
Export one entity's sync-ready card transactions to an ERP and prove every successful Ramp receipt maps to one journal reference.
Migrate bills and reimbursements while quarantining currency or coding mismatches instead of marking them synced.