Invoice Agent

Invoice financing paid by an AI agent inside on-chain limits a verified human controls.

Invoice Agent

Created At

ETHGlobal Mumbai

Project Description

Invoice Agent is invoice financing where the payer is an AI agent that can only act within rules a human controls.

THE PROBLEM Small suppliers wait 30 to 90 days to be paid. Investors who would fund them cannot tell whether the buyer will pay. And when the buyer is an AI agent spending on someone's behalf, nobody can see what limits it runs under.

WHAT IT DOES

  1. A supplier lists an unpaid invoice.
  2. The buyer agent reviews it and accepts it. An invoice cannot be funded until the buyer's vault accepts it, so nobody can invent a debt for a vault.
  3. An investor funds it at a discount and receives a bond token on Hedera.
  4. On the due date the agent pays from its vault. The vault enforces a daily limit, a supplier allowlist and an approval threshold.
  5. Above the threshold, a World-verified human sponsor must approve. If the sponsor denies, cancels or lets it expire, nothing is paid.
  6. The agent has an ENS name that publishes its limits and payment record. Investors, and their own agents, read it before funding. An investor agent pays an x402 fee on Hedera to get a risk score.
  7. Every step is written to a Hedera Consensus Service audit log with HashScan links.

WHY IT IS DIFFERENT On-chain invoice projects usually assume a human debtor who clicks approve. We assume the payer is an agent, and we make its rules readable (ENS), enforceable (vault) and overridable only by a verified human (World).

This is a testnet prototype, not financial advice.

How it's Made

HEDERA (x402 and Tokenize). Solidity contracts built with Foundry on the Hedera EVM testnet: InvoiceMarket (listing, buyer acceptance, funding at a discount, payment, late and default states) and BuyerVault (daily limit, supplier allowlist, EIP-712 sponsor approvals above a threshold, a sponsor pause switch). Funded invoices are issued as bond tokens with Hedera Asset Tokenization Studio. The investor agent pays an x402-protected risk-score endpoint settled on Hedera, under a budget, a per-merchant cap and an allowlist, with no human approving. A Hedera Consensus Service topic logs each lifecycle event, the due-date payment uses a Scheduled Transaction, and settled transaction IDs link to HashScan.

WORLD. The approval service starts a World ID Agent Pass step-up authentication for the sponsor when a payment is above the threshold. The approval is bound to the exact payment (invoice, payee, amount, expiry), single use, and validated on our backend. Denied, expired and cancelled paths are tested and the payment never executes.

ENS. Each buyer agent is an ENSv2 name on Sepolia. Its limits, allowlist and payment record are published by a publisher wallet with a scoped role, and the app and the investor agent read them live, with no hard-coded values.

AGENTS. A buyer agent and an investor agent built on the Claude API. The model only returns approve, review or reject plus a reason; deterministic guardrails make the final decision, and invoice text is treated as untrusted data.

APP. TypeScript backend with Postgres and an indexer, Next.js and Tailwind frontend.

TESTING. Foundry unit, fuzz and invariant tests, an attack suite (replayed approvals, wrong payee, over-limit, hostile invoice text), and end-to-end scripts that run the full lifecycle on testnet. A hidden demo-controls page advances time so the due-date payment can be shown in one take.

background image mobile

Join the mailing list

Get the latest news and updates