Returns the accounting book with the given identifier.
GET /accounting/books/{id}
Group: Accounting › Books · Operation ID: getBook
Open in the interactive reference
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Api-Version |
header | "v1" |
yes | The API version this request targets, named by its public identifier. Required on every request; omitting it, or naming a version this company does not have, is answered with 400. This document describes version v1. |
id |
path | string | yes | The unique identifier for the accounting book to return. |
Response
200 Success
Under data (getBookOutput):
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The unique identifier for the accounting book. |
name |
string | yes | The display name of the accounting book. |
type |
string | yes | The kind of accounting book. Possible values: 'full', 'adjustment'. An adjustment book adjusts the full book named in baseBookId. |
accountingStandard |
string | no | The accounting standard the book follows, for example 'IFRS' or 'US GAAP'. Absent when none is set. |
consolidation |
boolean | yes | Whether the book consolidates other books or entities. |
description |
string | no | A free-form description of the accounting book. Absent when none is set. |
baseBookId |
string | no | The full book this adjustment book adjusts. Absent for a full book. See id on GET accounting/books/:id. |
lastModifiedDate |
string (date-time) | yes | The date and time the accounting book record last changed, in UTC. Format YYYY-MM-DDTHH:mm:ss.sssZ. |
Errors
| Code | Status |
|---|---|
NOT_FOUND |
400 |
Statuses
400— Invalid request or business failure. Codes: NOT_FOUND401— Missing or invalid access token403— Not authorized404— Not found429— Too many requests500— Internal server error