# BRAINIAC Trade Finance Evidence Package

> BRAINIAC Trade Finance Evidence Package is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.08/call, status unknown (last checked 2026-11-12).

Analyzes trade finance documents (invoices, contracts, letters of credit, assignments) to produce a structured evidence package with document matching, discrepancy findings, aging buckets, and financing readiness assessment.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/trade-finance/evidence-package?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-trade-finance-evidence-package-e6af788a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8qC3CvZ96WIqJ5F997MBC

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-trade-finance-evidence-package-e6af788a -d '<json body>'
```

Example prompt: I need a trade finance evidence package for these three invoices from Acme Exports to GlobalBuyer Corp — can you check them against the letter of credit LC-2024-001 and their contract CT-55, flag any discrepancies, show me the aging buckets as of today, and confirm whether they're ready for discounting?

## When to prefer this

Use this endpoint when you need a structured, verifiable evidence package for trade finance workflows — particularly for pre-financing due diligence, LC discrepancy checks, or aging/exposure summaries — without requiring an account, API key, or integration with a paid trade data provider. It is especially suited for AI agents operating on behalf of exporters, factors, or trade finance platforms that need to programmatically validate document sets and produce audit-ready findings at $0.08 per call via x402/USDC on Base. Prefer this over manual document review or heavyweight trade finance platforms when you need lightweight, pay-per-use analysis on structured invoice and contract data.

## Known failure modes

- Missing required fields (invoices with no amounts or due dates) result in unknown bucket classification rather than errors
- Discrepancy detection only compares supplied fields — omitting party names or amounts means those checks are skipped
- LC matching requires lcId to be present on both invoice and LC records; mismatched IDs prevent linking
- Large payloads near the 200,000 character limit for csv/json/text fields may be truncated or rejected
- No external bank or registry is contacted, so discrepancies that require live LC status cannot be detected
- If parties array is not supplied, party consistency checks will not run
- Assignment conflicts only detected if assignment records are provided in the input

## 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

A JSON object containing: per-invoice match results (whether each invoice is matched to a contract and LC, amount alignment, party alignment, document count), section summaries (aging buckets with outstanding amounts by time band, credit exposure by counterparty, LC discrepancy counts, payment term risk flags, assignment conflict counts, financing readiness counts), overall status, findings list, checkedAt timestamp, and explicit limitation statements clarifying that no credit decision is made, no amounts are invented, and no paid data providers are used.

## 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": {
  "items": [
   {
    "lcId": "LC-1",
    "matched": true,
    "invoiceId": "INV-1",
    "contractId": "CT-1",
    "documentIds": [
     "DOC-1"
    ],
    "amountAligned": true,
    "documentCount": 1,
    "invoiceNumber": "INV-1001",
    "amountCompared": true,
    "amountInvented": false,
    "creditDecision": false,
    "partiesAligned": true,
    "partiesCompared": true,
    "financingApproved": false
   }
  ],
  "status": "packaged",
  "lcCount": 1,
  "findings": [],
  "sections": {
   "aging": {
    "asOf": "2026-11-01",
    "buckets": {
     "90+": 0,
     "1-30": 100000,
     "31-60": 0,
     "61-90": 0,
     "current": 0,
     "unknown": 0
    }
   },
   "discounting": {
    "invoiceCount": 1
   },
   "documentMatch": {
    "invoiceCount": 1,
    "matchedCount": 1
   },
   "creditExposure": {
    "totalOutstanding": 100000,
    "counterpartyCount": 1
   },
   "lcDiscrepancies": {
    "lcCount": 1,
    "discrepancyCount": 0
   },
   "paymentTermRisk": {
    "higherCount": 0
   },
   "partyConsistency": {
    "consistentCount": 1
   },
   "financingReadiness": {
    "readyCount": 1,
    "invoiceCount": 1
   },
   "assignmentConflicts": {
    "conflictCount": 0
   }
  },
  "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": 1,
  "contractCount": 1,
  "documentCount": 1,
  "publicSources": [],
  "amountInvented": false,
  "apiKeyRequired": false,
  "creditDecision": false,
  "assignmentCount": 1,
  "paidProviderUsed": false,
  "financingApproved": false,
  "discrepancyInvented": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-trade-finance-evidence-package-e6af788a/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)
