# Account\_es and cia

**URL:** <https://discuss.tryton.org/t/account-es-and-cia/1560>\
**Category:** Ideas\
**Tags:** accounting, purchasing, sales\
**Created:** [July 13, 2019, 7:43am UTC](https://discuss.tryton.org/t/account-es-and-cia/1560 "2019-07-13T07:43:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [July 13, 2019, 8:43am UTC](https://discuss.tryton.org/t/account-es-and-cia/1560/2 "2019-07-13T08:43:20Z")

</div>

> [@josesalvador](#):
>
> Renumber account moves ordered by date and number: [Código de comercio](https://www.boe.es/buscar/act.php?id=BOE-A-1885-6627&p=20181229&tn=2)

Could you point to the exact description of this requirement. For me, it is a very strange requirement because the principle of immutability of posted accounting is very common and general.  
More over there is the post\_date and post\_number that have the constraint/design to follow each other order.

> [@josesalvador](#):
>
> Ensure that a new invoice has not previous date that the last one

There is already [Remove check\_invoice\_sequences (#5205) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue5205)

> [@josesalvador](#):
>
> Balance Sheet and Revenue and Loss

Why are the standard reports not good?

> [@josesalvador](#):
>
> A must procedure for the companies to communicate the invoices to government

Which one is missing? We have AEAT111, AEAT115, AEAT303, AEAT347 and AEAT349.

> [@josesalvador](#):
>
> To pad account code with a defined number of digits.

For me, it is really a feature to please people who can not adapt. It will not provide any functionality except introduce complex code and bugs.

> [@josesalvador](#):
>
> To prevent user to post twice the same invoice.

This is a feature that for me is not possible to implement right. It was discussed on [Add warning when an supplier with same reference already exists (#8244) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue8244)

> [@josesalvador](#):
>
> To add the option to do discount line by line in an invoice.

Discount display is a marketing thing so I think it is better to implement it on sale.  
We had an [old prototype](https://codereview.tryton.org/66001/) but it will be better to start from [Discount on Sale](https://discuss.tryton.org/t/discount-on-sale/472)

---

_[View the full topic](https://discuss.tryton.org/t/account-es-and-cia/1560)._
