Skip to content
Fourohtwo

Audits an invoice for math and matching errors

www.getbags.app/api/agent/link/pl-c5a332aa-4390-4b95-8524-ccf5fad6429c

Audits an invoice for math and matching errors: wrong line totals, subtotal/total mismatches, duplicate lines, prices or quantities over a purchase order, PO number mismatches, and duplicate invoice numbers. Send structured JSON; returns findings with severity and expected vs. observed values.

BaseAnswering
POSThttps://www.getbags.app/api/agent/link/pl-c5a332aa-4390-4b95-8524-ccf5fad6429c

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.getbags.app/api/agent/link/pl-c5a332aa-4390-4b95-8524-ccf5fad6429c", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"invoice":{"invoice_number":"INV-1","items":[{"amount":"20.00","description":"Widget","quantity":"2","unit_price":"10.00"}],"supplier":"Acme","total":"20.00"}}),
});
console.log(await res.json());

Example input

{
  "invoice": {
    "invoice_number": "INV-1",
    "items": [
      {
        "amount": "20.00",
        "description": "Widget",
        "quantity": "2",
        "unit_price": "10.00"
      }
    ],
    "supplier": "Acme",
    "total": "20.00"
  }
}