---
name: reconcile-po-to-bill
description: "Three-way match check — PO amount vs. bill, with variance flags."
title: "Reconcile a PO to its bill"
url: https://agents.ramp.com/playbooks/reconcile-po-to-bill
runtimes: [Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity]
---

# Reconcile a PO to its bill

Procurement close requires matching POs to invoices. Your agent pulls both sides, compares amounts and status, and flags discrepancies before you approve payment.

## How to run

Identify which runtime you're operating in (Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity). Use the matching section below; ignore the others.

## Claude Desktop

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Claude Desktop ([connector directory](https://claude.ai/directory/61bac03c-3f98-4b3c-affb-1b99533fa82c))

Reconcile this purchase order to its bill in Ramp.

PO: [REPLACE — PO number, vendor, or description]
Bill: [REPLACE — bill number or invoice, if known]

Compare:
- PO amount vs. billed amount — flag any variance
- Line items or descriptions if available
- Receipt or fulfillment status on the PO
- Whether the bill is approved, paid, or still pending

Summarize match status and any discrepancies. Read-only — do not edit POs or bills.
```

## ChatGPT

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in ChatGPT ([app](https://chatgpt.com/apps/ramp/asdk_app_69250fb6281c819195b52a1556b0060c))

Reconcile this purchase order to its bill in Ramp.

PO: [REPLACE — PO number, vendor, or description]
Bill: [REPLACE — bill number or invoice, if known]

Compare:
- PO amount vs. billed amount — flag any variance
- Line items or descriptions if available
- Receipt or fulfillment status on the PO
- Whether the bill is approved, paid, or still pending

Summarize match status and any discrepancies. Read-only — do not edit POs or bills.
```

## Claude Code

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`

Reconcile this purchase order to its bill in Ramp.

PO: [REPLACE — PO number, vendor, or description]
Bill: [REPLACE — bill number or invoice, if known]

Compare:
- PO amount vs. billed amount — flag any variance
- Line items or descriptions if available
- Receipt or fulfillment status on the PO
- Whether the bill is approved, paid, or still pending

Summarize match status and any discrepancies. Read-only — do not edit POs or bills.
```

## Codex

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`

Reconcile this purchase order to its bill in Ramp.

PO: [REPLACE — PO number, vendor, or description]
Bill: [REPLACE — bill number or invoice, if known]

Compare:
- PO amount vs. billed amount — flag any variance
- Line items or descriptions if available
- Receipt or fulfillment status on the PO
- Whether the bill is approved, paid, or still pending

Summarize match status and any discrepancies. Read-only — do not edit POs or bills.
```

## Perplexity

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Perplexity ([connector](https://www.perplexity.ai/computer/connectors?connector=ramp))

Reconcile this purchase order to its bill in Ramp.

PO: [REPLACE — PO number, vendor, or description]
Bill: [REPLACE — bill number or invoice, if known]

Compare:
- PO amount vs. billed amount — flag any variance
- Line items or descriptions if available
- Receipt or fulfillment status on the PO
- Whether the bill is approved, paid, or still pending

Summarize match status and any discrepancies. Read-only — do not edit POs or bills.
```
