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
7 Financial Stocks to Buy to Protect Yourself Against Rising Rates
What Would Happen If Bitcoin's Price Crashes to Zero?
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
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.