{"uid":"cap_BU2SAiCmRn01SRttikP_p","slug":"brainiac-invoice-assignment-conflict-detector-78feb2d8","name":"BRAINIAC Invoice Assignment Conflict Detector","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/invoice-assignment-conflict-detect?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":[{"conflict":true,"assignees":["Bank A","Factor B"],"invoiceKey":"inv-1","assignments":[{"id":"ASG-1","date":"2026-09-10","amount":100000,"assignee":"Bank A","assignor":"Seller Co","currency":"USD","amountSupplied":true},{"id":"ASG-2","date":"2026-09-12","amount":100000,"assignee":"Factor B","assignor":"Seller Co","currency":"USD","amountSupplied":true}],"amountInvented":false,"creditDecision":false,"assignmentCount":2,"financingApproved":false},{"conflict":false,"assignees":["Bank A"],"invoiceKey":"inv-2","assignments":[{"id":"ASG-3","date":"2026-09-11","amount":40000,"assignee":"Bank A","assignor":"Seller Co","currency":"USD","amountSupplied":true}],"amountInvented":false,"creditDecision":false,"assignmentCount":1,"financingApproved":false}],"status":"checked","findings":[{"code":"assignment_conflict","kind":"conflict","detail":"The same invoice is assigned to more than one assignee in the supplied set.","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":2,"conflictCount":1,"publicSources":[],"amountInvented":false,"apiKeyRequired":false,"creditDecision":false,"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_gwCr-JoVxUT21Bc9Pl6rA","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":"Detects duplicate or conflicting assignments of the same invoice to multiple financiers or banks in a trade finance dataset","exampleAgentPrompt":"Check these invoices and assignment records for any conflicts — specifically flag any cases where the same invoice has been assigned to more than one bank or factor at the same time.","exampleUseCases":[{"title":"Receivables fraud audit before factoring","prompt":"I have a list of 50 invoices and their assignments across three factoring companies. Can you check whether any invoice has been double-assigned or pledged to more than one party at once?"},{"title":"Pre-financing conflict screening","prompt":"Before we approve this invoice discounting facility, run a conflict check on the submitted invoice and assignment data to make sure none of the invoices are already assigned to another lender."},{"title":"Trade portfolio compliance review","prompt":"We're doing a quarterly compliance review — take this CSV of invoice assignments from our trade finance portfolio and flag any invoices that appear to be assigned to multiple assignees simultaneously."}],"resultDescription":"Returns a JSON object with per-invoice conflict details including assignee lists, assignment records, conflict boolean flags, assignment counts, and overall findings. Also includes aggregate counts (invoiceCount, conflictCount), a checkedAt timestamp, and explicit limitation statements clarifying that no credit decisions are made, no data is invented, and no external registries are contacted.","failureModes":["Missing required invoice or assignment fields result in incomplete conflict analysis","Invoices without unique IDs may not be matched correctly across assignments","Exceeding the 1000-invoice or 200-party limits will cause request rejection","Malformed CSV, JSON, or base64 file data may fail to parse","Ambiguous party names (e.g. slight spelling variations) may not be recognized as the same assignee","Payment failure via x402 results in 402 response with no analysis performed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-account, pay-per-call check for duplicate invoice assignment conflicts in trade finance workflows. It is best suited for agents that need to screen receivables portfolios, validate assignment integrity before financing decisions, or audit invoice datasets for double-pledging without integrating with a full trade finance platform. Prefer this over manual review or heavier compliance platforms when speed, low cost ($0.04/call), and no-registration access are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:25.640Z","isFirstParty":false,"canonicalSlug":"brainiac-invoice-assignment-conflict-detector-78feb2d8"}