v1

latestOpenAPI 3.0.12026-07-141671231.8 MB
Exports

Retrieve an Analytical General Ledger export

The endpoint returns a specific Analytical General Ledger export. The export file is an xlsx file, using the in-line analytical mode.

ℹ️ This endpoint requires the following scope: exports:agl

get/api/external/v2/exports/analytical_general_ledgers/{id}

Path parameters

idinteger required
Example:1

Existing export identifier (id)

Response

Returns the export

idinteger required

ID of the export

file_urlstring nullable required

URL to download the export file. The URL will expire after 30 minutes.

status'pending' | 'ready' | 'error' required

The state of the export

created_atstring date-time required
updated_atstring date-time required

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"
}