BillOS v1
Console llms.txt OpenAPI
POST/businesses/{bid}/exports/openfrmt

Generate a מבנה אחיד export

POST /businesses/{bid}/exports/openfrmt

Requires the export scope.

The regulatory filing artifact (OPENFRMT v1.31): one zip holding INI.TXT and BKMVDATA.TXT under the exact directory tree the spec mandates. This is what an accountant or an auditor asks for. Download the zip through GET /files/{id}.

Path parameters

NameTypeDescription
bidstringrequiredBusiness id, from POST /businesses.

Body

FieldTypeDescription
fromstringrequired
tostringrequired

Response

201: { "ok": true, … }

FieldTypeDescription
okbooleanrequired
exportRunExportRunrequiredOne OPENFRMT (מבנה אחיד) generation, with its verification summary.
fileFileMeta

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

POST /businesses/{bid}/exports/openfrmt
curl -X POST "$BASE/businesses/$BID/exports/openfrmt" \
  -H "X-Api-Key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "2026-07-01",
    "to": "2026-07-31"
  }'
const res = await fetch(`${BASE}/businesses/${BID}/exports/openfrmt`, {
  method: 'POST',
  headers: {
    'X-Api-Key': KEY,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "from": "2026-07-01",
    "to": "2026-07-31"
  }),
})
const data = await res.json()
if (!data.ok) throw new Error(data.reason)
import requests
res = requests.post(
    f"{BASE}/businesses/{BID}/exports/openfrmt",
    headers={"X-Api-Key": KEY},
    json={
      "from": "2026-07-01",
      "to": "2026-07-31"
    },
)
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.