Skip to main content

Postgljournalentriesdto

Represents the information to create general ledger journal entries.

branchIdstring

The ID of the assigned branch for the journal entries.

credits object[]

The list of general ledger accounts to be credited with corresponding amounts.

  • Array [
  • amountnumber

    The amount which was debited or credited.

    glAccountstring

    Represents the general ledger account code of the the general ledger account that was debited or credited.

  • ]
  • datestring<date-time>required

    The date and time when the general ledger journal entries were recorded, also known as the booking date.

    Example: 2016-09-06T13:37:50+03:00
    debits object[]

    The list of general ledger accounts to be debited with corresponding amounts.

  • Array [
  • amountnumber

    The amount which was debited or credited.

    glAccountstring

    Represents the general ledger account code of the the general ledger account that was debited or credited.

  • ]
  • notesstring

    The notes entered when the journal entry was posted.

    transactionIdstring

    A non-unique trasanction ID. This will be autogenerated if an ID is not provided.

    Postgljournalentriesdto
    {
    "branchId": "string",
    "credits": [
    {
    "amount": 0,
    "glAccount": "string"
    }
    ],
    "date": "2016-09-06T13:37:50+03:00",
    "debits": [
    {
    "amount": 0,
    "glAccount": "string"
    }
    ],
    "notes": "string",
    "transactionId": "string"
    }