Parser for Bank Account information files formatted in Norma 43
Project description
Norma 43 Parser
Parser for Norma43 bank account documents, commonly used in spanish banks to retrieve account movements. It supports Python 3.6 onwards.
How to install
$ pip install norma43parser
How to use it
from norma43parser import Norma43Parser, DateFormat
parser = Norma43Parser(DateFormat.SPANISH)
# it reads dates in DMY format, for YMD use DateFormat.ENGLISH
contents = open('./file.n43','r').read()
n43 = parser.parse(contents)
Norma43Document Model
Class Norma43Document:
accounts:ListofAccountobjects.reported_entries: number of reported n43 file entries.
Class Account:
header: aHeaderobject.movement_lines:ListofrMovementLineobjectsfooter: aFooterobject.
Class Header:
bank_code: string.branch_code: string.account_number: string.start_date: date.end_date: date.initial_balance: Decimal.currency: string in ISO-4217 (number).information_mode_code: string.account_name: string.
Class MovementLine:
branch_code: string.transaction_date: date.value_date: date.amount: Decimal.balance: Decimal.description: string.extra_information: List of strings.
Class Footer:
bank_code: string.branch_code: string.account_number: string.debit_entries: integer.debit_amount: Decimal.credit_entries: integer.credit_amount: Decimal.final_balance: Decimal.currency: string in ISO-4217 (number).
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
norma43parser-1.1.2.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file norma43parser-1.1.2.tar.gz.
File metadata
- Download URL: norma43parser-1.1.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95542b414b63ff9cb0f7b4324f5d99ba252cdbe9063d40bdfe863544717f7068
|
|
| MD5 |
2229ce6058defb411cb0e53ade3d2e2c
|
|
| BLAKE2b-256 |
eeff8442169083cbcd616150f59571a26f22b4b72af20f4188d32bbc805f2178
|
File details
Details for the file norma43parser-1.1.2-py3-none-any.whl.
File metadata
- Download URL: norma43parser-1.1.2-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dff4476d0d39e740454ca52edfe6096c060e7773ca0b8761dd0a1f87c381ea2
|
|
| MD5 |
b567e43286e72621d8e8118fb6846356
|
|
| BLAKE2b-256 |
23f0848cd8bb7e0b4c27dacd58d45b848954457956e2f8c660db4afadf6d9779
|