Skip to main content

Gljournalentry

Represents a general ledger journal entry.

accountKeystring

The account associated with this journal entry. Null if the journal entry is not associated to any account.

amountnumber

The amount which was debited or credited in the organization's currency.

assignedBranchKeystring

The key of the assigned branch for this general ledger journal entry.

bookingDatestring<date-time>

The date and time when the general ledger journal entry was recorded.

Example: 2016-09-06T13:37:50+03:00
creationDatestring<date-time>

The creation date of the general ledger journal entry.

Example: 2016-09-06T13:37:50+03:00
encodedKeystring

The encoded key of the entity, generated, globally unique

entryIDinteger<int64>

The ID of the general ledger journal entry.

foreignAmount object

Represents the details of the general ledger journal entry amount posted in foreign currency.

accountingRate object

Represents the conversion rate used in accounting to convert amounts from one currency to organisation currency

encodedKeystring

The encoded key of the accounting rate, auto generated, unique

endDatestring<date-time>

Rate validity end date

Example: 2016-09-06T13:37:50+03:00
fromCurrencyCodestring

Organisation currency code

ratenumber

Value of rate to be used for accounting conversions

startDatestring<date-time>

Rate validity start date

Example: 2016-09-06T13:37:50+03:00
toCurrencyCodestring

Foreign currency code

amountnumber

The amount of an accounting entry in foreign currency.

currency object

Represents a currency eg. USD, EUR.

codestring

Fiat(ISO-4217) currency code or NON_FIAT for non fiat currencies.

Possible values: [AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LVL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SLE, SOS, SRD, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UYW, UZS, VED, VEF, VES, VND, VUV, WST, XAG, XAU, XAF, XBA, XBB, XBC, XBD, XCD, XCG, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZIG, ZWG, ZMK, ZWL, ZMW, SSP, NON_FIAT]

currencyCodestring

Currency code for NON_FIAT currency.

glAccount object

Represents a general ledger account.

activatedboolean

TRUE if the account is activated and may be used, FALSE otherwise.

allowManualJournalEntriesboolean

TRUE if manual journal entries are allowed, FALSE otherwise.

balancenumber

The balance of the general ledger account, which is only populated for the GET /glaccounts endpoint.

creationDatestring<date-time>

The creation date for this account, which is stored as UTC.

Example: 2016-09-06T13:37:50+03:00
currency object

Represents a currency eg. USD, EUR.

codestring

Fiat(ISO-4217) currency code or NON_FIAT for non fiat currencies.

Possible values: [AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LVL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SLE, SOS, SRD, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UYW, UZS, VED, VEF, VES, VND, VUV, WST, XAG, XAU, XAF, XBA, XBB, XBC, XBD, XCD, XCG, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZIG, ZWG, ZMK, ZWL, ZMW, SSP, NON_FIAT]

currencyCodestring

Currency code for NON_FIAT currency.

descriptionstring

A description of the general ledger account.

encodedKeystring

The encoded key of the entity, generated, globally unique

glCodestring

The general ledger code used to identify different account types. Also used for grouping and categorizing accounts. For example: an account code of '3201' is considered a subtype of '3200'.

lastModifiedDatestring<date-time>

The last modification date and time, which is stored as UTC.

Example: 2016-09-06T13:37:50+03:00
migrationEventKeystring

The data migration event key if the general ledger account was created as a part of a data migration event.

namestring

The name of the general ledger account.

stripTrailingZerosboolean

TRUE if trailing zeros are stripped, FALSE otherwise.

typestring

The general ledger account type.

Possible values: [ASSET, LIABILITY, EQUITY, INCOME, EXPENSE]

usagestring

The usage type of the general ledger account. DETAIL accounts are used to stores transaction balances. HEADER accounts are used to organise and group detail accounts for reporting purposes.

Possible values: [DETAIL, HEADER]

notesstring

Optional notes entered by the user when they performed the journal entry.

productKeystring

The product associated with this journal entry. Null if the journal entry is not associated with any product.

productTypestring

The product type that is referenced by the account key. Null if the journal entry is not associated to any product.

Possible values: [LOAN, SAVINGS]

reversalEntryKeystring

The entry key of the general ledger journal entry that reverses this general ledger journal entry. Null if the general ledger journal entry isn't reversed.

transactionIdstring

The transation ID, which is not unique.

typestring

The general ledger journal entry type, which may be debit or credit.

Possible values: [DEBIT, CREDIT]

userKeystring

The encoded key of the user that performed the transaction.

Gljournalentry
{
"accountKey": "string",
"amount": 0,
"assignedBranchKey": "string",
"bookingDate": "2016-09-06T13:37:50+03:00",
"creationDate": "2016-09-06T13:37:50+03:00",
"encodedKey": "string",
"entryID": 0,
"foreignAmount": {
"accountingRate": {
"encodedKey": "string",
"endDate": "2016-09-06T13:37:50+03:00",
"fromCurrencyCode": "string",
"rate": 0,
"startDate": "2016-09-06T13:37:50+03:00",
"toCurrencyCode": "string"
},
"amount": 0,
"currency": {
"code": "AED",
"currencyCode": "string"
}
},
"glAccount": {
"activated": true,
"allowManualJournalEntries": true,
"balance": 0,
"creationDate": "2016-09-06T13:37:50+03:00",
"currency": {
"code": "AED",
"currencyCode": "string"
},
"description": "string",
"encodedKey": "string",
"glCode": "string",
"lastModifiedDate": "2016-09-06T13:37:50+03:00",
"migrationEventKey": "string",
"name": "string",
"stripTrailingZeros": true,
"type": "ASSET",
"usage": "DETAIL"
},
"notes": "string",
"productKey": "string",
"productType": "LOAN",
"reversalEntryKey": "string",
"transactionId": "string",
"type": "DEBIT",
"userKey": "string"
}