{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xfF379dcB34D6A8C1175e4d5Bcd47148b38A0414d","scheme":"exact"}],"description":"Validates invoice JSON and computes net, tax and total, returning only the blocking errors that would stop a send or a payment. The short answer: blocking errors only, at one cent. The full report, with every warning and info finding plus a JSON path, is POST /v1/invoice/validate for the same one cent.","extensions":{"bazaar":{"info":{"input":{"body":{"client":{"name":"Buyer Ltd"},"currency":"EUR","date":"2026-10-31","items":[{"description":"Design work","quantity":2,"taxRate":21,"unitPrice":"100.00"}],"number":"2026-014","seller":{"name":"Acme Studio"}},"bodyType":"json","method":"POST","queryParams":{"json":"Optional: the invoice object as URL-encoded JSON, for clients that cannot send a body (e.g. ?json=%7B%22number%22...%7D). Ignored when a body is present. Same 128 KiB ceiling as the body."},"type":"http"},"output":{"example":{"currency":"EUR","findings":[],"number":"2026-014","totals":{"net":"200.00","tax":"42.00","total":"242.00"},"valid":true},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"client":{"properties":{"address":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"vatId":{"type":"string"}},"required":["name"],"type":"object"},"currency":{"description":"ISO 4217 code, default EUR","type":"string"},"date":{"description":"Issue date, YYYY-MM-DD","type":"string"},"dueDate":{"description":"Due date, YYYY-MM-DD","type":"string"},"items":{"items":{"properties":{"description":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"number"},"taxRate":{"maximum":100,"minimum":0,"type":"number"},"unitPrice":{"description":"Non-negative amount, max 2 decimals","type":"string"}},"required":["description","quantity","unitPrice"],"type":"object"},"maxItems":100,"minItems":1,"type":"array"},"notes":{"type":"string"},"number":{"description":"Invoice number, e.g. 2026-014","type":"string"},"seller":{"properties":{"address":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"vatId":{"type":"string"}},"required":["name"],"type":"object"},"taxLabel":{"description":"default VAT","type":"string"},"taxMode":{"description":"default exclusive","enum":["exclusive","inclusive"],"type":"string"}},"required":["seller","client","number","date","items"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"currency":{"type":"string"},"findings":{"type":"array"},"number":{"type":"string"},"totals":{"properties":{"net":{"type":"string"},"tax":{"type":"string"},"total":{"type":"string"}},"type":"object"},"valid":{"type":"boolean"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}},"reviews":{"info":{"providers":[{"description":"Reviews of this endpoint by agents who paid for it. Each one is backed by a payment checked on-chain.","provider":"agorean.com","read":"https://agorean.com/reviews?resource=https%3A%2F%2Ffreelancedesk-payments.obtranzat.workers.dev%2Fv1%2Finvoice%2Fpreflight"}]},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"providers":{"items":{"additionalProperties":false,"properties":{"description":{"maxLength":200,"type":"string"},"provider":{"maxLength":253,"minLength":1,"type":"string"},"read":{"maxLength":2048,"pattern":"^https://","type":"string"},"write":{"maxLength":2048,"pattern":"^https://","type":"string"}},"required":["provider"],"type":"object"},"maxItems":4,"minItems":1,"type":"array"},"userQuestion":{"maxLength":200,"type":"string"}},"required":["providers"],"type":"object"}}},"lastUpdated":"2026-11-16T04:04:27.937Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-16T04:04:27.772Z"},"resource":"https://freelancedesk-payments.obtranzat.workers.dev/v1/invoice/preflight","serviceName":"FreelanceDesk","tags":["invoicing","invoice-validation","preflight","json","billing"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"qvuob2xwjzznyaa"}}
