Skip to content
HALOWERK

Trade Operations

invoice discount cash limit

Discount cash limit finds the largest gross invoice payable from an exact cash balance after the specified discount. Use it when an agent needs help checking a fixed payment budget.

POST https://handel.halowerk.com/v1/invoice-discount-cash-limit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
cashintegerYes
basis_pointsintegerYes
invoice_capintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "cash": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    },
    "basis_points": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9999
    },
    "invoice_cap": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000000
    }
  },
  "required": [
    "cash",
    "basis_points",
    "invoice_cap"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "cash": 148000,
  "basis_points": 200,
  "invoice_cap": 150000
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’