Switzerland mailing list archives

switzerland@odoo-community.org

Avatar

BVR/ESR for UBS Bank accounts / l10n_ch_payment_slip (Odoo 8)

by Steven Uggowitzer <whotopia@gmail.com> - 28/09/2016 19:44:53
I have received a number of pre-printed BVR+ forms for my UBS company account.  These have no client nor amount fields (obviously) in the BVR line 042> 
What I am trying to do based on the data from these forms, and UBS guide is to set up BVR invoicing for clients.


UBS Postfinance adherent number is 01-145-6 (which is what I put into the BVR Account/IBAN Number Field). This works fine.

I have received a sequence of reference numbers from the bank something like 61909 00001 -> 61909 00xxx
-- I set up a BVR journal sales account and sequence so that internally to Odoo, I can match this up.

So I'm running into some problems (though I may not fully understand the BVR line specification).

The checksum that Odoo generates for the Referenz-Nr field seems to be 3 digits at the end before the +. But the standard is 1 digit???

So the referenz-Nr, in my case should be:
>30 xxxxx yyyyy zzzz6 19090 0xxxC+

Where xxxxx yyyyy zzzz is a variant on my bank account number

And finally C is a single digit checksum.

But the best I have managed to do in Odoo is get the referenz-Nr:
>30 xxxxx yyyyy zzzz6 19090 0xxxC CC+

So the module outputs 3 checksum digits, which is not correct??? The whole string is now too long.

Also realised that the adherent number is max 11 characters. But ideally I need to fill in the 30 +  xxxxx yyyyy zzzz

Can someone advise??????

Many thanks,
Steven

Follow-Ups