# Subscription Business Invoice Total Calculator

> Subscription Business Invoice Total Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Calculates a line-item subtotal, applies a user-supplied tax rate, and returns the invoice total for subscription business workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/invoice-total-subscription-business?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/subscription-business-invoice-total-calculator-264f1909
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bURnWyzfesxcDOl0UXT8m

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability subscription-business-invoice-total-calculator-264f1909 -d '<json body>'
```

Example prompt: 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%.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Subscription business Invoice total calculator: Calculate a line-item subtotal, user-supplied tax rate, and total. Tailored for subscription business workflows.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/subscription-business-invoice-total-calculator-264f1909/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
