ToolAssay

Calculate subtotal, per-line tax, discount and deposit from supplied invoice lin

Calculate subtotal, per-line tax, discount and deposit from supplied invoice line items. Per-line tax percent (not a single flat rate), discount applied to the pre-tax subtotal, deposit as a percent-of-total or fixed amount clamped to the total. Pure arithmetic; does not create, store or send an invoice.

Not tested: has real-world effectsour last check, 2026-09-26
0 of 0checks answered this week
n/amedian answer time
$0.01listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/invoice_totals_calculate/execute

CategoryCode and developer
Provider hostwww.tradepilotusa.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "deposit_enabled": true,
    "deposit_type": "percent",
    "deposit_value": 25,
    "discount_percent": 10,
    "line_items": [
      {
        "quantity": 2,
        "rate": 150,
        "tax_percent": 8.25
      },
      {
        "quantity": 1,
        "rate": 75,
        "tax_percent": 0
      }
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "deposit_enabled": {
              "type": "boolean"
            },
            "deposit_type": {
              "enum": [
                "percent",
                "fixed"
              ]
            },
            "deposit_value": {
              "minimum": 0,
              "type": "number"
            },
            "discount_percent": {
              "maximum": 100,
              "minimum": 0,
              "type": "number"
            },
            "line_items": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "quantity": {
                    "minimum": 0,
                    "type": "number"
                  },
                  "rate": {
                    "minimum": 0,
                    "type": "number"
                  },
                  "tax_percent": {
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "quantity",
                  "rate"
                ],
                "type": "object"
              },
              "maxItems": 200,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "line_items"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON