▲HIGHLAND DOCS

Invoice number API

Formats PREFIX-YYYYMM-NNNNN-C with a Luhn check digit, or validates one. This is one of 71 pay-per-call tools in the Highland Intel API, also available as an MCP tool named invoice-number.

Price

1¢ per successful call (USD). 1 credit = 1 US cent. After the daily free allowance, pay with credits or per call with x402 (USDC on Base). Category: Business.

Try it

POST https://api.highlnd-intel.group/v1/api/invoice-number with a Bearer key and a JSON body.

curl · API key
curl -s https://api.highlnd-intel.group/v1/api/invoice-number \
  -H "authorization: Bearer $HIGHLAND_KEY" \
  -H "content-type: application/json" \
  -d '{"prefix":"HIC","sequence":42,"yyyymm":"202610"}'
request body
{
  "prefix": "HIC",
  "sequence": 42,
  "yyyymm": "202610"
}

Request body

FieldTypeRequiredDescription
validatestringNoAn invoice number to check instead of formatting one; when given, the other fields are ignored. (max 40 chars)
prefixstringNoTwo to six upper-case letters. (default "HIC")
sequenceintegerNoInvoice sequence number. Required unless validate is given. (min 0; max 99999)
yyyymmstringNoYear and month as YYYYMM; defaults to the current UTC month.

What it returns

{ invoice } when formatting, or { valid } when validating. A successful response wraps that payload in the usual Highland envelope: api, priceCents, payment (for example free_tier or credits), balanceCents, freeUsedToday, freeLimit, freeRemaining, and result.

Get a free API key

No email, no card. The key is shown once.

bash
curl -s -X POST https://api.highlnd-intel.group/v1/keys
export HIGHLAND_KEY="hk_live_paste_yours_here"

Full walkthrough: Quickstart. Key management: API keys. Buy more credits: api.highlnd-intel.group/buy.

MCP and x402

The same tool is available over MCP (Streamable HTTP) at https://api.highlnd-intel.group/mcp as invoice-number. Connect it in Claude, ChatGPT, Grok, or Cursor and other editors.

OpenAPI: /openapi.json. Catalog: /v1/catalog. This tool in the API reference.

  • Nova Scotia HST calculator API — Adds 14% NS HST to a subtotal, or splits a tax-included total. Confirm the rate with CRA (1¢)
  • Quote builder API — Totals line items, applies a discount and HST, and computes a deposit. No customer details taken (5¢)
  • Uptime check API — One HTTPS probe of a public domain: status, latency and whether it looks up (2¢)
  • DNS records API — A, AAAA, MX, NS and TXT records for a domain over DNS-over-HTTPS (2¢)
  • Email authentication check API — SPF and DMARC presence and policy strength for a domain (3¢)

See every tool on the tool pages index or the API reference.