A General Ledger Entry is a record of a financial transaction that is posted to the general ledger, the central repository of a company’s financial data.
The GeneralLedgerTransaction object is a singular endpoint to pull all transactions posted to a company’s general ledger. The transaction that generated the GeneralLedgerTransaction can be found by referencing the underlying_transaction_type and underlying_transaction_remote_id fields.
The lines of a GeneralLedgerTransaction object will always have equal amounts of debits and credits.
idUUIDremote_idStringcreated_atDateTime (ISO 8601)modified_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnumINVOICE, EXPENSE, TRANSACTION, JOURNAL_ENTRY, PAYMENT, VENDOR_CREDIT, CREDIT_NOTE. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.accounting_periodUUIDcompanyUUIDremote_updated_atDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)tracking_categoriesArrayposting_dateDateTime (ISO 8601)general_ledger_transaction_linesGeneralLedgerTransactionLine[]GeneralLedgerTransactionLineSerializer object represents general ledger transaction line item.debit_amountStringcredit_amountStringforeign_debit_amountStringforeign_credit_amountStringidUUIDremote_idStringcreated_atDateTime (ISO 8601)modified_atDateTime (ISO 8601)accountUUIDcompanyUUIDemployeeUUIDcontactUUIDprojectUUIDbase_currencyEnumXUA, AFN, AFA, ALL, ALK, DZD, ADP, AOA, AOK, AON, AOR, ARA, ARS, ARM, ARP, ARL, AMD, AWG, AUD, ATS, AZN, AZM, BSD, BHD, BDT, BBD, BYN, BYB, BYR, BEF, BEC, BEL, BZD, BMD, BTN, BOB, BOL, BOV, BOP, BAM, BAD, BAN, BWP, BRC, BRZ, BRE, BRR, BRN, BRB, BRL, GBP, BND, BGL, BGN, BGO, BGM, BUK, BIF, XPF, KHR, CAD, CVE, KYD, XAF, CLE, CLP, CLF, CNX, CNY, CNH, COP, COU, KMF, CDF, CRC, HRD, HRK, CUC, CUP, CYP, CZK, CSK, DKK, DJF, DOP, NLG, XCD, DDM, ECS, ECV, EGP, GQE, ERN, EEK, ETB, EUR, XBA, XEU, XBB, XBC, XBD, FKP, FJD, FIM, FRF, XFO, XFU, GMD, GEK, GEL, DEM, GHS, GHC, GIP, XAU, GRD, GTQ, GWP, GNF, GNS, GYD, HTG, HNL, HKD, HUF, IMP, ISK, ISJ, INR, IDR, IRR, IQD, IEP, ILS, ILP, ILR, ITL, JMD, JPY, JOD, KZT, KES, KWD, KGS, LAK, LVL, LVR, LBP, LSL, LRD, LYD, LTL, LTT, LUL, LUC, LUF, MOP, MKD, MKN, MGA, MGF, MWK, MYR, MVR, MVP, MLF, MTL, MTP, MRU, MRO, MUR, MXV, MXN, MXP, MDC, MDL, MCF, MNT, MAD, MAF, MZE, MZN, MZM, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NIC, NGN, KPW, NOK, OMR, PKR, XPD, PAB, PGK, PYG, PEI, PEN, PES, PHP, XPT, PLN, PLZ, PTE, GWE, QAR, XRE, RHD, RON, ROL, RUB, RUR, RWF, SVC, WST, SAR, RSD, CSD, SCR, SLL, XAG, SGD, SKK, SIT, SBD, SOS, ZAR, ZAL, KRH, KRW, KRO, SSP, SUR, ESP, ESA, ESB, XDR, LKR, SHP, XSU, SDD, SDG, SDP, SRD, SRG, SZL, SEK, CHF, SYP, STN, STD, TVD, TJR, TJS, TZS, XTS, THB, XXX, TPE, TOP, TTD, TND, TRY, TRL, TMT, TMM, USD, USN, USS, UGX, UGS, UAH, UAK, AED, UYW, UYU, UYP, UYI, UZS, VUV, VES, VEB, VEF, VND, VNN, CHE, CHW, XOF, YDD, YER, YUN, YUD, YUM, YUR, ZWN, ZRN, ZRZ, ZMW, ZMK, ZWD, ZWR, ZWL. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.transaction_currencyEnumXUA, AFN, AFA, ALL, ALK, DZD, ADP, AOA, AOK, AON, AOR, ARA, ARS, ARM, ARP, ARL, AMD, AWG, AUD, ATS, AZN, AZM, BSD, BHD, BDT, BBD, BYN, BYB, BYR, BEF, BEC, BEL, BZD, BMD, BTN, BOB, BOL, BOV, BOP, BAM, BAD, BAN, BWP, BRC, BRZ, BRE, BRR, BRN, BRB, BRL, GBP, BND, BGL, BGN, BGO, BGM, BUK, BIF, XPF, KHR, CAD, CVE, KYD, XAF, CLE, CLP, CLF, CNX, CNY, CNH, COP, COU, KMF, CDF, CRC, HRD, HRK, CUC, CUP, CYP, CZK, CSK, DKK, DJF, DOP, NLG, XCD, DDM, ECS, ECV, EGP, GQE, ERN, EEK, ETB, EUR, XBA, XEU, XBB, XBC, XBD, FKP, FJD, FIM, FRF, XFO, XFU, GMD, GEK, GEL, DEM, GHS, GHC, GIP, XAU, GRD, GTQ, GWP, GNF, GNS, GYD, HTG, HNL, HKD, HUF, IMP, ISK, ISJ, INR, IDR, IRR, IQD, IEP, ILS, ILP, ILR, ITL, JMD, JPY, JOD, KZT, KES, KWD, KGS, LAK, LVL, LVR, LBP, LSL, LRD, LYD, LTL, LTT, LUL, LUC, LUF, MOP, MKD, MKN, MGA, MGF, MWK, MYR, MVR, MVP, MLF, MTL, MTP, MRU, MRO, MUR, MXV, MXN, MXP, MDC, MDL, MCF, MNT, MAD, MAF, MZE, MZN, MZM, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NIC, NGN, KPW, NOK, OMR, PKR, XPD, PAB, PGK, PYG, PEI, PEN, PES, PHP, XPT, PLN, PLZ, PTE, GWE, QAR, XRE, RHD, RON, ROL, RUB, RUR, RWF, SVC, WST, SAR, RSD, CSD, SCR, SLL, XAG, SGD, SKK, SIT, SBD, SOS, ZAR, ZAL, KRH, KRW, KRO, SSP, SUR, ESP, ESA, ESB, XDR, LKR, SHP, XSU, SDD, SDG, SDP, SRD, SRG, SZL, SEK, CHF, SYP, STN, STD, TVD, TJR, TJS, TZS, XTS, THB, XXX, TPE, TOP, TTD, TND, TRY, TRL, TMT, TMM, USD, USN, USS, UGX, UGS, UAH, UAK, AED, UYW, UYU, UYP, UYI, UZS, VUV, VES, VEB, VEF, VND, VNN, CHE, CHW, XOF, YDD, YER, YUN, YUD, YUM, YUR, ZWN, ZRN, ZRZ, ZMW, ZMK, ZWD, ZWR, ZWL. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.exchange_rateStringdescriptionStringtracking_categoriesTrackingCategory[]itemUUIDremote_was_deletedBooleanfield_mappingsObjectremote_was_deletedBooleanfield_mappingsObjectremote_dataRemoteData[]RemoteData object is used to represent the full data pulled from the third-party API for an object.pathStringdataAnyhttps://api.merge.dev/api/accounting/v1/general-ledger-transactions
Returns a list of GeneralLedgerTransaction objects.
company_idStringcreated_afterDateTime (ISO 8601)created_beforeDateTime (ISO 8601)cursorStringexpandStringinclude_deleted_dataBooleaninclude_remote_dataBooleaninclude_shell_dataBooleanmodified_afterDateTime (ISO 8601)modified_beforeDateTime (ISO 8601)page_sizeIntegerposted_date_afterDateTime (ISO 8601)posted_date_beforeDateTime (ISO 8601)remote_idString
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]remote_idstringaccountstringcompanystringemployeestringcontactstringprojectstringbase_currencystringtransaction_currencystringexchange_ratestringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringitemstringforeign_debit_amountstringforeign_credit_amountstringaccounting_periodUUIDcompanyUUIDposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnum
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]accountstringcontactstringprojectstringtransaction_currencystringexchange_ratestringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringitemstringforeign_debit_amountstringforeign_credit_amountstringposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnum
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]remote_idstringaccountstringcompanystringcontactstringbase_currencystringtransaction_currencystringexchange_ratestringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringitemstringforeign_debit_amountstringforeign_credit_amountstringaccounting_periodUUIDcompanyUUIDposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]remote_idstringaccountstringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnumhttps://api.merge.dev/api/accounting/v1/general-ledger-transactions/{id}
Returns a GeneralLedgerTransaction object with the given id.
expandStringidUUIDinclude_remote_dataBooleaninclude_shell_dataBoolean
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]remote_idstringaccountstringcompanystringemployeestringcontactstringprojectstringbase_currencystringtransaction_currencystringexchange_ratestringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringitemstringforeign_debit_amountstringforeign_credit_amountstringaccounting_periodUUIDcompanyUUIDposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnum
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]accountstringcontactstringprojectstringtransaction_currencystringexchange_ratestringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringitemstringforeign_debit_amountstringforeign_credit_amountstringposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnum
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]remote_idstringaccountstringcompanystringcontactstringbase_currencystringtransaction_currencystringexchange_ratestringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringitemstringforeign_debit_amountstringforeign_credit_amountstringaccounting_periodUUIDcompanyUUIDposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)
Supported Response Fields
general_ledger_transaction_linesGeneralLedgerTransactionLine[]remote_idstringaccountstringdescriptionstringtracking_categoriesarraydebit_amountstringcredit_amountstringposting_dateDateTime (ISO 8601)remote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)underlying_transaction_remote_idStringunderlying_transaction_typeEnum