81trust / 100

Invoice Reconciliation

by U2A in Markets & finance

x402 APIPassing, checked 3 h ago

Reconciles invoice, purchase-order, or ledger records and returns traceable missing, extra, and changed fields.

POST https://www.u2a.com.au/api/mcp/invoice-reconciliation

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
235 ms typical, 235 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://www.u2a.com.au/api/mcp/invoice-reconciliation" \
  -H "content-type: application/json" \
  -d '{"compareFields":["amount"],"keys":["invoice_id"],"newRecords":[{"amount":105,"invoice_id":"INV-1"}],"oldRecords":[{"amount":100,"invoice_id":"INV-1"}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.u2a.com.au%2Fapi%2Fmcp%2Finvoice-reconciliation
const res = await pay("https://www.u2a.com.au/api/mcp/invoice-reconciliation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"compareFields":["amount"],"keys":["invoice_id"],"newRecords":[{"amount":105,"invoice_id":"INV-1"}],"oldRecords":[{"amount":100,"invoice_id":"INV-1"}]}),
});
console.log(await res.json());

Example input

{
  "compareFields": [
    "amount"
  ],
  "keys": [
    "invoice_id"
  ],
  "newRecords": [
    {
      "amount": 105,
      "invoice_id": "INV-1"
    }
  ],
  "oldRecords": [
    {
      "amount": 100,
      "invoice_id": "INV-1"
    }
  ]
}

Example output

{
  "id": null,
  "jsonrpc": "2.0",
  "result": {
    "changed": [
      {
        "field": "amount",
        "key": [
          "INV-1"
        ],
        "new_value": 105,
        "old_value": 100
      }
    ],
    "extra_in_new": [],
    "keys": [
      "invoice_id"
    ],
    "missing_from_new": []
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402235 ms$0.01
8 h agoPassed402291 ms$0.01