{"uid":"cap_nJDIbfYMiUFwKbX7m0TTc","slug":"agency-invoice-total-calculator-c30915aa","name":"Agency Invoice Total Calculator","description":"Agency Invoice total calculator: Calculate a line-item subtotal, user-supplied tax rate, and total. Tailored for agency workflows.","url":"https://market.datapackvibe.com/x402/invoice-total-agency?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_OHravSVMhPdDI5v_ZOVCf","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 line-item subtotals, applies a user-supplied tax rate, and returns the total for agency billing workflows.","exampleAgentPrompt":"Can you calculate my agency invoice total? I have two items: 2 units at $12.50 each and 1 unit at $8.00, and I need to apply an 8.5% tax rate.","exampleUseCases":[{"title":"Client billing for design project","prompt":"I need to bill a client for a design project — I have 3 items: 5 hours of design at $150 each, 2 rounds of revisions at $75 each, and 1 final delivery package at $200. Can you calculate the subtotal and total with 10% tax?"},{"title":"Freelance agency proposal estimate","prompt":"I'm putting together a proposal for a new client. Can you add up these line items — 1 strategy session at $500, 4 content pieces at $80 each, and 3 social media posts at $40 each — and apply a 7% tax so I know the total to quote them?"},{"title":"Monthly retainer invoice check","prompt":"I need to verify my monthly retainer invoice. Items are: 1 retainer block at $2000, 2 add-on hours at $125 each, and 1 rush fee at $300. Apply a 6% tax rate and give me the full total."}],"resultDescription":"Returns a computed subtotal (sum of all line item quantities times unit prices), the tax amount based on the provided rate, and the final invoice total. All values are numeric and ready to use in billing documents.","failureModes":["Missing or malformed items array returns a validation error","Non-numeric unit_price or quantity causes computation failure","Negative quantities or prices may produce unexpected results","Tax rate supplied as a decimal instead of percentage may yield incorrect tax amounts","Empty items array may return a zero subtotal with no error"],"whenToPreferThis":"Choose this endpoint when you need a quick, reliable arithmetic computation of invoice line items with a custom tax rate, especially in agency or freelance billing contexts. It is ideal when you already have structured item data (quantities and unit prices) and need a consistent total without building the math into your own workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:48:22.539Z","isFirstParty":false,"canonicalSlug":"agency-invoice-total-calculator-c30915aa"}