This module checks and validates your bills and returns the required information
Project description
This module checks and validates your bills and returns the required information
Dependencies
To use this module you need to install jdatetime and python
Install
pip install iranian-bills-validation
Usage
from IranianBillsValidation.Bill import Receipt
receipt = Receipt('9985235404124', '0000880000568')
if receipt.billing_isvalid():
print(receipt.billing_info())
if receipt.payment_isvalid():
print(receipt.payment_info())
print(receipt.result())
Output
{"billing_service": "Electricity", "billing_companycode": "041", "billing_filecode": "99852354"}
{"payment_periodcode": "05", "payment_yearcode": "1400", "payment_amount": "8800000"}
{"billing": {"is_valid": true, "billing_service": "Electricity", "billing_companycode": "041", "billing_filecode": "99852354"}, "payment": {"is_valid": true, "payment_periodcode": "05", "payment_yearcode": "1400", "payment_amount": "8800000"}}
اعتبارسنجی قبوض ایرانی
این ماژول قبض های شما را بررسی و اعتبارسنجی می کند و اطلاعات مورد نیاز را برمی گرداند
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
Close
Hashes for IranianBillsValidation-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18935d8840dcf4052f77136cb410c0da43b27bd23e729cc9b8f127786db4645e |
|
MD5 | b5eb5ae933c758f4978ef9b31060fe3f |
|
BLAKE2b-256 | 2bcbba631c4c143f2437826a14a8e7217c2c48ea70b8f6c5ec267f8d5bea82e3 |