raphaelm / python-sepaxml

SEPA Direct Debit XML generation in python
MIT License
110 stars 42 forks source link

Add option to limit size of batch #10

Open ralphje opened 6 years ago

ralphje commented 6 years ago

At my bank, there is a limit to the amount of transactions in a single batch (which is 500). If there are more than 500 items in a batch, it is rejected.

It would be really helpful if sepadd allowed for either specifying the batch the transaction gets added to, or automatically selecting a new batch when a limit is reached.

ghost commented 5 years ago

I don't think it's necessary. If you write a program you can easily count the number of debits you add to the function.

ralphje commented 5 years ago

I want to specify all transactions in the same XML file, but since you can't specify which batch the transactions are added to, you end up with either 500 transactions per file or batches that are too large.

I agree that counting is not that hard :)