587 karma · joined Aug 6, 2019 (7y ago) · 153 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
I would understand if they'd tax the sale of the business.
comment 1y ago · link · parent
comment 1y ago · link · parent
You have a single USD (or other) value - so in the simplest form it just looks like this:
From: Alice To: Bob Amount: 10 Currency: USD
And the balances are simply sum(transactions where account is receiver) - sum(transactions where account is sender)
comment 1y ago · link · parent
comment 1y ago · link · parent
I also wrote a super short post on how to model such a system on postgres https://blog.nxos.io/A-simple-double-entry-ledger-with-sourc...
Blockchain actually kinda nails it, that's in essence a source/destination ledger, no 'postings' or similar needed, and from a balance calculation POV has been working pretty well
One reason this model isn't applied in accounting, in my personal view :), is simply historical and the fact that the number 0 didn't exist when accounting principles were created.
Wrote another post on how to model debit/credits on a source/destination ledger here: https://blog.nxos.io/Debit-and-Credits-on-a-Source-Destinati...
It's very straight-forward, you just have to accept that asset accounts have negative balances and present the absolute amount instead of a negative amount in a view.
comment 2y ago · link · parent
17.
Modeling Debits and Credits on a Source/Destination Ledger(blog.nxos.io ↗)
1 points · by BillyTheKing · 2y ago · 1 comment
comment 2y ago · link · parent
19.
A simple double-entry ledger with source and destination accounts in SQL(blog.nxos.io ↗)
6 points · by BillyTheKing · 2y ago · 1 comment
comment 2y ago · link · parent
And maybe that's at the core of the issue here, namely that this service in its current form doesn't scale like b2c internet tech
comment 2y ago · link · parent
I do really like the Api definition part of it though - but I found something like typespec now to be the perfect middle-ground, it allows out you describe your apis similar to a graphql Api without enforcing the graphql engine on you though.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent