https://github.com/hyperjumptech/acccore
Core accounting engine made in Golang. Using ACCCORE, you can create your application internal virtual money, points, etc.
https://github.com/hyperjumptech/acccore
Last synced: 12 months ago
JSON representation
Core accounting engine made in Golang. Using ACCCORE, you can create your application internal virtual money, points, etc.
- Host: GitHub
- URL: https://github.com/hyperjumptech/acccore
- Owner: hyperjumptech
- Created: 2021-07-01T12:15:03.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-31T08:37:01.000Z (over 1 year ago)
- Last Synced: 2025-04-02T20:04:54.501Z (about 1 year ago)
- Language: Go
- Size: 68.4 KB
- Stars: 16
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ACCCORE - Accounting Core in Go
---
A core accounting library made in golang. Using this library, you quicly
enable Double Entry Book Keeping which usefull to maintain your internal application
point and reward system. Manage GOLD, POINT, DIAMONDS you distribute to your user
have them accountable, controlled and traced.
```text
=== RUN TestAccounting_CreateNewJournal
Accounting_test.go:105: Journal Entry : 5274YX3Y65
Journal Date : 2021-07-02 10:59:45.0173345 +0700 +07 m=+0.002096401
Description : Creditor Topup Gold
+------------+------------+--------------------+---------+---------+
| TRX ID | ACCOUNT | DESCRIPTION | DEBIT | CREDIT |
+------------+------------+--------------------+---------+---------+
| ZTUMIZQ565 | T5Z05Z0IX6 | Added Gold Reserve | 1000000 | |
| 506O592P3Z | 09TI0ZZZ6U | Added Gold Equity | | 1000000 |
+------------+------------+--------------------+---------+---------+
| 1000000 | 1000000 |
+------------+------------+--------------------+---------+---------+
Accounting_test.go:126: Journal Entry : 25P8ZVZZOZ
Journal Date : 2021-07-02 10:59:45.017858 +0700 +07 m=+0.002619901
Description : GOLD purchase transaction
+------------+------------+-------------------+--------+--------+
| TRX ID | ACCOUNT | DESCRIPTION | DEBIT | CREDIT |
+------------+------------+-------------------+--------+--------+
| 050LTUIIZX | T0PTZZ70KX | Add debitor AR | 200000 | |
| Q9MUW650YN | T5Z05Z0IX6 | Gold Disbursement | | 200000 |
+------------+------------+-------------------+--------+--------+
| 200000 | 200000 |
+------------+------------+-------------------+--------+--------+
Accounting_test.go:137: Account Number : T5Z05Z0IX6
Account Name : Gold Loan
Description : Gold base loan reserve
Currency : GOLD
COA : 1.1
Transactions From : 2021-07-02 08:59:45.017858 +0700 +07 m=-7199.997380099
To : 2021-07-02 12:59:45.017858 +0700 +07 m=+7200.002619901
#Transactions : 2
Showing page : 1/1
+------------+--------------------------------+------------+--------------------+---------+--------+---------+
| TRX ID | TIME | JOURNAL ID | DESCRIPTION | DEBIT | CREDIT | BALANCE |
+------------+--------------------------------+------------+--------------------+---------+--------+---------+
| ZTUMIZQ565 | 2021-07-02 10:59:45.0173345 | 5274YX3Y65 | Added Gold Reserve | 1000000 | | 1000000 |
| | +0700 +07 m=+0.002096401 | | | | | |
| Q9MUW650YN | 2021-07-02 10:59:45.017858 | 25P8ZVZZOZ | Gold Disbursement | | 200000 | 800000 |
| | +0700 +07 m=+0.002619901 | | | | | |
+------------+--------------------------------+------------+--------------------+---------+--------+---------+
--- PASS: TestAccounting_CreateNewJournal (0.00s)
PASS
```