Skip to main content

Get Journal Detail (V2)

GET 

/api/xero/v2/journals/:id

Detail view of a single Xero general-ledger journal, grouped by journal_number.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Returns the journal header (number, Xero journal_id, date, source type/id, integration instance), every flattened GL line of that journal (including account_local_id for deep-linking each line's account), and computed totals (line_count, total_debit, total_credit, net, tax, gross, is_balanced).

Path param: journalNumber (integer) — the Xero journal number.

Query param: integration_instance_id (integer, optional) — scope to a single connection. journal_number is only unique per connection, so pass this when more than one Xero connection exists.

Authentication: Requires Bearer token.

net_amount is signed: positive = debit, negative = credit. total_debit / total_credit are the absolute sums of the positive / negative net_amounts; is_balanced is true when they're equal.

404 'Journal not found.' when no lines match the journal number (and instance, if supplied).

Request

Responses

OK

Response Headers
    Content-Type