Chris Sides
September 19, 2024
So you want to move money! Maybe you’re looking to process recurring business to business payments (B2B), or setup a new online marketplace facilitating social commerce. You need a ledger! You've come to the right place.
Ledgers serve as a detailed record-keeping tool used to track and manage your business’ financial transactions. Without a reliable and trustworthy system of record for your transactions, you’ll have no business (pun intended) moving money.
In our Ledgers 101 series, we’ll explore technical topics and design decisions, as well as the business and operational concerns of building, scaling, and maintaining a financial ledger. Stemming from our experience offering a digital closed-loop wallet, our posts will approach ledger design through the lens of a financial consumer product, though many of the topics covered and lessons learned will still apply to different applications of ledgers.
To start, this post covers a few high level aspects of digital ledgers and sets the stage for how Ansa has tackled some of the common problems and pitfalls you may come across when designing your own ledger.
In essence, the ledger is the backbone of financial management in a payments product, providing the necessary structure for recording, tracking, and managing financial transactions. While required, they also serve a key tool to:
If designed well, a ledger should offer a rock-solid foundation on which to build flexible and innovative financial tooling. If designed poorly, a ledger will restrict and slow down your business, leading to a nightmare scenario of financial losses due to unexplained missing funds, difficulties reconciling transactions against other systems, and an inconsistent view of your product transactions.
Everyone needs a ledger, but there are actually many types of ledgers:
Double-entry ledgers are the universally accepted and GAAP compliant practice of recording the financial impact of a transaction in at least two accounts. The practice of recording the financial impacts, referred to as Debits and Credits, in separate accounts ensures that these impacts (debits and credits) are always equal for any given transaction.
To briefly cover our terminology, an Account refers to a place that funds can come from and go to. The most common consumer examples are Checking or Savings accounts at a bank, and for businesses an Expense account or a Liabilities account. A Transaction is a general term covering all movements of funds. Using the withdrawal of cash at an ATM as an example, the Accounts impacted would be ‘ATM Cash Account’ and ‘Consumer Checking Account’, with the recorded debits, credits, and any associated description of the activity being the Transaction.
Wait, didn’t I say there were three types of ledgers? Well “double-entry” refers to the structure of the ledger, regardless of the application and therefore can be used for any type of ledger.
Our strongly-held opinion is that all types of ledgers should be double-entry. They set you up for success by operating within a framework that helps enforce a consistent application of transactions and prevents errors.
Aside from niche, domain-specific use cases, digital ledgers will require a strict focus on performance, durability, concurrency, and immutability.
Ledgers need a few "bread and butter" features: a user should be able to check their accounts’ balances, review their transaction history, and transact. Additionally, digital ledgers must service key internal operations: supporting easy introspection for finance or accounting teams, and offering an audit log for tracing any deviations from the expected state. A few more advanced concepts that every robust ledger should account for:
As we expand on the Ledger 101 Series, we’ll continue to dive in and demystify everything accounting from the nuts and bolts to the intricate and nuanced. Stick with us as we press forward in our exploration of how Ansa built our immutable, robust, double-entry ledger at the core of our closed-loop, stored value financial platform!
In our Ledgers 101 series, we’ll be exploring the technical topics, design decisions, and operational concerns around building, scaling, and maintaining a financial ledger.
So you want to move money! Maybe you’re looking to process recurring business to business payments (B2B), or setup a new online marketplace facilitating social commerce. You need a ledger! You've come to the right place.
Ledgers serve as a detailed record-keeping tool used to track and manage your business’ financial transactions. Without a reliable and trustworthy system of record for your transactions, you’ll have no business (pun intended) moving money.
In our Ledgers 101 series, we’ll explore technical topics and design decisions, as well as the business and operational concerns of building, scaling, and maintaining a financial ledger. Stemming from our experience offering a digital closed-loop wallet, our posts will approach ledger design through the lens of a financial consumer product, though many of the topics covered and lessons learned will still apply to different applications of ledgers.
To start, this post covers a few high level aspects of digital ledgers and sets the stage for how Ansa has tackled some of the common problems and pitfalls you may come across when designing your own ledger.
In essence, the ledger is the backbone of financial management in a payments product, providing the necessary structure for recording, tracking, and managing financial transactions. While required, they also serve a key tool to:
If designed well, a ledger should offer a rock-solid foundation on which to build flexible and innovative financial tooling. If designed poorly, a ledger will restrict and slow down your business, leading to a nightmare scenario of financial losses due to unexplained missing funds, difficulties reconciling transactions against other systems, and an inconsistent view of your product transactions.
Everyone needs a ledger, but there are actually many types of ledgers:
Double-entry ledgers are the universally accepted and GAAP compliant practice of recording the financial impact of a transaction in at least two accounts. The practice of recording the financial impacts, referred to as Debits and Credits, in separate accounts ensures that these impacts (debits and credits) are always equal for any given transaction.
To briefly cover our terminology, an Account refers to a place that funds can come from and go to. The most common consumer examples are Checking or Savings accounts at a bank, and for businesses an Expense account or a Liabilities account. A Transaction is a general term covering all movements of funds. Using the withdrawal of cash at an ATM as an example, the Accounts impacted would be ‘ATM Cash Account’ and ‘Consumer Checking Account’, with the recorded debits, credits, and any associated description of the activity being the Transaction.
Wait, didn’t I say there were three types of ledgers? Well “double-entry” refers to the structure of the ledger, regardless of the application and therefore can be used for any type of ledger.
Our strongly-held opinion is that all types of ledgers should be double-entry. They set you up for success by operating within a framework that helps enforce a consistent application of transactions and prevents errors.
Aside from niche, domain-specific use cases, digital ledgers will require a strict focus on performance, durability, concurrency, and immutability.
Ledgers need a few "bread and butter" features: a user should be able to check their accounts’ balances, review their transaction history, and transact. Additionally, digital ledgers must service key internal operations: supporting easy introspection for finance or accounting teams, and offering an audit log for tracing any deviations from the expected state. A few more advanced concepts that every robust ledger should account for:
As we expand on the Ledger 101 Series, we’ll continue to dive in and demystify everything accounting from the nuts and bolts to the intricate and nuanced. Stick with us as we press forward in our exploration of how Ansa built our immutable, robust, double-entry ledger at the core of our closed-loop, stored value financial platform!