Books
Create multiple Journal Entries
Changed onpost/books/journal-entries/{booksId}
Request
- Base URLhttps://api.mercury.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
booksIdstring uuid required
Query parameters
expand'lineEntries' | 'lineEntriesTransactions' | 'lineEntriesLedger' | 'lineEntriesOpposingLedgerIds' | 'lineEntriesPaymentApplications' | 'lineEntriesLinePaymentApplications' | 'accrualSource' | 'transfer' | 'autocatResult'
Comma-separated list of expandable paths.
modifiedBystring uuid
An optional identifier for audit logging.
Request body
Example request
[
{
"datetime": "2016-07-22T00:00:00Z",
"lineEntries": [
{
"ledgerId": "7JRNsKwy2Lw66caxVU7WGC",
"tagIds": [
"7JRNsKwy2Lw66caxVU7WGC"
]
}
]
}
]Response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking