{"uid":"cap_E4ACV3oB4HlPTZ59ZV18S","slug":"retail-invoice-total-calculator-c6567694","name":"Retail Invoice Total Calculator","description":"Retail Invoice total calculator: Calculate a line-item subtotal, user-supplied tax rate, and total. Tailored for retail workflows.","url":"https://market.datapackvibe.com/x402/invoice-total-retail?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_YXrkdhKYuiK2vvx5EUfeY","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 retail invoice subtotal from line items, applies a user-supplied tax rate, and returns the total amount due.","exampleAgentPrompt":"Can you calculate the invoice total for my retail order — 3 units at $15.99 each and 2 units at $7.50 each, with an 8.5% tax rate?","exampleUseCases":[{"title":"Point-of-sale checkout total","prompt":"I need the total for a customer checkout: they're buying 4 items at $22.00 each and 1 item at $5.50, with a 7% sales tax applied — what's the subtotal and final total?"},{"title":"Small business invoice generation","prompt":"Help me figure out the invoice total for a retail order: 10 units at $3.25 and 5 units at $12.00, with a 9.5% tax rate included."},{"title":"Quick tax-inclusive price check","prompt":"What would the total be if I ordered 2 items at $49.99 each and 3 items at $14.00 each, with 6% tax?"}],"resultDescription":"Returns a computed breakdown including the line-item subtotal (sum of quantity × unit_price across all items), the tax amount derived from applying the provided percentage rate to the subtotal, and the final total (subtotal + tax). Useful for retail checkout flows, invoice generation, and order summaries.","failureModes":["Missing or malformed items array returns a validation error","Negative quantities or unit prices may produce incorrect results","Tax rate provided as a decimal (e.g. 0.08) instead of percentage (e.g. 8) will result in wrong tax calculation","Empty items array may return zero subtotal without error","Network or payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a straightforward, retail-specific invoice computation that handles multiple line items with varying quantities and prices, plus a single configurable tax rate. Ideal for point-of-sale agents, e-commerce checkout bots, or invoice automation workflows where you need a reliable subtotal + tax + total breakdown without building the arithmetic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T07:00:20.329Z","isFirstParty":false,"canonicalSlug":"retail-invoice-total-calculator-c6567694"}