Hi Cedrik

2016-12-04 6:34 GMT-05:00 Cédric Krier <[email protected]>:

> On 2016-12-03 21:46, Carlos Eduardo Sotelo Pinto wrote:
> > Hi Cedrik, List
> >
> > Yes Cedirk, you are right, there is no difference on accounting, just on
> > the printing, on this way:
> >
> > - Simple invoice, no taxes must be printed, but the taxes are the same
> > - Commercial invoice, taxes printing is mandatory as a common invoice.
>
> So I do not see why you could not use the same layout. A simple invoice
> with taxes shown will not make it invalid.
>

​Yes, I currently using this layout​, however I am having some issues, on it

>
> > I guess, the main difference is relted to party, no the invoice at
> itself.
> > As the information provided and the ER diagram, Party could be
> categorized
> > on :
> >
> > - Companies, which one just could request for a common or commercial
> invoice
> > - No companies, this kinds of partyes couldnt request the common invoice,
> > just simple invoice
>
> I do not understand the point. You just said that both type does exactly
> the same.
>

​Yes, on accounting side is the same behavior, but printing report are
different. I have solve that on this way

- Giving a sub type [ Boleta, Factura ] with diferent sequences

Until here all is ok and work perfectly, the issue is:

- There is no restruiction on the use. I mean.

- Boletas ( Simple invoice ) must be ussed just for NON Companies ( Parties
with no VAT identification )
- Facturas ( Current Invoice ) must be used just for COmpanies ( Parties
with VATidentification )

And the generated problems

- A lots of mistakes generated for the final users since there is no a
restriction for Parties

* Simple invoices generated for Companies that must be nulled later
* Comercial invoiced generated for Non COmpanies

I need to fins a way on the tryton layout in order to restrict:

- Parties must have one of this identifiers as unique and main identifier:

CODE| Description
==================================
* 0 | DOC.TRIB.NO.DOM.SIN.RUC
* 1 | DOC. NACIONAL DE IDENTIDAD
* 4 | CARNET DE EXTRANJERIA
* 6 | REG. UNICO DE CONTRIBUYENTES
* 7 | PASAPORTE
* A | CED. DIPLOMATICA DE IDENTIDAD​

​- Based on the before point, commercial or current invoice must be
generated just for customer parties with Code 6 ( Companies ) other wise,
just simple invoice

- That codification must be part of the document party and a combination
with the number of the document. I must be suing idetifiers, however
identifiers are on a many to many relation ship, I could add more than one
identifier to one party, that is a legal issue. I could fix it just
extending parties.

- Invoice types must be coded on this way ( There are 19 different taxable
documents but we could start with this 4):

​ CODE| Description     | Document Name
=======================================
​* ​
​01 | ​
FACTURA
​         | ​380

​* ​
​03 ​
​| ​
BOLETA DE VENTA
​ | 346​

​* ​
​07 ​
​| ​
NOTA DE CREDITO
​ | 381​

​* ​
​08 ​
​| ​
NOTA DE DEBITO
​  | 383​




​THat is my issues, I have it clear on my side, extend the invoice witha
relation ship restriction on the party document type, however I dont want
to break trytonic way. That is teh reason on asking the a suggest
​

>
> > As explained on before, I am using just a difference on the printing,
> and I
> > use a extra field like "Invoice document type", then I could choice which
> > one will be the final printing. However this is no making a real
> difference
> > between the parties related, since I could select a non company and use
> the
> > common invoice, do you make send?
>
> This will be solved by using the same layout.
>
> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: [email protected]
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "tryton" group.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tryton/20161204113420.GF71015%40tetsuo.
>



-- 
Carlos Eduardo Sotelo Pinto
    Senior Software Developer
    Claro RPC +51 989550602
    GTalk: [email protected] | Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

Please consider the environment before printing this email
Join the campaign at http://thinkBeforePrinting.org

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/CAEhw%3DE-x0GZKPykC34MaVJq6ZtLqVOv4TiLr8MfpiZ9YWqvr8Q%40mail.gmail.com.

Reply via email to