---
title: "Import journal entries from rows"
method: POST
path: "/bulk/entries/import"
tags: ["Imports"]
---

# Import journal entries from rows

`POST /bulk/entries/import`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/bulk/entries/import`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Row-based journal import (entries land as drafts). Each row needs date, description, lineAccountCode, and debit/credit; rows sharing an entryNumber are grouped into one balanced entry. debit/credit are decimal dollar amounts by default; set amounts to 'cents' when sending integer cents so values are not scaled by 100.

## Request body

- object
  - `fileName` string, required
  - `source` string
  - `amounts` 'dollars' | 'cents': 'dollars': debit/credit are decimal dollars ('3000.00'). 'cents': debit/credit are integer cents (300000), used as-is.
  - `rows` object[], required

## Response `200`

Import result

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
