BillOS v1
Console llms.txt OpenAPI
GET/businesses/{bid}/reports/continuity

Numbering-continuity report

GET /businesses/{bid}/reports/continuity

Requires the export scope.

Gap check per document type: the evidence that numbering is unbroken.

Path parameters

NameTypeDescription
bidstringrequiredBusiness id, from POST /businesses.

Query parameters

NameTypeDescription
docTypeintegerCheck one type. Omit for all. One of: 305, 320, 330, 400.

Response

200: { "ok": true, … }

FieldTypeDescription
okbooleanrequired
reportobjectrequired

Errors: 400, 401, 403, 404, 429. Every failure answers { "error": …, "reason": … }. Branch on reason.

GET /businesses/{bid}/reports/continuity
curl -X GET "$BASE/businesses/$BID/reports/continuity?docType=" \
  -H "X-Api-Key: $KEY"
const res = await fetch(`${BASE}/businesses/${BID}/reports/continuity`, {
  method: 'GET',
  headers: {
    'X-Api-Key': KEY,
  },
})
const data = await res.json()
if (!data.ok) throw new Error(data.reason)
import requests
res = requests.get(
    f"{BASE}/businesses/{BID}/reports/continuity",
    headers={"X-Api-Key": KEY},
)
data = res.json()
Set BASE to https://api.billos.co.il/v1 and KEY to your bk_live_… key, or a bk_test_… key to run it against the sandbox.
Manage your businesses, keys and webhooks in the BillOS Console.