# Agency Invoice Total Calculator

> Agency 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 line-item subtotals, applies a user-supplied tax rate, and returns the total for agency billing workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/invoice-total-agency?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/agency-invoice-total-calculator-c30915aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nJDIbfYMiUFwKbX7m0TTc

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 agency-invoice-total-calculator-c30915aa -d '<json body>'
```

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

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## 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/agency-invoice-total-calculator-c30915aa/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)
