{"uid":"cap_91ffD5CnpOeTjukB4UDyi","slug":"strale-invoice-validate-08d87cd1","name":"Strale Invoice Validate","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/invoice-validate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["invoice"],"properties":{"invoice":{"type":"object","description":"Invoice JSON with vendor_vat, buyer_vat, amounts, line_items"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rE28NrcRtUFz_L-4dncdB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates invoice JSON for VAT number format, line item math, tax calculations, and EU compliance requirements, returning an auditable result with cryptographic chain hashing.","exampleAgentPrompt":"Can you validate this invoice for EU compliance — I need you to check the vendor VAT DE123456789, buyer VAT FR98765432100, the line items, and make sure all the tax calculations and totals add up correctly?","exampleUseCases":[{"title":"EU cross-border invoice compliance check","prompt":"I just received an invoice from a German supplier with VAT number DE123456789 and we're FR98765432100 — can you validate the invoice data to make sure the line items, tax calculations, and VAT numbers all check out before I approve payment?"},{"title":"Pre-payment invoice math verification","prompt":"Before we process this invoice for payment, can you run a validation on it to confirm the line item subtotals, applied tax rates, and the final total all add up correctly, and flag any discrepancies?"},{"title":"Accounts payable automation gate","prompt":"I'm building an automated accounts payable flow — can you validate each incoming invoice for correct VAT number formats, accurate line item math, and EU tax compliance so I can automatically reject non-compliant ones?"}],"resultDescription":"Returns a structured validation result indicating whether the invoice passes or fails compliance checks, with specific errors for VAT number format issues, line item math discrepancies, incorrect tax calculations, or EU compliance violations. Each call also returns a cryptographic audit record with chain hashing for traceability.","failureModes":["Malformed invoice JSON returns a parsing error","Invalid or missing required fields (vendor_vat, buyer_vat, line_items) return a field validation error","Unsupported country VAT format returns an unrecognized format error","Network timeout returns a 504 error","Insufficient USDC balance or failed x402 payment returns a 402 Payment Required error"],"whenToPreferThis":"Choose this endpoint when you need invoice validation with cryptographic audit trails and EU VAT compliance checks across multiple countries. Prefer it over generic validation libraries when you need independently tested, auditable results with tamper-evident records — especially for cross-border EU transactions where VAT number validity and tax calculation accuracy are legally significant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:00:42.939Z","isFirstParty":false}