Created on 2019-04-01.14:38:52 by lukio, last changed 22 months ago by ced.
I do not see neither in documentation provide that the requirement corresponds to the tax identifier. For me, it is clear that this requirement is NOT a tax identifier because: * it depends on the amount * it is not said that it must be printed on invoice * it is not said when and how this identifier must be reported * it is too late to request it on invoice, it mus be on the sale in most case * it is pointless to store a unique identifier on every document linked to the party, well because it is UNIQUE. * In Tryton it is enough to identify the party of a document with well the party (as long as he has the proper identifiers). So for me, it is wrong and not complete to just add DNI as tax identifier. The Argentina localization must create a workflow where it checks that the system knows for the related party the DNI when it is needed and as earlier as needed. For example when confirming a sale order but also when posting an invoice.
@lukio could you explain what defines a *final customer* for Argentina? Is something that may be interesting for other contries? Does it make sense to allow only ar_cuit for tax identifiers, and when reporting to the tax authority include the ar_dni of the party for invoices with amount greather than 1000$?
Hi cedk, the requirement of having an identity number (dni) for customer is when the invoice reviews the character of final consumer. If the invoice amount is greater than <defined> amount, the identity number is mandatory, if not the party_tax_identifier is not necesary to be setted. from https://codereview.tryton.org/283141002/#msg13 """ It will be mandatory to enter the Unique Tax Identification Code (C.U.I.T.) in all cases, except in the event that the recipient of the receipt reviews the character of final consumer """ The character of *final consumer* is something that is not of a tryton core module, is something that is added from contrib modules party_ar and account_invoice_ar. So, if we could have a module that can set the party_tax_identifier for example matching the invoice amount at core, I think we could added a new contrib module that add a patterns to set the identity number on the character of final consumer.
Following https://codereview.tryton.org/283141002/#msg13 I think the requirements of having an identity number for customer when the amount of an invoice is greater than <defined> amount, does not match with the design of the tax identifier. Especially because many kinds of identity number are valid. For me such requirements are not linked to tax reporting but to money laundering. So I think it will be better to implement it with a new module that actually check the requirements based on the amount.
Added a review code: https://codereview.tryton.org/283141002
It will be great if you can contribute a patch (http://www.tryton.org/develop). You will need to increase the required stdnum on setup.py and include the new identifier on the list of available ones.
Hi! ar_dni was included into python-stdnum v1.11. https://arthurdejong.org/python-stdnum/doc/1.11/stdnum.ar.dni AR_DNI is is validating the Argentinian national identity. The other one, ar_cuit, was added with the issue7906. Thanks!
|2019-06-30 09:45:52||ced||set||messages: + msg50474|
|2019-06-29 12:11:57||pokoli||set||messages: + msg50473|
messages: + msg50469
messages: + msg50222
|2019-05-07 09:31:22||reviewbot||set||messages: + msg49657|
|2019-04-25 08:59:26||pokoli||set||priority: wish -> feature|
type: behavior -> feature request
messages: + msg48296
|2019-04-01 15:20:23||reviewbot||set||reviews: 283141002|
keyword: + review
|2019-04-01 15:10:54||lukio||set||status: in-progress -> testing|
messages: + msg48294
|2019-04-01 15:02:22||lukio||set||status: chatting -> in-progress|
Showing 10 items. Show all history (warning: this could be VERY long)