← Back to team overview

openerp-expert-accounting team mailing list archive

Invoice numbering

 

In Austria it's common to use following scheme for invoice (in and out) date 
and numbers

the invoice date corresponds to the month (period) and is relevant for VAT 
declaration. in chricar_price_unit branch I have added code which allows users 
with a certain role to alter the invoice date which in turn triggers the 
correct period and to set it to the last day of month or year if the invoice 
must be posted in a past period.
this is true for all 
* incoming invoices due to postal transfer - time lag
* outgoing invoices which often can only be created AFTER period end until all 
data of the period are entered (it's idealistic to believe that all data are 
real time - example project time sheet data for employees without connection - 
they often have to enter data for the past period when back in office and 
theses are needed to bill.

the invoice number starts usually with 1 for a new fiscal year

This is currently not what OpenERP supports
- the invoice date is the current date and the invoice number is derived from 
the fiscal year ( not always .. as I see in the new fiscal year - it depends 
which form I use.....)
- it's possible to "force" a different period, but this is not visible for 
customers - it is required here that both partners post the invoice in the 
same period to avoid VAT fraud.
- the prefix %(year)s is derived from calendar year - so a limited usage is 
given.

before I start investing time to check / adapt 
./account/sequence.py
I'd like to get feedback if the numbering scheme I described is common and 
should be implemented as
* only method or
* optional

the following problems have to be solved
* trying to create a new supplier invoice from
** New supplier invoice: trying to set a date in the previous fiscal year 
increments the number by 2 instead of 1.
** Using the button "New" from "Supplier Invoices": trying to set a date in 
the previous fiscal year uses the sequence from the current year..

thanks for comments
-- 
Best Regards

ChriCar Beteiligungs- und Beratungs- GmbH
http://www.chricar.at/ChriCar/index.html
Dr. Ferdinand Gassauer
Official Tiny Partner



Follow ups