{"uid":"cap_T5MZPYukJoS7WIEXrhNfH","slug":"code402-b2b-invoice-creator-da475ed5","name":"code402 B2B Invoice Creator","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/create-b2b-invoice/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["amount_usdc","merchant"],"properties":{"memo":{"type":"string","description":"Engagement scope / milestone description (optional)."},"merchant":{"type":"string","description":"Beneficiary contractor Base EVM wallet address (0x...)."},"referrer":{"type":"string","description":"Optional attribution reference. Referral payouts and protocol fees are not active."},"amount_usdc":{"type":"number","description":"Invoice total in USDC (e.g. 50000)."},"client_name":{"type":"string","description":"Client enterprise organization name (optional)."}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["valid","invoice_id","invoice_url","pay_url"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"status":{"type":"string"},"pay_url":{"type":"string"},"merchant":{"type":"string"},"cart_hash":{"type":"string"},"invoice_id":{"type":"string"},"amount_usdc":{"type":"number"},"invoice_url":{"type":"string"},"protocol_fee_usdc":{"type":"number"}}},"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_zhN7JQBsf3FTE2JoE8M8S","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":"Creates a verifiable B2B invoice with a payment URL for a business transaction, returning invoice ID, invoice URL, and pay URL via x402 micropayment protocol","exampleAgentPrompt":"Create a B2B invoice for my merchant account for $250 USDC — I need an invoice URL and a payment link I can send to my client right away.","exampleUseCases":[{"title":"Freelancer sending crypto invoice","prompt":"I just finished a web design project and my client wants to pay in USDC — can you create a B2B invoice for $500 and give me a payment link I can send them?"},{"title":"SaaS platform billing a business client","prompt":"Generate a B2B invoice for our enterprise customer TechCorp for $1,200 USDC for their monthly subscription, and give me the invoice URL and pay link."},{"title":"Marketplace settling a vendor payment","prompt":"I need to issue an invoice to pay out one of our vendors — create a B2B invoice for $750 USDC for merchant ID 'vendor-88' and return the invoice and payment URL."}],"resultDescription":"Returns a JSON object with: a boolean validity flag, unique invoice_id, a shareable invoice_url, a pay_url the payer can use to complete payment, amount_usdc, protocol_fee_usdc, cart_hash for integrity verification, merchant name, tool name, scope, and status string.","failureModes":["Missing required fields (merchant, amount) returns a 400 error with validation details","Payment not settled results in invoice remaining in unpaid state","Invalid cart_hash causes invoice creation to fail","x402 payment gateway unavailable causes a 402 or 503 response","Exceeding free-tier (3 calls/day) without payment causes rejection until USDC micropayment is made"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate a B2B invoice with an attached crypto payment URL (USDC on Base) in a non-custodial, receipt-signed manner. Prefer this over traditional invoicing APIs when the payer is expected to settle in USDC via x402, or when you need a gasless EIP-3009 payment flow. Not suitable for fiat invoicing or when the counterparty cannot pay in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:32:19.029Z","isFirstParty":false,"canonicalSlug":"code402-b2b-invoice-creator-da475ed5"}