Skip to main content

Glaccountinput

Represents the request payload for creating a GL Account

allowManualJournalEntriesboolean

TRUE if manual journal entries are allowed, FALSE otherwise. This is only available for Detail Accounts.

currency object

The currency model defines the monetary unit used for financial transactions and account balances, including support for both ISO-4217 fiat currencies and non-fiat alternatives.

codestring

The specific currency code identifying the currency, which can be a standard ISO-4217 fiat code or 'NON_FIAT' for other types of currency.

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]

Example: USD
currencyCodestring

The descriptive name or identifier for a non-fiat currency (e.g., GOLD), only applicable when the code is set to 'NON_FIAT'.

Example: GOLD
descriptionstring

The description of the general ledger account.

glCodestringrequired

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'.

namestringrequired

The name of the general ledger account.

stripTrailingZerosboolean

TRUE to strip trailing zeros, FALSE otherwise. Only available for Header Accounts.

typestringrequired

The general ledger account type.

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

usagestringrequired

DETAIL for general ledger accounts that log transactions, and HEADER for general ledger accounts used for reporting and organizational purposes.

Possible values: [DETAIL, HEADER]

Glaccountinput
{
"allowManualJournalEntries": true,
"currency": {
"code": "USD",
"currencyCode": "GOLD"
},
"description": "string",
"glCode": "string",
"name": "string",
"stripTrailingZeros": true,
"type": "ASSET",
"usage": "DETAIL"
}