Pennylane icon

Pennylane

Interact with Pennylane accounting API

Journal → Create

AI-generated

Summary

Create a journal in Pennylane accounting by specifying its mandatory code and label, with optional additional fields such as nature.

Inputs

  • code (required) — The journal code used to uniquely identify the journal.
  • label (required) — The journal label describing the journal.
  • additionalFields — Optional additional fields, including 'Nature' which categorizes the journal as General, Sales, Purchase, Bank, or Miscellaneous.

Output shape

a single JSON object representing the created journal record

The operation returns the created journal's data as received from the Pennylane API. Supports batch processing with configurable batch size and interval. Request options like SSL validation override, proxy, and timeout are also configurable.

Examples

Example 1: Create a new general journal with code 'JRN001' and label 'General Ledger'

Set 'Code' to 'JRN001', 'Label' to 'General Ledger', and optionally 'Nature' to 'General'.

Discussion