{"uid":"cap_Mw33_oQ6CX4lVPFiwnTlz","slug":"brainiac-trade-finance-document-party-consistency-checker-2cda4e20","name":"BRAINIAC Trade Finance Document Party Consistency Checker","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/document-party-consistency?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","seller":"Seller Co","conflicts":[{"field":"shipper_DOC-1","detail":"Invoice seller vs document shipper DOC-1"}],"invoiceId":"INV-1","checkCount":6,"consistent":false,"conflictCount":1,"amountInvented":false,"creditDecision":false,"financingApproved":false}],"status":"checked","findings":[{"code":"shipper_DOC-1","kind":"conflict","detail":"Invoice seller vs document shipper DOC-1 do not match.","subject":"INV-1"}],"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,"publicSources":[],"amountInvented":false,"apiKeyRequired":false,"creditDecision":false,"consistentCount":0,"paidProviderUsed":false,"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_e1RlQvyRXJ-Ay1sA4lRqD","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":"Checks that buyer, seller, shipper, and other named parties are consistent across invoices, contracts, letters of credit, and trade documents, flagging any mismatches or conflicts.","exampleAgentPrompt":"Check whether the buyer, seller, and shipper names are consistent across these trade documents — I have invoice INV-001 showing 'Acme Corp' as seller and a bill of lading showing 'Acme Corporation' as shipper, plus the letter of credit naming 'Acme Corp', and I need to know if there are any party conflicts before we submit for financing.","exampleUseCases":[{"title":"Pre-financing document party audit","prompt":"Before we submit this trade finance package for discounting, can you check whether the buyer and seller names on our invoice, contract, and letter of credit all match — the invoice says buyer is 'Global Imports Ltd' and seller is 'ShenZhen Exports Co', and I want to confirm those same names appear consistently in all the other documents I'm attaching?"},{"title":"Letter of credit discrepancy detection","prompt":"We have a letter of credit from Deutsche Bank naming the beneficiary as 'Shanghai Textile Group Co.' but our invoice says seller is 'Shanghai Textile Group' — can you run a party consistency check and tell me whether these count as a conflict that could cause a rejection?"},{"title":"Multi-invoice trade package compliance check","prompt":"I'm processing a batch of 15 invoices tied to the same framework contract — can you check all of them against the contract and the master assignment agreement to see if any invoice has a buyer, seller, or shipper name that doesn't match what's in the contract?"}],"resultDescription":"Returns a JSON object with a list of checked invoice items, each showing buyer, seller, conflict details (field name and description), check count, and whether the document set is consistent. Also returns a findings array with structured discrepancy codes, a summary of consistent vs conflicting invoices, public sources used, and a set of limitations clarifying that no financing decisions or invented data are produced.","failureModes":["Missing required party or invoice fields result in fewer checks being performed rather than an error","Inconsistent name spellings (e.g. abbreviations) may produce false-positive conflicts","Truncated input due to maxLength limits may cause incomplete party comparisons","If no invoices or documents are supplied, the check count will be zero with no meaningful findings","Ambiguous role assignments across parties can lead to inconclusive consistency results"],"whenToPreferThis":"Use this endpoint when you need automated, structured detection of party name mismatches across trade finance documents (invoices, contracts, letters of credit, bills of lading) — particularly before submitting a trade finance package for discounting or financing. Prefer this over manual review or generic document comparison when you need machine-readable conflict codes and a structured findings array. It does not require an API key or account, charges a flat $0.04 USDC per call via x402, and explicitly avoids inventing data or making credit decisions, making it suitable for compliance audit trails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:41.158Z","isFirstParty":false,"canonicalSlug":"brainiac-trade-finance-document-party-consistency-checker-2cda4e20"}