{"uid":"cap_dkWkBg1ZZs_7S632B1em-","slug":"code402-b2b-invoice-lookup-d353428d","name":"code402 B2B Invoice Lookup","description":"Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.","url":"https://hcrb.in/v1/tools/get-b2b-invoice/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["invoice_id"],"properties":{"invoice_id":{"type":"string","description":"Unique invoice identifier, e.g. inv_a1b2c3d4e5f6."}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["valid","invoice_id","status"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"status":{"type":"string"},"tx_hash":{"type":"string"},"merchant":{"type":"string"},"invoice_id":{"type":"string"},"settled_at":{"type":"number"},"amount_usdc":{"type":"number"},"client_name":{"type":"string"}}},"example":{"valid":true,"reason":"checksum valid"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_II3xqthYr0jNvBWmdqqqj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs offline deterministic validation of a B2B invoice record, verifying its status, settlement details, and associated merchant/client data via a pay-per-call x402 USDC micropayment.","exampleAgentPrompt":"Can you look up invoice INV-20240501-883 and tell me whether it's been settled, who the merchant is, and how much USDC was paid?","exampleUseCases":[{"title":"Verify supplier invoice before payment","prompt":"Before I pay this vendor, can you check invoice INV-2024-00192 to confirm it's valid, who issued it, and whether it's already been settled?"},{"title":"Audit settled invoices for accounting","prompt":"Pull up the details for invoice B2B-9928 — I need the settlement timestamp, the USDC amount, and the transaction hash for our accounting records."},{"title":"Client dispute resolution check","prompt":"A client is disputing invoice INV-77341 — can you verify its current status, the client name on file, and whether it shows as settled on the blockchain?"}],"resultDescription":"Returns a JSON object with a boolean 'valid' field, the invoice_id, a status string (e.g. settled/pending), merchant name, client name, settlement timestamp (Unix), amount in USDC, and the blockchain tx_hash. A 'scope' field indicates whether the check was checksum-verifiable or format-only. Signed receipts are non-custodial.","failureModes":["Invoice ID not found — returns valid:false with a descriptive reason","Malformed invoice_id format — validation error returned","Payment failure via x402 — call not executed if USDC payment is rejected","Rate limit exceeded beyond 3 free calls/day without payment — 402 response","Network or settlement delay causing stale data"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, offline lookup of a B2B invoice's validity and settlement status without relying on ML models or external scraping. Ideal for automated AP/AR workflows, audit trails requiring blockchain tx_hash receipts, or due-diligence pipelines that need cost-effective per-call pricing ($0.005 USDC). Prefer this over full ERP integrations when you only need lightweight invoice status checks with cryptographic receipt proof.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:18.112Z","isFirstParty":false,"canonicalSlug":"code402-b2b-invoice-lookup-d353428d"}