{"uid":"cap_-C6nDI6ra8QKS2TY3DCLv","slug":"days-payables-outstanding-two-input-scenario-grid-85635cde","name":"Days Payables Outstanding – Two-Input Scenario Grid","description":"Days payables outstanding - Two-input scenario grid: Calculate up to 100 combinations of two distinct supplied input fields, with invalid combinations reported. Metric: Days payables outstanding. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded two-input scenario grid report.","url":"https://market.datapackvibe.com/x402/assistant-finance-payable-days-stress-grid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"field_x":{"enum":["average_payables","credit_purchases","period_days"],"type":"string","default":"average_payables"},"field_y":{"enum":["average_payables","credit_purchases","period_days"],"type":"string","default":"credit_purchases"},"baseline":{"type":"object","default":{"period_days":365,"average_payables":4000,"credit_purchases":25000},"required":["average_payables","credit_purchases","period_days"],"properties":{"period_days":{"type":"integer","default":365,"maximum":3660,"minimum":1},"average_payables":{"type":"number","default":4000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"},"credit_purchases":{"type":"number","default":25000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0}},"additionalProperties":false},"values_x":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[4000,4400],"maxItems":10,"minItems":1},"values_y":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[25000,27500.000000000004],"maxItems":10,"minItems":1}}},"responseSchema":null,"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_9lP4tY-cPI-mXaX2Bhwo-","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":"Calculates up to 100 combinations of two DPO input variables (average payables, credit purchases, period days) and returns a scenario grid with formula, units, and limitation notes.","exampleAgentPrompt":"Run a two-input DPO scenario grid with average_payables on the X axis ranging from [3000, 3500, 4000, 4500, 5000] and credit_purchases on the Y axis ranging from [20000, 22500, 25000, 27500, 30000], using a baseline of 365 period days, $4000 average payables, and $25000 credit purchases.","exampleUseCases":[{"title":"Quarterly payables stress test","prompt":"I need a DPO scenario grid where I vary average_payables from 3000 to 6000 in five steps and credit_purchases from 20000 to 35000 in five steps — baseline is 365 days, $4000 average payables, $25000 credit purchases. Show me all the combinations and flag any invalid ones."},{"title":"Period length sensitivity analysis","prompt":"Can you model days payable outstanding varying period_days across [30, 60, 90, 180, 365] on one axis and average_payables across [1000, 2000, 3000, 4000, 5000] on the other? Baseline: 365 days, $4000 average payables, $25000 credit purchases."},{"title":"Supplier negotiation scenario planning","prompt":"We're renegotiating payment terms and want to see how DPO changes if credit_purchases range from 15000 to 40000 and average_payables range from 2000 to 8000 — give me a full grid using a 90-day period as the baseline, with $5000 average payables and $20000 credit purchases as the baseline values."}],"resultDescription":"A JSON object containing a grid of up to 100 DPO values across all combinations of the two chosen input axes, the DPO formula used, units, flagged invalid combinations (e.g. zero credit purchases), and stated limitations of the calculation.","failureModes":["field_x and field_y set to the same variable — invalid distinct-field requirement","credit_purchases baseline or Y-axis values set to 0 or negative (exclusive minimum) — reported as invalid combinations","values_x or values_y arrays exceed 10 items — rejected","period_days exceeds 3660 or below 1 — rejected","missing required baseline fields — validation error","payment of 0.01 USDC not completed — request not processed"],"whenToPreferThis":"Choose this endpoint when you need to evaluate Days Payables Outstanding across a matrix of two varying inputs simultaneously (up to 10×10 = 100 combinations) rather than a single-point calculation. It is purpose-built for DPO scenario analysis with explicit formula and unit metadata returned, making it ideal for financial reporting, working capital modeling, and sensitivity analysis pipelines that require structured JSON output with invalid-combination handling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:48:37.513Z","isFirstParty":false,"canonicalSlug":"days-payables-outstanding-two-input-scenario-grid-85635cde"}