{"uid":"cap_QxGQOS1GHY9Kq7oFlq5dr","slug":"ar-analyzer-days-sales-outstanding-f407c869","name":"AR Analyzer – Days Sales Outstanding","description":"Deterministic accounts-receivable analysis for AI agents running back-offices: aging buckets (0-30/31-60/61-90/90+), seriously-overdue totals under the strictly-greater-than-60-days rule, Days Sales Outstanding with benchmark bands and trend, and collections triage with a ranked call list and an explicit recovery-decay curve. Exact arithmetic, every rule stated in the response, nothing stochastic.","url":"https://ar-analyzer.rileycraig14.workers.dev/ar/dso","method":"POST","headers":{},"bodySchema":{"type":"object","required":["credit_sales","receivables_balance"],"properties":{"monthly":{"type":"array"},"period_days":{"type":"integer"},"credit_sales":{"type":"number"},"receivables_balance":{"type":"number"}}},"responseSchema":{"dso":36,"read":"Collection is inside the 30-45 day band most B2B terms imply.","benchmark":"typical","period_days":90},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3UpWW1lfGQBKYZzbVwFuy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Days Sales Outstanding (DSO) with benchmark bands, aging bucket breakdowns, overdue totals, and a ranked collections call list from accounts-receivable data","exampleAgentPrompt":"Calculate my DSO and AR aging buckets — I have $480,000 in credit sales and a $192,000 receivables balance over a 90-day period, and I need to know how I benchmark plus which accounts to prioritize for collections.","exampleUseCases":[{"title":"Monthly AR health check for CFO","prompt":"Run an AR analysis for last month: we had $1,200,000 in credit sales, $320,000 in receivables balance, and the period was 30 days — give me DSO, how it benchmarks, and flag anything seriously overdue."},{"title":"Collections triage before quarter close","prompt":"I need to know which accounts to call first for collections — plug in $750,000 credit sales, $280,000 AR balance over 90 days and give me the ranked call list and recovery-decay curve."},{"title":"AR aging breakdown for investor report","prompt":"Generate a full AR aging breakdown with 0-30, 31-60, 61-90, and 90-plus day buckets — credit sales are $2,000,000, receivables are $600,000, period is 90 days."}],"resultDescription":"Returns a DSO figure in days, a plain-English benchmark read (e.g. 'inside the 30–45 day band'), the benchmark band label (typical/fast/slow), aging bucket totals, seriously-overdue amounts using the strictly-greater-than-60-days rule, a ranked collections call list, and a recovery-decay curve — all computed with exact arithmetic and every rule stated explicitly in the response.","failureModes":["Missing required fields (credit_sales or receivables_balance) returns a validation error","Zero or negative credit_sales causes a division error or invalid DSO","Malformed monthly array entries may be ignored or cause a parsing error","Period_days defaulting to an unexpected value if omitted may skew DSO calculation","Network or worker timeout if the Cloudflare Worker is unavailable"],"whenToPreferThis":"Choose this endpoint when you need deterministic, rule-explicit AR analysis — especially DSO benchmarking, aging bucket breakdowns, and prioritized collections triage — without any stochastic or AI-generated guesswork. Ideal for back-office AI agents that must show auditable arithmetic and comply with strict greater-than-60-days overdue definitions. Prefer over general-purpose finance LLMs when reproducibility and exact rule citation in the response are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:19.181Z","isFirstParty":false}