Journals

Create a journal

Changed on

Create a journal

ℹ️ This endpoint requires the following scope: journals:all

post/api/external/v2/journals

Request

  • Base URL
    https://app.pennylane.com
  • URL
    https://app.pennylane.com/api/external/v2/journals
  • Auth
    OAuth 2
    Authorization code: https://app.pennylane.com/oauth/authorize
    Token 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

codestring required

2 to 5 letters that represents the journal

labelstring required

Label that describes the journal

Example request

{
  "code": "RB",
  "label": "Journal de Reprise Balance"
}

Response

Returns the created journal

codestring required
idinteger required
labelstring required
typestring required

Changes