{"uid":"cap_WH51IOrYPCCMw93fkDqFC","slug":"subscription-billing-credits-adjacent-row-changes-4d5ffbc7","name":"Subscription Billing Credits – Adjacent Row Changes","description":"Subscription billing credits - Adjacent row changes: Adjacent row changes for Subscription billing credits. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded adjacent row changes report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-billing-credits-period-change?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","provider","date","invoiced_amount","credited_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"provider":{"type":"string","default":"","maxLength":80},"credited_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"invoiced_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","provider":"group-a","credited_amount":1,"invoiced_amount":10},{"date":"2026-10-02","row_id":"row-2","provider":"group-b","credited_amount":2,"invoiced_amount":20},{"date":"2026-10-03","row_id":"row-3","provider":"group-a","credited_amount":3,"invoiced_amount":15},{"date":"2026-10-04","row_id":"row-4","provider":"group-b","credited_amount":4,"invoiced_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["invoiced_amount","credited_amount"],"type":"string","default":"invoiced_amount"}}},"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_GC9AR7bqeeCY5BazCXtxp","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 adjacent row-to-row changes in invoiced or credited amounts across up to 200 subscription billing credit records.","exampleAgentPrompt":"Can you analyze how my subscription billing credits changed between consecutive rows? I have records for providers group-a and group-b from October 1–4, 2026 with invoiced and credited amounts — run the adjacent row changes report on the credited_amount field.","exampleUseCases":[{"title":"SaaS billing credit trend review","prompt":"I have 30 days of subscription billing records for our providers, with invoiced and credited amounts per day. Can you compute the adjacent row changes on invoiced_amount so I can see how billing shifted from one record to the next?"},{"title":"Credit anomaly detection across providers","prompt":"Here are our billing credit records for the past month across multiple providers. Run the row-by-row change analysis on the credited_amount field — I want to spot any sudden jumps or drops between consecutive entries."},{"title":"Finance team period-change reconciliation","prompt":"Our finance team needs a descriptive report showing how subscription invoiced amounts changed between each consecutive billing record for Q4. Can you run the adjacent row changes analysis on these 150 rows grouped by provider?"}],"resultDescription":"Returns a bounded descriptive analytics report showing the adjacent (row-to-row) differences in the selected field (invoiced_amount or credited_amount) across the submitted billing credit records, including per-row deltas grouped by provider and date sequence.","failureModes":["Empty or missing rows array returns validation error","More than 200 rows submitted exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) causes schema rejection","Missing required fields (row_id, provider, date, invoiced_amount, credited_amount) causes record rejection","Amounts outside ±1,000,000,000,000 range rejected","Invalid field enum value (not invoiced_amount or credited_amount) causes error","Insufficient USDC balance results in payment failure"],"whenToPreferThis":"Choose this endpoint when you have a flat list of subscription billing credit records and need to compute sequential, row-to-row changes (deltas) in either invoiced or credited amounts for local descriptive analytics — with no need for forecasting, enrichment, or external data. Best suited for up to 200 records per call at minimal cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:43:25.539Z","isFirstParty":false,"canonicalSlug":"subscription-billing-credits-adjacent-row-changes-4d5ffbc7"}