POST
/businesses/{bid}/exports/openfrmtGenerate 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
| Name | Type | Description | |
|---|---|---|---|
bid | string | required | Business id, from POST /businesses. |
Body
| Field | Type | Description | |
|---|---|---|---|
from | string | required | |
to | string | required |
Response
201: { "ok": true, … }
| Field | Type | Description | |
|---|---|---|---|
ok | boolean | required | |
exportRun | ExportRun | required | One OPENFRMT (מבנה אחיד) generation, with its verification summary. |
file | FileMeta |
Errors: 400, 401, 403, 404, 429. Every failure answers { "error": …, "reason": … }. Branch on reason.