Exports
Retrieve a General Ledger export
Changed onThe endpoint returns a specific General Ledger export. The export file is an xlsx file.
ℹ️ This endpoint requires the following scope: exports:gl
get/api/external/v2/exports/general_ledgers/{id}
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/exports/general_ledgers/{id}
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: exports:gl
Path parameters
idinteger required
Example:1
Existing export identifier (id)
Headers
X-Company-Idstring
Example:12345
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
Returns the export
Example response
{
"id": 124,
"file_url": "https://app.pennylane.com/my_export.xlsx",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}Changes
- info
added the new optional
headerrequest parameterX-Company-Id
- info