This webpage illustrates minimal usage of a Debts & Credits Recording module, which is part of my larger bookkeeping app, Tradepally. I recently exposed the module for use in another project via an API and decided to put up a glimpse here. The module's full functionality includes more indebt operations, like: linking debtor to creditor and vice versa, and linking either of them to other users on the platform, who can then assent to txns meant for them - thereby adding a layer of legitimacy, among other features. The complete code for this project is at This GitHub Repo.
Example Profile
ID: 4103DCP20256990| Item | Value |
|---|---|
| Name | Test API DC Profile |
| Currency | Naira (₦) |
| Created On | Mon, 25-Mar-2024 |
| Created Via | Public A P I |
| Debtors | 2 |
| Creditors | 2 |
| Transactions | 6 |
| Transactions Worth | 290,000.00 |
| Current Receivable | -195,000.00 |
| Current Payable | 65,000.00 |
Debtors & Creditors
All the items displayed via the Debtors and Creditors buttons below were added using the API - for the example profile.
You can add new ones via the Add Debtor
and Add Creditor buttons to test it for yourself.
List of Debtors
| Name | ID | Num of Tnxs | Debts | Payments | Balance | Created On | Created Via |
|---|---|---|---|---|---|---|---|
| Debtor Two | 4103DP2724 | 2 | 0.00 | 200,000.00 | -200,000.00 | Wed, 15-May-2024 | Public A P I |
| OnRender Debtor | 4103DP5799 | 2 | 15,000.00 | 10,000.00 | 5,000.00 | Wed, 15-May-2024 | Public A P I |
List of Creditors
| Name | ID | Num of Tnxs | Credits | Payments | Balance | Created On | Created Via |
|---|---|---|---|---|---|---|---|
| Creditor by The Lad | 4103CP8084 | 1 | 15,000.00 | 0.00 | 15,000.00 | Fri, 17-May-2024 | Public A P I |
| OnRender Creditor | 4103CP7811 | 1 | 50,000.00 | 0.00 | 50,000.00 | Wed, 15-May-2024 | Public A P I |
Add New Debtor
Add New Creditor
Transactions
There can be Debt, Credit, Debt Payment, and Credit Payment transactions. A debt txn represents money you receive from a creditor and credit txn represents money you give to a debtor.
And on the flip side, a debt payment txn reps payment you make to a creditor and credit
payment reps payment a debtor makes to you.
List of Last 50 Transactions
| Date | Type | Amount (₦) | Means | Narration | Other Party | Posted (UTC) | |
|---|---|---|---|---|---|---|---|
| 12/Mar/2025 | CreditPayment | 100,000.00 | Cash | Try once more | Debtor Two | 12/Mar/2025, 10:28:07 | |
| 12/Mar/2025 | CreditPayment | 100,000.00 | Cash | None | Debtor Two | 12/Mar/2025, 10:27:03 | |
| 18/May/2024 | DebtTransaction | 15,000.00 | Cash | Txn by the lad | Creditor by The Lad | 20/May/2024, 16:07:52 | |
| 15/May/2024 | CreditPayment | 10,000.00 | Cash | At home | OnRender Debtor | 20/May/2024, 14:28:12 | |
| 07/May/2024 | DebtTransaction | 50,000.00 | OPay | None | OnRender Creditor | 20/May/2024, 14:26:05 | |
| 20/May/2024 | CreditTransaction | 15,000.00 | Cash | At the restaurant | OnRender Debtor | 20/May/2024, 14:21:00 |