pybankreader.formats.bbf package

pybankreader.formats.bbf.records module

class pybankreader.formats.bbf.records.AdvmulHeaderRecord(initial=None)

Bases: pybankreader.records.Record

The AVDMUL header record. This will be the second record in the source file. Contrary to the docs, the record is identified by ADVMUL, but by ADVMUZ as well, so that’s why the regex.

app_id = None
bank_app = None
edi_msg = None
msg_rno = None
rec_typ = None
separator = None
class pybankreader.formats.bbf.records.AdvmulRecord(initial=None)

Bases: pybankreader.records.Record

The actual ADVMUL record. This signifies the actual remittance advice on the account.

MESSAGE_TYPE = {'11': 'charging order - priority', '55': 'rejected collection', '12': 'collection order', '01': 'charging order - priority'}
TRANSACT_TYPE = {'CR': 'cancelled credit transaction', 'C': 'credit transaction', 'DR': 'cancelled debit transaction', 'D': 'debit transaction'}
amount = None
app_id = None
balance = None
balance_code = None
balance_final = None
balance_final_code = None
balance_time = None
bank_app = None
bank_reference = None
client_account_no = None
client_name = None
client_no = None
client_reference = None
constant_symbol = None
currency = None
date = None
date_process = None
date_process_other = None
edi_msg = None
message1 = None
message2 = None
message3 = None
message4 = None
message_type = None
note = None
offset_account_bank_code = None
offset_account_name = None
offset_account_no = None
rec_typ = None
route_no = None
separator = None
specific_symbol = None
specific_symbol_offset = None
transact_no = None
transact_type = None
variable_symbol = None
variable_symbol_offset = None
weight = None
class pybankreader.formats.bbf.records.AdvmuzRecord(initial=None)

Bases: pybankreader.records.Record

The actual ADVMUZ record. This signifies the actual remittance advice on the account.

FEE_SETTLING = {'OUR': 'paid by creditor', 'BEN': 'paid by beneficiary', 'SHA': 'paid by each'}
MESSAGE_TYPE = {'DBE': 'outgoing payment', 'CRE': 'incoming payment'}
account_currency = None
amount = None
amount_account_currency = None
app_id = None
bank_app = None
client_account_no = None
client_advice1 = None
client_advice2 = None
client_advice3 = None
client_advice4 = None
client_advice5 = None
client_no = None
creditor_account_no = None
creditor_address1 = None
creditor_address2 = None
creditor_address3 = None
creditor_address4 = None
creditor_bank1 = None
creditor_bank2 = None
creditor_bank3 = None
creditor_bank4 = None
currency = None
date = None
date_due = None
date_process = None
edi_msg = None
exchange_rate = None
fee_settling = None
foreign_currency = None
foreign_fee = None
local_currency = None
local_fee = None
message_type = None
order_reference = None
other_fees = None
other_fees_currency = None
payment_reason1 = None
payment_reason2 = None
payment_reason3 = None
payment_reason4 = None
payment_title = None
rec_typ = None
reference_item = None
routing_code = None
separator = None
swift_code = None
weight = None
class pybankreader.formats.bbf.records.HeaderRecord(initial=None)

Bases: pybankreader.records.Record

The HEADER record. This will be the first record in the source file.

app_brand = None
app_id = None
app_ver = None
bank_app = None
edi_msg = None
rec_typ = None
separator = None
class pybankreader.formats.bbf.records.LockRecord(initial=None)

Bases: pybankreader.records.Record

The LOCK record. This will be the last record in the source file.

app_id = None
bank_app = None
count = None
edi_msg = None
rec_typ = None
separator = None
seq_no = None
timestamp = None

pybankreader.formats.bbf.reports module

class pybankreader.formats.bbf.reports.AdvmulReport(file_like=None)

Bases: pybankreader.reports.Report

data = None
header = None
hint_data(line)

Default hint method always returning True

Return bool:Always True
hint_header(line)

Default hint method always returning True

Return bool:Always True
hint_lock(line)

Default hint method always returning True

Return bool:Always True
lock = None
process_data(record)

Default process method just returning the record back

Return Record:the record
process_header(record)

Default process method just returning the record back

Return Record:the record
process_lock(record)

Default process method just returning the record back

Return Record:the record