# BRAINIAC Receivable Aging Risk Analyzer

> BRAINIAC Receivable Aging Risk Analyzer 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-12).

Analyzes accounts receivable invoices for aging risk, bucketing them by days past due and assessing credit risk levels for trade finance portfolios.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/trade-finance/receivable-aging-risk-analyze?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-receivable-aging-risk-analyzer-72af8926
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4PryfJenU1wLwQIOVvJGl

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-receivable-aging-risk-analyzer-72af8926 -d '<json body>'
```

Example prompt: Can you analyze the aging risk on these 50 invoices as of November 1, 2026 — bucket them by days past due (current, 1-30, 31-60, 61-90, 90+) and flag any elevated-risk receivables? I'll paste the invoice list as a CSV.

## When to prefer this

Use this endpoint when you need automated, structured aging-bucket analysis on a set of trade receivables or export invoices without setting up a full AR system or subscribing to a paid trade finance data provider. It is ideal for agents that need a quick per-call receivable risk summary with explicit transparency flags (no credit decisions, no invented data). Prefer this over general-purpose AI analysis when you want consistent aging bucket taxonomy and audit-friendly limitation disclosures.

## Known failure modes

- Missing dueDate or outstanding on invoices causes those items to fall into the 'unknown' bucket
- Invoices with no buyer name may be grouped incorrectly
- CSV or JSON parse failures if input is malformed
- asOf date in an unrecognized format may cause incorrect aging calculation
- Very large invoice sets (approaching 1000 items) may hit array size limits

## 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 list of analyzed invoice items each with their aging bucket (current, 1-30, 31-60, 61-90, 90+), days past due, outstanding amount, risk rating (lower/elevated), and buyer name. Also returns aggregate totals per bucket, invoice count, findings, public sources used, and a set of transparency flags (creditDecision, financingApproved, amountInvented, paidProviderUsed) confirming no data was invented or financials fabricated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "parties": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 200
     },
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "country": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "invoices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "lcId": {
      "type": "string",
      "maxLength": 80
     },
     "buyer": {
      "type": "string",
      "maxLength": 200
     },
     "goods": {
      "type": "string",
      "maxLength": 400
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000000,
      "minimum": 0
     },
     "number": {
      "type": "string",
      "maxLength": 80
     },
     "seller": {
      "type": "string",
      "maxLength": 200
     },
     "source": {
      "type": "string",
      "maxLength": 160
     },
     "status": {
      "type": "string",
      "maxLength": 80
     },
     "country": {
      "type": "string",
      "maxLength": 80
     },
     "dueDate": {
      "type": "string",
      "maxLength": 40
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "incoterm": {
      "type": "string",
      "maxLength": 40
     },
     "issueDate": {
      "type": "string",
      "maxLength": 40
     },
     "contractId": {
      "type": "string",
      "maxLength": 80
     },
     "outstanding": {
      "type": "number",
      "maximum": 1000000000000,
      "minimum": 0
     },
     "pay
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-11-01",
  "items": [
   {
    "asOf": "2026-11-01",
    "risk": "lower",
    "buyer": "Buyer Co",
    "bucket": "1-30",
    "dueDate": "2026-10-15",
    "currency": "USD",
    "invoiceId": "INV-1",
    "daysPastDue": 17,
    "outstanding": 100000,
    "invoiceNumber": "INV-1001",
    "amountInvented": false,
    "creditDecision": false,
    "financingApproved": false,
    "daysPastDueSupplied": true,
    "outstandingSupplied": true
   },
   {
    "asOf": "2026-11-01",
    "risk": "elevated",
    "buyer": "Other Co",
    "bucket": "61-90",
    "dueDate": "2026-09-01",
    "currency": "USD",
    "invoiceId": "INV-2",
    "daysPastDue": 61,
    "outstanding": 40000,
    "invoiceNumber": "INV-1002",
    "amountInvented": false,
    "creditDecision": false,
    "financingApproved": false,
    "daysPastDueSupplied": true,
    "outstandingSupplied": true
   },
   {
    "asOf": "2026-11-01",
    "risk": "lower",
    "buyer": "Buyer Co",
    "bucket": "current",
    "dueDate": "2026-11-15",
    "currency": "USD",
    "invoiceId": "INV-3",
    "daysPastDue": -14,
    "outstanding": 25000,
    "invoiceNumber": "INV-1003",
    "amountInvented": false,
    "creditDecision": false,
    "financingApproved": false,
    "daysPastDueSupplied": true,
    "outstandingSupplied": true
   }
  ],
  "status": "analyzed",
  "buckets": {
   "90+": 0,
   "1-30": 100000,
   "31-60": 0,
   "61-90": 40000,
   "current": 25000,
   "unknown": 0
  },
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Invoices, contracts, letters of credit, trade documents, and assignments are copied only from labeled fields supplied by the caller, or from key-free public World Bank trade responses when requested.",
   "No paid trade-finance data provider is used and no API key is required.",
   "Missing amounts, due dates, parties, and document fields are not invented.",
   "Financing readiness and discounting figures are descriptive calculations only. A credit or financing decision is never produced.",
   "Discrepancy and conflict findings compare supplied fields only and do not contact banks or registries."
  ],
  "invoiceCount": 3,
  "publicSources": [],
  "amountInvented": false,
  "apiKeyRequired": false,
  "creditDecision": false,
  "paidProviderUsed": false,
  "financingApproved": false,
  "discrepancyInvented": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-receivable-aging-risk-analyzer-72af8926/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)
