Import/Export

Preview or resume an authorized freestyle bookkeeping import

Normalizes unfamiliar source files through agent computation, then validates and imports a workspace JSON package. Preview returns a content digest. Import saves every journal entry in one call with source-row idempotency; an unchanged retry replays saved entries. Customer and opening-invoice details use existing services. No ledger replacement.

post/imports/freestyle

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/imports/freestyle
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

action'preview' | 'import' required
digeststring

Required for import: exact SHA-256 returned by preview

Response

Validation or saved progress and verified completion receipt

Changes

No recorded changes to this operation across all 5 revisions of this API.