Journals
Create a journal
Changed onCreate a journal
ℹ️ This endpoint requires the following scope: journals:all
post/api/external/v2/journals
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/journals
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: journals:all
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
{
"code": "RB",
"label": "Journal de Reprise Balance"
}Response
Returns the created journal
Changes
- info
added the new optional
headerrequest parameterX-Company-Id
- info