For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Resources
Log inGet a demo
Get startedAPI referenceImplementation
Get startedAPI referenceImplementation
    • Overview
          • The GeneralLedgerTransaction object
          • GET/general-ledger-transactions
          • GET/general-ledger-transactions/{id}
UnifiedAgent HandlerGateway
UnifiedAgent HandlerGateway
Resources
Log inGet a demo
Common ModelsGeneral Ledger Transactions

The GeneralLedgerTransaction object

Beta
The GeneralLedgerTransaction Object
1{
2 "id": "string",
3 "remote_id": "string",
4 "created_at": "2023-01-01T00:00:00Z",
5 "modified_at": "2023-01-01T00:00:00Z",
6 "underlying_transaction_remote_id": "string",
7 "underlying_transaction_type": "INVOICE",
8 "accounting_period": "string",
9 "company": "string",
10 "remote_updated_at": "2023-01-01T00:00:00Z",
11 "remote_created_at": "2023-01-01T00:00:00Z",
12 "tracking_categories": [
13 "string"
14 ],
15 "posting_date": "2023-01-01T00:00:00Z",
16 "general_ledger_transaction_lines": [
17 {
18 "id": "string",
19 "remote_id": "string",
20 "created_at": "2023-01-01T00:00:00Z",
21 "modified_at": "2023-01-01T00:00:00Z",
22 "account": "string",
23 "company": "string",
24 "employee": "string",
25 "contact": "string",
26 "project": "string",
27 "base_currency": "XUA",
28 "transaction_currency": "XUA",
29 "exchange_rate": "string",
30 "description": "string",
31 "tracking_categories": [
32 {
33 "id": "string",
34 "remote_id": "string",
35 "created_at": "2023-01-01T00:00:00Z",
36 "modified_at": "2023-01-01T00:00:00Z",
37 "name": "string",
38 "status": "ACTIVE",
39 "category_type": "CLASS",
40 "parent_category": "string",
41 "company": "string",
42 "remote_was_deleted": true,
43 "field_mappings": {}
44 }
45 ],
46 "debit_amount": "string",
47 "credit_amount": "string",
48 "item": "string",
49 "foreign_debit_amount": "string",
50 "foreign_credit_amount": "string",
51 "remote_was_deleted": true,
52 "field_mappings": {}
53 }
54 ],
55 "remote_was_deleted": true,
56 "field_mappings": {},
57 "remote_data": [
58 {
59 "path": "string",
60 "data": {}
61 }
62 ]
63}
Was this page helpful?
Previous

/expenses/bulk/{batch_id}

Next

/general-ledger-transactions

Built with

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.

idstringOptionalRead-onlyformat: "uuid"
remote_idstring or nullOptional
created_atdatetimeOptionalRead-only
The datetime that this object was created by Merge.
modified_atdatetimeOptionalRead-only
The datetime that this object was modified by Merge.
underlying_transaction_remote_idstring or nullOptional<=50 characters
The third party remote ID of the underlying transaction.
underlying_transaction_typeenum or nullOptional
accounting_periodstring or nullOptionalformat: "uuid"
The accounting period that the GeneralLedgerTransaction was generated in.
companystring or nullOptionalformat: "uuid"
The company the GeneralLedgerTransaction belongs to.
remote_updated_atdatetime or nullOptional
When the third party's GeneralLedgerTransaction entry was updated.
remote_created_atdatetime or nullOptional
When the third party's GeneralLedgerTransaction entry was created.
tracking_categorieslist of stringsOptional
posting_datedatetime or nullOptional
The date that the transaction was posted to the general ledger.
general_ledger_transaction_lineslist of objectsOptionalRead-only
remote_was_deletedbooleanOptionalRead-only
field_mappingsobject or nullOptionalRead-only
remote_datalist of objects or nullOptionalRead-only