# BRAINIAC Employee Document Extract

> BRAINIAC Employee Document Extract is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-16).

Extracts and reconciles employee identity documents (passports, visas, etc.) from HR data, surfacing conflicts and masked identifiers against supplied policies.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/hr-operations/employee-document-extract?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-employee-document-extract-1d33bf80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_abxecsPgi7gkwfVDp62JA

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 brainiac-employee-document-extract-1d33bf80 -d '<json body>'
```

Example prompt: Can you extract and reconcile all passport and visa documents from our employee roster — I'll paste the JSON — and flag any conflicts or mismatches as of today?

## When to prefer this

Choose this endpoint when you need to programmatically extract and reconcile employee identity documents from raw HR data (CSV, JSON, or text) and surface conflicts or policy gaps — especially when you need masked identifiers and audit-safe output with no side effects. Prefer this over general document parsers when the use case is specifically HR document compliance, expiry tracking, or multi-record conflict detection across employee records. It is not a legal compliance tool but is well-suited for pre-audit data preparation.

## Known failure modes

- Input CSV/JSON too large (exceeds maxLength limits) — request rejected
- Missing required file mediaType or fileBase64 — validation error
- Conflicting documents with no resolution — both listed in issues array with conflict codes
- More than 400 documents or 200 employees supplied — request rejected
- Malformed date strings in employee or document records — fields may be ignored or cause parsing errors
- Empty input (no employees or documents provided) — empty result returned

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object containing a list of extracted document records (with masked identifiers and dates), a list of employees, any detected conflicts between records (e.g. differing passport numbers or expiry dates), a status field, a checkedAt timestamp, and a limitations array clarifying that no employment decision is made and results are not a legal compliance determination. Document numbers are always masked in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "asOf": {
   "type": "string",
   "maxLength": 10,
   "minLength": 1
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/csv",
      "application/json",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "text": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1
  },
  "policies": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "kind": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "name": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1
     },
     "match": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "stage": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "effectiveOn": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100
  },
  "roleText": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1
  },
  "documents": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "issuedOn": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     },
     "expiresOn": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
     },
     "employeeId": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "identifier": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "employees": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "name": {
      "type": "string",
      "maxLeng
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "issues": [
   {
    "code": "identifier_differs",
    "kind": "conflict",
    "field": "passport",
    "detail": "Two records of this document type list different identifiers. Neither was chosen.",
    "employeeId": "E-100"
   },
   {
    "code": "expiry_differs",
    "kind": "conflict",
    "field": "passport",
    "detail": "Two records of this document type list different expiry dates. Neither was chosen.",
    "employeeId": "E-100"
   }
  ],
  "status": "extracted",
  "checkedAt": "2026-11-03T13:00:00.000Z",
  "documents": [
   {
    "type": "passport",
    "issuedOn": "2019-01-01",
    "expiresOn": "2020-06-01",
    "employeeId": "E-100",
    "identifierMasked": "••••4567"
   },
   {
    "type": "passport",
    "issuedOn": "2019-01-01",
    "expiresOn": "2021-06-01",
    "employeeId": "E-100",
    "identifierMasked": "••••9999"
   }
  ],
  "employees": [
   {
    "id": "E-100",
    "name": "Ada Lovelace",
    "role": "Engineer",
    "endDate": "",
    "startDate": "2024-01-15"
   }
  ],
  "limitations": [
   "No employment decision is made and no access is changed.",
   "Employment law requirements are not invented. Checklist items come only from supplied policies.",
   "This result is not a legal compliance determination.",
   "Document numbers are masked, and email addresses are not copied into the response.",
   "A missing item means it was not in the request."
  ],
  "accessChanged": false,
  "documentCount": 2,
  "employeeCount": 1,
  "legalCompliance": false,
  "employmentDecision": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-employee-document-extract-1d33bf80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
