Journal Entry Data Models

A journal entry is an accounting transaction recorded in the general ledger of a company.

Model IDEvent KeyDescription
accounting_journalEntry_infoinfo
accounting_journalEntry_lineItemslineItems

📘

Manual Trigger Required for Initial Sync

The data models sync does not start automatically. To initiate the synchronization process, you must explicitly call the Sync Start API for the initial sync.

JournalEntry Info

Model ID: accounting_journalEntry_info

FieldTypeDescription
idString
nameString
dateDate
statusEnum[DRAFT, PUBLISHED, NOT_SPECIFIED]
createdAtDate
updatedAtDate
descriptionString
companyIdString
currencyStringOne of among Currency Codes (ISO 4217) like-
INR,
USD,
EUR
exchangeRateString
referenceNumberString

JournalEntry LineItems

Model ID: accounting_journalEntry_lineItems

FieldTypeDescription
idString
accountIdString
contactIdString
amountDouble
typeEnum[DEBIT, CREDIT]
descriptionString


Event Data Example

{
  "info": {
    "id": "81436930-df53-468b-8eac-38ea7d49bde8",
    "name": "Merchandise Transaction",
    "date": "2024-05-23T00:00:00Z",
    "status": "PUBLISHED",
    "createdAt": "2024-05-22T19:01:07Z",
    "updatedAt": "2024-05-22T19:01:07Z",
    "description": "This is Tshirt payment.",
    "companyId": "ac19c8f9-a901-4db3-bef1-5aaca2a7c15a",
    "currency": "USD",
    "exchangeRate": "1.0",
    "referenceNumber": "7"
  },
  "lineItems": [
    {
      "id": "184bcff6-80b9-4d9d-a5eb-80c0df11cf36",
      "accountId": "72411c77-e640-4336-9e2d-ed3c7617a7af",
      "contactId": "72411c77-72411c77",
      "amount": 100,
      "type": "CREDIT",
      "description": "Recived for Tshirt Payment"
    },
    {
      "id": "a0db14b9-2473-496d-b36a-de05b213821e",
      "accountId": "cab8b832-d89e-4274-9a1d-d0e0de62657c",
      "contactId": "72411c77",
      "amount": 100,
      "type": "DEBIT",
      "description": "Tshirt of medium size and black color from Knit Pvt. Ltd."
    }
  ]
}