* Albert Cervera i Areny [2015-10-20 19:07 +0200]:
2015-10-20 18:38 GMT+02:00 Cédric Krier <[email protected]>:
Hi,

I was discussing about issue5016 [1] which is indeed a continuation of
issue4410 [2] and I came with the idea that we should remove the
invoice/credit_note type on the Invoice object.
Such types are really a big constraint that prevent us to generate mixed
documents (half invoice and half credit note).

So the idea will be to migrate the credit note to negate the quantity
and keep in type only 'in' / 'out' (aka 'supplier' / 'customer').

The only difficulty will be for the sequence. Until now, we have the
possibility to use different sequences for invoice and credit note. I
think the way to manage such change will be to warn early enough users
that such configuration will no more be possible in the future and so
people should configure the next fiscalyear by using unique sequence for
both types in prevision of the future migration.

We need both sequences in Spain as it is a legal requirement [1]. Yet,
it should not be all that difficult to choose the sequence depending
on the sign of the invoice.

So what do you think?

It has some advantages and simplifies things. Specially makes
supporting the negative quantities/amounts from sales much simpler.


[1] 
http://www.agenciatributaria.es/static_files/AEAT/DIT/Contenidos_Publicos/CAT/AYUWEB/Biblioteca_Virtual/Manuales_practicos/Facturacion_y_libros_registro_IVA/manual_facturacion_2011_es_es.pdf

If I understand correctly this document in fact there is other cases
where different sequences are mandatory (rectifications, intragroup
invoices, something about the travel agencies, etc).

So wouldn't it be more clever to put the sequence on the invoice and
let the user decide what is the right sequence to use?
The question that arise is how can the system infer the correct
sequence when generating the invoice from another document. In your
case it seems to be linked both to the kind of operation
(rectifications) or party involved (intra group) or maybe even other
things (I saw a mention of "natural year" (año natural) but I don't
understand it) …

--
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to