BillOS v1
Console llms.txt OpenAPI
POST/businesses/{bid}/business-documents/{id}/reread

Read the file again

POST /businesses/{bid}/business-documents/{id}/reread

Requires the businesses scope.

Back to processing; the fields you set stay yours.

Path parameters

NameTypeDescription
bidstringrequiredBusiness id, from POST /businesses.
idstringrequiredBusiness document id.

Response

200: { "ok": true, … }

FieldTypeDescription
okbooleanrequired
documentBusinessDocumentrequiredOne of the business's own certificates, licences or approvals (תעודת עוסק מורשה, אישור ניכוי מס במקור, a licence, insurance). Read on upload: status is processing until the reading lands, and a field you set is never written over by it. Not a ledger record: no report or export reads one.

Errors: 401, 403, 404, 429, 502. Every failure answers { "error", "reason", "hint", "param", "doc_url", "retryable", "request_id" }: branch on reason, and read hint for what to change (https://docs.billos.co.il/errors.md).

POST /businesses/{bid}/business-documents/{id}/reread
curl -X POST "$BASE/businesses/$BID/business-documents/$DOC_ID/reread" \
  -H "X-Api-Key: $KEY"
const res = await fetch(`${BASE}/businesses/${BID}/business-documents/${DOC_ID}/reread`, {
  method: 'POST',
  headers: {
    'X-Api-Key': KEY,
  },
})
const data = await res.json()
if (!data.ok) throw new Error(data.reason)
import requests
res = requests.post(
    f"{BASE}/businesses/{BID}/business-documents/{DOC_ID}/reread",
    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.