AI agent? Read this page as Markdown at /accounting/journal/Retrieve_a_journal.md — append .md to any docs URL, or start from /llms.txt.

Retrieve a journal

GET/accounting/{connection_id}/journal/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Journal

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
referencestring
tax_amountnumber
currencystring
lineitems array
new field name
taxrate_idstring
descriptionstring
posted_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
sourcestring
organization_idstring
category_idsstring array
(reference to AccountingCategory)
project_idstring
(reference to TaskProject)
attachments array
total_amountnumber
Total of the debit lines; equals the total of the credit lines
exchange_ratenumber
Exchange rate to the base/home currency at the posting date
status enum
Valid values:
"DRAFT"
"POSTED"
"VOID"
"OTHER"
Posting state of the journal entry
is_inclusive_of_taxboolean
True when the line amounts already include tax
const options = {
  method: 'GET',
  url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/journal/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?