BdREN Finance
Project description
Setup
you need to add 3 variables in your settings.py file:
# settings.py
BDREN_FINANCE_URL = 'https://finance.bdren.net.bd'
BDREN_FINANCE_AUTH_EMAIL = 'your_username'
BDREN_FINANCE_AUTH_PASSWORD = 'your_password'
Usage
from bdren_finance import get_accounts, create_entry, update_entry
print(get_accounts(query='your_query'))
payload = {
"transNo": "",
"transDate": "2024-01-01",
"entryDate": "2024-01-01",
"generalParticular": "This is general Particular",
"vouchers": [
{
"accountNo": 15600005,
"accountName": "FDR with Jananta Bank -UGC Bhaban Branch",
"drAmount": 100,
"crAmount": 0,
"particular": "Bank will be debited",
"type": "dr"
},
{
"accountNo": 55500700,
"accountName": "Sub-Project Revenue - DUET",
"drAmount": 0,
"crAmount": 100,
"particular": "The university will be credited ",
"type": "cr"
}
]
}
print(create_entry(payload))
trans_no = 'your_trans_no'
print(update_entry(trans_no, payload))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bdren_finance-3.0.2.tar.gz
(2.7 kB
view details)
File details
Details for the file bdren_finance-3.0.2.tar.gz
.
File metadata
- Download URL: bdren_finance-3.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79b4e59930ea818769d56c75d27017c9af9c8c3dde0b0e5110b9d09d0c2d1dce |
|
MD5 | dabd5cabcb5d576a2d534e168705b577 |
|
BLAKE2b-256 | 96fb1cfde6a348b2760bbda398d407f7a7cc6aa91054eab308da69337b0cbe74 |