Ledger Transactions (2024)

A ledger_transaction is a transaction between two or more ledger accounts. To create a ledger transaction, there must be at least one credit ledger entry and one debit ledger entry. Additionally, the sum of all credit entry amounts must equal the sum of all debit entry amounts. The ledger transaction is immutable once it has posted.

AttributeDescription
id
string
Unique identifier for the ledger transaction.
description
string
An optional free-form description for internal use.
status
string
One of pending, posted, or archived.
metadata
object
Additional data represented as key-value pairs. Both the key and value must be strings. See Metadata.
ledger_entries
array object
An array of ledger entry objects.
posted_at
time
The time on which the ledger transaction posted. This is null if the ledger transaction is pending.
effective_at
datetime
The time at which the ledger transaction happened for reporting purposes.
ledger_id
string
The ID of the ledger this ledger transaction belongs to.
ledgerable_type
string
If the ledger transaction can be reconciled to another object in Modern Treasury, the type will be populated here, otherwise null.
This can be one of payment_order, incoming_payment_detail, expected_payment, return, or reversal.
See Linking to other Modern Treasury objects.
ledgerable_id
string
If the ledger transaction can be reconciled to another object in Modern Treasury, the id will be populated here, otherwise null.
reversed_by_ledger_transaction_id
string
If the ledger transaction is reversed by another ledger transaction, the reversed_by_ledger_transaction_id will be populated here, and it is the ID of the reversal ledger transactions.
reverses_ledger_transaction_id
string
If the ledger transaction reverses another ledger transaction, the reverses_ledger_transaction_id will be populated here, and it is the ID of the original ledger transaction.
live_mode
boolean
This field will be true if this object was created with a production API key or false if created with a test API key.
{ "id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "object": "ledger_transaction", "ledgerable_type": null, "ledgerable_id": null, "ledger_id": "a9d970da-207e-43da-b4d6-6e9ae01ba2cc", "description": "Louisiana Purchase", "status": "pending", "ledger_entries": [ { "id": "45067a63-6e4d-48f6-8aed-872cb3ee9c72", "object": "ledger_entry", "amount": 1500000000, "direction": "credit", "ledger_account_id": "f1c7e474-e6d5-4741-9f76-04510c8b6d7a", "ledger_account_currency": "USD", "ledger_account_currency_exponent": 2, "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "resulting_ledger_account_balances": null, "live_mode": true, "metadata": {}, "created_at": "2020-08-04T16:58:51Z", "updated_at": "2020-08-04T16:58:51Z" }, { "id": "2a9b522e-5be3-49bc-b607-a09f9786dc3c", "object": "ledger_entry", "amount": 1500000000, "direction": "debit", "ledger_account_id": "063da2e3-4a37-4abf-8626-57d25bd6d441", "ledger_account_currency": "USD", "ledger_account_currency_exponent": 2, "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "resulting_ledger_account_balances": null, "live_mode": true, "metadata": {}, "created_at": "2020-08-04T16:58:51Z", "updated_at": "2020-08-04T16:58:51Z" } ], "posted_at": null, "effective_at": "2021-01-01T00:00:00.000000Z", "effective_date": "2021-01-01", "metadata": {}, "live_mode": true, "created_at": "2020-08-04T16:58:51Z", "updated_at": "2020-08-04T16:58:51Z"}

A ledger_transaction_version is a historical record of a ledger_transaction. A new ledger_transaction_version is created when a ledger_transaction is created or updated.

AttributeDescription
id
string
Unique identifier for the ledger transaction_version.
ledger_transaction_id
string
The ID of the ledger transaction
version
integer
The version number of the ledger transaction
description
string
An optional free-form description for internal use.
status
string
One of pending, posted, or archived.
metadata
object
Additional data represented as key-value pairs. Both the key and value must be strings. See Metadata.
ledger_entries
array object
An array of ledger entry objects.
posted_at
time
The time on which the ledger transaction posted. This is null if the ledger transaction is pending.
effective_at
datetime
The time at which the ledger transaction happened for reporting purposes.
ledger_id
string
The ID of the ledger this ledger transaction belongs to.
ledgerable_type
string
If the ledger transaction can be reconciled to another object in Modern Treasury, the type will be populated here, otherwise null.
This can be one of payment_order, incoming_payment_detail, expected_payment, return, or reversal.
See Linking to other Modern Treasury objects.
ledgerable_id
string
If the ledger transaction can be reconciled to another object in Modern Treasury, the id will be populated here, otherwise null.
live_mode
boolean
This field will be true if this object was created with a production API key or false if created with a test API key.
[{ "id": "b3ea66d8-ffa9-44e6-96d2-591cdb998a5e", "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "object": "ledger_transaction_version", "ledgerable_type": null, "ledgerable_id": null, "ledger_id": "a9d970da-207e-43da-b4d6-6e9ae01ba2cc", "description": "Louisiana Purchase", "status": "posted", "ledger_entries": [ { "id": "5f6a2fe9-502c-439a-a475-2af09b8836ef", "object": "ledger_entry", "amount": 1600000000, "direction": "credit", "ledger_account_id": "f1c7e474-e6d5-4741-9f76-04510c8b6d7a", "ledger_account_currency": "USD", "ledger_account_currency_exponent": 2, "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "live_mode": true, "metadata": {}, "created_at": "2020-08-05T16:58:51Z", "updated_at": "2020-08-05T16:58:51Z" }, { "id": "0bbdf6db-2378-449f-b731-0409c14f270c", "object": "ledger_entry", "amount": 1600000000, "direction": "debit", "ledger_account_id": "063da2e3-4a37-4abf-8626-57d25bd6d441", "ledger_account_currency": "USD", "ledger_account_currency_exponent": 2, "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "live_mode": true, "metadata": true, "created_at": "2020-08-05T16:58:51Z", "updated_at": "2020-08-05T16:58:51Z" } ], "posted_at": "2020-08-05T16:58:51Z", "effective_at": "2021-01-01T00:00:00.000", "effective_date": "2021-01-01", "metadata": {}, "live_mode": true, "created_at": "2020-08-05T16:58:51Z", "version": 1 }, { "id": "3a3105c1-9a82-4134-8880-9ec68b5ccdfb", "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "object": "ledger_transaction_version", "ledgerable_type": null, "ledgerable_id": null, "ledger_id": "a9d970da-207e-43da-b4d6-6e9ae01ba2cc", "description": "Louisiana Purchase", "status": "pending", "ledger_entries": [ { "id": "45067a63-6e4d-48f6-8aed-872cb3ee9c72", "object": "ledger_entry", "amount": 1500000000, "direction": "credit", "ledger_account_id": "f1c7e474-e6d5-4741-9f76-04510c8b6d7a", "ledger_account_currency": "USD", "ledger_account_currency_exponent": 2, "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "live_mode": true, "metadata": {}. "created_at": "2020-08-04T16:58:51Z", "updated_at": "2020-08-04T16:58:51Z" }, { "id": "2a9b522e-5be3-49bc-b607-a09f9786dc3c", "object": "ledger_entry", "amount": 1500000000, "direction": "debit", "ledger_account_id": "063da2e3-4a37-4abf-8626-57d25bd6d441", "ledger_account_currency": "USD", "ledger_account_currency_exponent": 2, "ledger_transaction_id": "d376dd4e-1c4f-4ba2-9b13-db63c04471e0", "live_mode": true, "metadata": {}, "created_at": "2020-08-04T16:58:51Z", "updated_at": "2020-08-04T16:58:51Z" } ], "posted_at": null, "effective_at": "2021-01-01T00:00:00.000", "effective_date": "2021-01-01", "metadata": {}, "live_mode": true, "created_at": "2020-08-04T16:58:51Z", "version": 0}]
Ledger Transactions (2024)
Top Articles
Disney Vacation Tips and Advice | planDisney
How to Tell If a Hermit Crab Is Sick: 13 Steps (with Pictures)
Dannys U Pull - Self-Service Automotive Recycling
Moon Stone Pokemon Heart Gold
Cottonwood Vet Ottawa Ks
Tesla Supercharger La Crosse Photos
Evil Dead Rise Showtimes Near Massena Movieplex
CKS is only available in the UK | NICE
Craigslist - Pets for Sale or Adoption in Zeeland, MI
Music Archives | Hotel Grand Bach - Hotel GrandBach
Fcs Teamehub
Xm Tennis Channel
Persona 4 Golden Taotie Fusion Calculator
David Turner Evangelist Net Worth
Pekin Soccer Tournament
Mission Impossible 7 Showtimes Near Marcus Parkwood Cinema
Band Of Loyalty 5E
Daylight Matt And Kim Lyrics
Costco Great Oaks Gas Price
Decosmo Industrial Auctions
Busted Campbell County
Sussyclassroom
Gazette Obituary Colorado Springs
12 Facts About John J. McCloy: The 20th Century’s Most Powerful American?
Prot Pally Wrath Pre Patch
Wiseloan Login
Kirk Franklin Mother Debra Jones Age
8002905511
Craftybase Coupon
Kqelwaob
Craigslist Sf Garage Sales
M3Gan Showtimes Near Cinemark North Hills And Xd
Lichen - 1.17.0 - Gemsbok! Antler Windchimes! Shoji Screens!
What Time Is First Light Tomorrow Morning
The Mad Merchant Wow
About Us | SEIL
Ket2 Schedule
Case Funeral Home Obituaries
Stanford Medicine scientists pinpoint COVID-19 virus’s entry and exit ports inside our noses
Cherry Spa Madison
Daily Times-Advocate from Escondido, California
Gvod 6014
Gym Assistant Manager Salary
Centimeters to Feet conversion: cm to ft calculator
Reilly Auto Parts Store Hours
Anonib New
Poster & 1600 Autocollants créatifs | Activité facile et ludique | Poppik Stickers
Aaca Not Mine
Bumgarner Funeral Home Troy Nc Obituaries
Latest Posts
Article information

Author: Dr. Pierre Goyette

Last Updated:

Views: 6577

Rating: 5 / 5 (70 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Dr. Pierre Goyette

Birthday: 1998-01-29

Address: Apt. 611 3357 Yong Plain, West Audra, IL 70053

Phone: +5819954278378

Job: Construction Director

Hobby: Embroidery, Creative writing, Shopping, Driving, Stand-up comedy, Coffee roasting, Scrapbooking

Introduction: My name is Dr. Pierre Goyette, I am a enchanting, powerful, jolly, rich, graceful, colorful, zany person who loves writing and wants to share my knowledge and understanding with you.