# HumanMirror Automata Invoice Recovery Bot

> HumanMirror Automata Invoice Recovery Bot is a paid API for AI agents from humanmirror.fr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Triggers an automated invoice recovery workflow for autonomous systems, returning a verification status indicating whether the recovery action succeeded.

## Facts

- Endpoint: POST https://humanmirror.fr/api/x402/automata-invoice-recovery?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/humanmirror-automata-invoice-recovery-bot-7fbc5066
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wq5Xp1D-xTO8c0nzmwSnD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability humanmirror-automata-invoice-recovery-bot-7fbc5066 -d '<json body>'
```

Example prompt: Run the HumanMirror Invoice Recovery Bot on this failed billing event — the event type is 'payment_failed', the available connectors are ['stripe', 'ledger'], and here's the incident context: invoice INV-2024-0091 was rejected by the payment gateway yesterday.

## When to prefer this

Use this endpoint when an autonomous agent or system needs to programmatically recover a failed, stuck, or unprocessed invoice, especially within the HumanMirror trust and governance ecosystem. Prefer this over generic retry logic when you need a verified recovery outcome with structured status reporting and connector-aware routing.

## Known failure modes

- Missing required 'input' object returns a validation error
- Invalid method enum value (not POST/PUT/PATCH) causes schema rejection
- Unrecognized bodyType causes parsing failure
- Ambiguous or malformed event_type may result in no trigger match and an unresolved status
- Network or upstream service errors may return a non-ok response with an error status

## How this service works

HumanMirror est le control plane des agents autonomes : décision avant action, preuve après exécution, routage machine et gouvernance de flotte.

## Output

Returns a JSON object with an 'ok' boolean indicating success, a 'status' field describing the outcome (e.g. 'verified_success'), and a 'product' field identifying the recovery service used. Agents can use the status field to determine next steps in a workflow.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "context": {
       "type": "object",
       "description": "Optional incident metadata. The paid decision call does not persist raw context."
      },
      "connectors": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Connector names declared as available; this is not proof of authorization."
      },
      "event_type": {
       "type": "string",
       "description": "Optional observed event type for trigger matching."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "status": "verified_success",
  "product": "HumanMirror Invoice Recovery Bot"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/humanmirror-automata-invoice-recovery-bot-7fbc5066/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from humanmirror.fr](https://www.zero.xyz/host/humanmirror.fr/llms.txt)
