Books

Create multiple Journal Entries

Changed on
post/journal-entries/{booksId}

Request

  • Base URL
    https://api.mercury.com/api/v1
  • URL
    https://api.mercury.com/api/v1/journal-entries/{booksId}
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

booksIdstring uuid required

Query parameters

expand'line_entries' | 'line_entries.transaction' | 'line_entries.ledger' | 'line_entries.opposing_ledger_ids' | 'line_entries.payment_applications'

Comma-separated list of expandable paths.

modified_bystring uuid

An optional identifier for audit logging.

Request body

datetimestring yyyy-mm-ddThh:MM:ssZ required
descriptionstring required

An arbitrary string on the object, useful for displaying to the user.

Example request

[
  {
    "datetime": "2016-07-22T00:00:00Z",
    "line_entries": [
      {
        "ledger_id": "7JRNsKwy2Lw66caxVU7WGC",
        "tag_ids": [
          "7JRNsKwy2Lw66caxVU7WGC"
        ]
      }
    ]
  }
]

Changes