{"uid":"cap_bURnWyzfesxcDOl0UXT8m","slug":"subscription-business-invoice-total-calculator-264f1909","name":"Subscription Business Invoice Total Calculator","description":"Subscription business Invoice total calculator: Calculate a line-item subtotal, user-supplied tax rate, and total. Tailored for subscription business workflows.","url":"https://market.datapackvibe.com/x402/invoice-total-subscription-business?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"},"default":[{"quantity":2,"unit_price":12.5},{"quantity":1,"unit_price":8}]},"tax_rate_percent":{"type":"number","default":0}}},"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_huTtAxFSiXZcQd5ZQE8OS","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 a line-item subtotal, applies a user-supplied tax rate, and returns the invoice total for subscription business workflows.","exampleAgentPrompt":"Calculate the invoice total for my subscription business: I have 2 units at $12.50 each and 1 unit at $8.00, with a tax rate of 8.5%.","exampleUseCases":[{"title":"Monthly SaaS subscription billing summary","prompt":"I need to total up a SaaS invoice with 3 seats at $29 each and 1 add-on at $15, applying a 7% tax rate — what's the final amount due?"},{"title":"Freelance retainer invoice with tax","prompt":"Can you calculate the invoice total for my subscription retainer? I have 5 hours at $75 each and 2 add-ons at $20 each, with a 10% tax rate."},{"title":"E-commerce subscription box checkout total","prompt":"Work out the invoice total for a subscription order: 4 boxes at $18.99 each and 1 shipping add-on at $5.00, with a 6.25% tax rate applied."}],"resultDescription":"Returns a computed breakdown including the line-item subtotal (sum of quantity × unit_price for each item), the calculated tax amount based on the supplied tax_rate_percent, and the final invoice total (subtotal + tax).","failureModes":["Missing or malformed items array — endpoint may return an error or zero subtotal","Negative quantity or unit price values may produce unexpected results","Tax rate provided as a decimal instead of a percentage (e.g. 0.08 instead of 8) will under-apply tax","Empty items array may return a zero total without an explicit error","Non-numeric values in quantity or unit_price fields will cause a validation error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, fast computation of invoice totals for subscription-style billing scenarios — particularly when you have a list of line items with quantities and unit prices plus a known tax rate. Prefer this over building your own arithmetic when automating invoicing workflows, generating billing summaries in agents, or when you need a consistent, auditable calculation micro-service without standing up custom code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:48:17.064Z","isFirstParty":false,"canonicalSlug":"subscription-business-invoice-total-calculator-264f1909"}