Cash Drawer Reconciliation

Compare denomination counts with cash activity and classify the closing variance as over, short or balanced.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /cash-drawer-reconciliation/v1/check with an x402 V2 client.

Worked example

Request

{
  "opening_cents": 1000,
  "activity": [
    {
      "type": "sale",
      "cents": 750
    },
    {
      "type": "deposit",
      "cents": 500
    },
    {
      "type": "refund",
      "cents": 175
    }
  ],
  "denominations": [
    {
      "unit_cents": 1000,
      "count": 1
    },
    {
      "unit_cents": 25,
      "count": 2
    }
  ]
}

Result

{
  "expected_cents": 1075,
  "counted_cents": 1050,
  "variance_cents": -25,
  "status": "short"
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter