Retrieve a transaction

Returns a single transaction of a source account (a bank account, credit card, or other feed) by its transaction ID, with the same fields as an item of GET /books/transactions (getBooksTransactions): its amount, datetime, description, reviewStatus, postedStatus, and categorizationMethod, and once posted its journalEntryId, its own lineEntryId on the source account's ledgerId, and categorizationLines, the other lines of its journal entry with their lineEntryId, ledgerId, ledgerName, amount, and debitCredit. Use it to read a transaction's current categorization and its journalEntryId before recategorizing it with POST /books/transactions/categorize (categorizeBooksTransactions). sourceAccountId is required and must be the transaction's own source account (its sourceAccountId). Pass enrich=true to add Mercury banking details where available. To find transactions, use GET /books/transactions (getBooksTransactions).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

unique id for a transaction

Query Params
string
required

The source account the transaction belongs to: the transaction's sourceAccountId. It must belong to the Books instance.

uuid

The Books instance to act on. Must be the token organization's own instance, which it defaults to.

boolean

Whether to add Mercury banking details, such as the note, counterparty, and attachments, to the transaction. Defaults to false.

Responses

400

Invalid enrich or booksId or sourceAccountId

404

transactionId not found

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json