Imports

Create presigned upload URLs for an assisted import package

Registers each file as a temporary import artifact and returns content-length-bound presigned PUT URLs. PUT every file, then POST /assisted-imports with the returned uploadBatchId. Accepted types are CSV for Chart of Accounts and Journal, CSV or PDF for the reports, and CSV, XLSX, or ZIP for bank/card exports.

post/assisted-imports/uploads

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/assisted-imports/uploads
  • 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

companyOrganizationIdstring uuid
importMethod'quickbooks' | 'bank_csv' | 'files' required

Response

Presigned upload URLs

Changes

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