Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

ABO banking format generator

Project description

https://badge.fury.io/py/abo-generator.png

ABO banking format generator. https://github.com/ViktorStiskala/python-abo-generator

Currently supports only “CSOB” compatible format.

Specification sources: http://www.fio.cz/docs/cz/struktura-abo.pdf and http://www.equabank.cz/files/doc/13-format-abo.pdf (available only in czech).

Thanks to Lukas Hurych for providing generator code.

from datetime import datetime, timedelta
from abo import ABO

tomorrow = datetime.now() + timedelta(days=1)
abo_export = ABO(client_account_number='123456789/0300', client_name='Super company a.s.', due_date=tomorrow)

abo_export.add_transaction('123456789/0100', 500.34, variable_symbol='123456', message='Hello world!')
abo_export.add_transaction('155-987523423/2010', 1234.55, variable_symbol='789654321', message='Test transaction')

with file('example.pkc', 'w') as f:
    abo_export.save(f)

Installation

To install ABO generator, simply:

$ pip install abo-generator

License

This software is licensed under MPL 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for abo-generator, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size abo-generator-0.2.2.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page