{"uid":"cap_sIrIEaTvqUgSSIjtiMyBm","slug":"brainiac-trade-finance-credit-exposure-calculator-1fbaa033","name":"BRAINIAC Trade Finance Credit Exposure Calculator","description":"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.","url":"https://www.brainiac.software/api/v1/trade-finance/credit-exposure-calculate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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},"paymentTerms":{"type":"string","maxLength":200}},"additionalProperties":false},"maxItems":1000},"contracts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"date":{"type":"string","maxLength":40},"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},"currency":{"type":"string","maxLength":12},"incoterm":{"type":"string","maxLength":40},"paymentTerms":{"type":"string","maxLength":200}},"additionalProperties":false},"maxItems":200},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"date":{"type":"string","maxLength":40},"lcId":{"type":"string","maxLength":80},"type":{"type":"string","maxLength":80},"goods":{"type":"string","maxLength":400},"amount":{"type":"number","maximum":1000000000000,"minimum":0},"number":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":160},"shipper":{"type":"string","maxLength":200},"currency":{"type":"string","maxLength":12},"consignee":{"type":"string","maxLength":200},"invoiceId":{"type":"string","maxLength":80},"contractId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":1000},"worldBank":{"type":"object","properties":{"country":{"type":"string","maxLength":3,"minLength":2},"perPage":{"type":"integer","maximum":40,"minimum":1},"indicator":{"type":"string","maxLength":80,"minLength":3}},"additionalProperties":false},"assignments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"date":{"type":"string","maxLength":40},"amount":{"type":"number","maximum":1000000000000,"minimum":0},"source":{"type":"string","maxLength":160},"assignee":{"type":"string","maxLength":200},"assignor":{"type":"string","maxLength":200},"currency":{"type":"string","maxLength":12},"invoiceId":{"type":"string","maxLength":80},"invoiceNumber":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":500},"discountRatePct":{"type":"number","maximum":100,"minimum":0},"lettersOfCredit":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"goods":{"type":"string","maxLength":400},"amount":{"type":"number","maximum":1000000000000,"minimum":0},"number":{"type":"string","maxLength":80},"source":{"type":"string","maxLength":160},"currency":{"type":"string","maxLength":12},"applicant":{"type":"string","maxLength":200},"issueDate":{"type":"string","maxLength":40},"expiryDate":{"type":"string","maxLength":40},"beneficiary":{"type":"string","maxLength":200},"requiredDocs":{"type":"array","items":{"type":"string","maxLength":120},"maxItems":40},"latestShipment":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":200}}},"responseSchema":{"type":"json","example":{"items":[{"buyer":"Buyer Co","currency":"USD","outstanding":120000,"invoiceCount":2,"amountInvented":false,"creditDecision":false,"financingApproved":false,"outstandingSupplied":true},{"buyer":"Other Co","currency":"EUR","outstanding":25000,"invoiceCount":1,"amountInvented":false,"creditDecision":false,"financingApproved":false,"outstandingSupplied":true}],"status":"calculated","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."],"publicSources":[],"amountInvented":false,"apiKeyRequired":false,"creditDecision":false,"paidProviderUsed":false,"totalOutstanding":145000,"counterpartyCount":2,"financingApproved":false,"discrepancyInvented":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QobriPGsgjjhztG-87Rx6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates outstanding credit exposure across trade counterparties from invoices, contracts, and letters of credit","exampleAgentPrompt":"Calculate the total credit exposure across all my trade counterparties as of today — I have invoices from Buyer Co for $120,000 and Other Co for €25,000 that are still outstanding, and I need a breakdown by buyer showing invoice counts and total amounts owed.","exampleUseCases":[{"title":"Export receivables risk summary","prompt":"I have 15 open invoices across 4 buyers in different countries — can you calculate my total outstanding credit exposure by counterparty as of today and flag any discrepancies in the data I'm providing?"},{"title":"Letter of credit portfolio review","prompt":"Pull together the outstanding exposure across all these letters of credit and invoices I'm uploading — I need to know how much each buyer owes in their local currency and overall as of November 2026."},{"title":"Trade finance due diligence check","prompt":"Before we approve the next financing tranche, can you run a credit exposure calculation across these supplier invoices and contracts to show total outstanding amounts grouped by buyer as of this week?"}],"resultDescription":"Returns a JSON object with per-counterparty breakdown of outstanding amounts, invoice counts, and currencies; a total outstanding sum; counterparty count; a checkedAt timestamp; data limitation disclosures; discrepancy findings; and boolean flags confirming no amounts were invented, no paid data providers were used, and no credit decision was made.","failureModes":["Missing required fields like invoice amounts or buyer identifiers result in incomplete aggregation","Amounts or due dates not supplied in the input are not estimated or invented — gaps are reported in findings","Conflicting data across fields (e.g. mismatched buyer names) flagged as discrepancy findings but not resolved against external registries","Malformed CSV, JSON, or base64 file input may cause parsing failures","Input exceeding field size limits (e.g. more than 1000 invoices or 200 parties) will be rejected","Currency inconsistencies across invoices reported but not automatically converted"],"whenToPreferThis":"Use this endpoint when you need a structured, verifiable aggregation of trade credit exposure from your own invoice and contract data without relying on a paid credit data provider. It is ideal for agents that need a transparent, no-hallucination calculation where data gaps are explicitly reported rather than estimated. Prefer this over general-purpose LLM analysis when you need reproducible, audit-ready output with explicit limitation disclosures and boolean integrity flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:12.887Z","isFirstParty":false,"canonicalSlug":"brainiac-trade-finance-credit-exposure-calculator-1fbaa033"}