Exports
Create an Analytical General Ledger export
Changed onThis endpoint allows you to create an Analytical General Ledger export. The generated export file is an xlsx file, using the in-line analytical mode by default.
ℹ️ This endpoint requires the following scope: exports:agl
post/api/external/v2/exports/analytical_general_ledgers
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/exports/analytical_general_ledgers
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: exports:agl
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.
Request body
Example request
{
"period_start": "2023-08-30",
"period_end": "2023-08-30"
}Response
Returns the generated export status
Example response
{
"id": 124,
"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