BotCurrent↗
← Back to examples

Official recipe

Review invoice lines against orders and receipts

An invoice can disagree with the order or receipt evidence.

Read original sample
Suggested result

Sample output: discrepancy JSON.

Who this helps: Accounts-payable reviewer

What you need: Invoice, order and receipt copies. Begin with invented local data and owner-written comparison rules. Untested synthetic sample. Receipt lookup excludes cancellations but can include drafts; mixed-order receipts need line-level verification. Access, deployment and inference costs remain unverified.

  1. AWS sample method: Retrieves an invoice, its purchase order and receipts; compares line quantities and prices, uses Python for aggregates, and emits discrepancy JSON.

The prompt proposes auto-approval; standalone code records analysis. Effective tool permissions are unverified. Partial-invoice rules require owner review. Keep the pilot read-only; approve accounting changes and payments separately.

The cited implementation is an unexecuted research example. BotCurrent has not tested this workflow.

Copy a prompt for this task

Suggested prompt · untested

Replace the placeholders with your details. This suggested prompt does not run anything or grant access.

Select and copy the text manually if automatic copying is unavailable.

Inputs, access and approval

Inputs:

  • Invoice, order and receipt copies. Assign immutable row identifiers before interpretation. Keep quantity units, currency and document-state fields explicit; record unknown values rather than filling them from another document.
  • Owner-defined review contract. Specify the comparison date, permitted rounding, treatment of disputed items and who resolves ambiguity. Keep a copy of the rules with the output so later review can reproduce the conclusion.

Approval: Obtain the appropriate approval before transmitting real financial records to a model provider, connecting an account, changing an invoice or contacting a supplier. Keep outputs private and draft-only. Before any external communication, upload, live change, spend, commitment or permission change, show the exact action, target, data or content and consequences, then wait for separate appropriate approval. This prompt does not authorize those actions.

Use uploaded inputs first. Confirm scoped authorization before using a read-only connection. Missing inputs or access require an upload or clarification.

Original BotCurrent suggested prompt based on the linked example. Original source, Supporting source 2 · Amazon Web Services sample authors. Editorial review does not establish execution success or current compatibility.

Setup and access

Invoice, order and receipt copies. Begin with invented local data and owner-written comparison rules. Untested synthetic sample. Receipt lookup excludes cancellations but can include drafts; mixed-order receipts need line-level verification. Access, deployment and inference costs remain unverified.

Detailed steps and output format

At a glance

Suggested result
A line-linked match review with unresolved differences.Suggested; untested.
Tool
Strands agents with Amazon Bedrock AgentCoreSource-named; check current access.
Suggested inputs
Not specified in this entry.Proposed; access notes below.
Human review
Proposed: authorize a read-only pilot separately. Keep purchase commitments, accounting changes, data sharing and payments behind the owner’s applicable approval process.Suggested boundaries; source approvals below.
Setup notes
Not specified in this entry.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

An invoice can disagree with the order or receipt evidence.

Suggested task · untested

Proposed: compare the three records and prepare exceptions for an accounts-payable reviewer.

What you could produce

A line-linked match review with unresolved differences.

Where these suggestions come from
  • Core problem: Our suggestion; no result reported by the source
  • Agent job: Our suggestion; no result reported by the source
  • Expected output: Our suggestion; no result reported by the source
  • Relevant job roles: Our suggestion; no result reported by the source
  • Benefit type: Our suggestion; no result reported by the source
Suggestions and their limits

Describes the proposed purpose and review output; measured benefit and successful delivery are not established.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Tasks: Shopping & productsMoney & accountingResearch & discovery

Useful for: General use

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Strands agents with Amazon Bedrock AgentCoreIndependent testing: No
Failure handling, costs and limits

The prompt proposes auto-approval; standalone code records analysis. Effective tool permissions are unverified. Partial-invoice rules require owner review. Keep the pilot read-only; approve accounting changes and payments separately.

Full source evidence

Official recipe · Tool workflows

Original task title: Review invoice lines against orders and receipts

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://raw.githubusercontent.com/aws-samples/sample-multi-agent-procure-to-pay/main/backend/agents/invoice_matching_agent.py ↗

Attributed to: Amazon Web Services sample authors

Supporting source context

Project documentation supporting the linked recipe’s scope, permissions and limits. These references do not establish an independent test or add counted jobs.

Official recipe
Original action type
tool_action
What the source reports
Retrieves an invoice, its purchase order and receipts; compares line quantities and prices, uses Python for aggregates, and emits discrepancy JSON.
Source outcome limits
Untested synthetic sample. Receipt lookup excludes cancellations but can include drafts; mixed-order receipts need line-level verification.
Evidence attribution caveat
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
The prompt proposes auto-approval; standalone code records analysis. Effective tool permissions are unverified. Partial-invoice rules require owner review.
Named tools
ERPNext; MCP Gateway; Python code interpreter
Model or version
Unknown
Publication date
Unknown
Source last checked
2026-10-15
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: ask the Canadian business owner to define its records, currency treatment, privacy constraints and approval authority before considering any pilot.
Recommended approval boundaries
Proposed: authorize a read-only pilot separately. Keep purchase commitments, accounting changes, data sharing and payments behind the owner’s applicable approval process.

Manual prompt · reviewed mapping, untested

On demand · Finite instructions. A workflow design has not been supplied for this mapping.

Use the accepted prompt’s input, access and approval requirements. Selecting or copying it grants no access and starts no workflow.

Read the accepted prompt, inputs and approval boundary ↑