Journals

Create a journal

Changed on

⚠️ This endpoint is deprecated. Use Create a journal from the Company API v2 instead. Your firm token can call it for any company of your firm through the X-Company-Id header. Learn how to use your firm token with the Company API v2.

Create a journal

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

post/api/external/firm/v1/companies/{company_id}/journals

Request

  • Base URL
    https://app.pennylane.com
  • URL
    https://app.pennylane.com/api/external/firm/v1/companies/{company_id}/journals
  • Auth
    OAuth 2
    Authorization code: https://app.pennylane.com/oauth/authorize
    Token URL: https://app.pennylane.com/oauth/oauth/token scopes: journals:all

Path parameters

company_idinteger required

Existing company identifier (id)

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