Accounting Entryies

49 views
Skip to first unread message

Carlos Eduardo Sotelo Pinto

unread,
Dec 1, 2015, 5:15:04 PM12/1/15
to try...@googlegroups.com
Dear Comunity

I am working on accounting module and I have a question about accounting entryies, let me explain:

I have notice that tryton use a default account entry, however, on my country ( Peru ) account flow is something like:

1. When an invoice is created, then an entry is created on debit.
2. Once the invoice is payed, the before a new entry is created on credit for pay the before entry. this both entryis are related to account entry number 12
3. two new entries are created on the payment for regiter the incoming, accounting entry 40 for the taxing authority and the 70 account entry for the incomes.

My question is, how will be the right way on create this workflow for accounting?

thanks a lot

--
Carlos Eduardo Sotelo Pinto
    Senior Software Analyst Developer
    Claro RPC +51983265994 | MOV RPM( # ) +51 966110066
    GTalk: carlos.so...@gmail.com | Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

No availability between 08:30 and 18:00, I will answer as soon as posible

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

Cédric Krier

unread,
Dec 1, 2015, 6:05:06 PM12/1/15
to try...@googlegroups.com
On 2015-12-01 14:36, Carlos Eduardo Sotelo Pinto wrote:
> Dear Comunity
>
> I am working on accounting module and I have a question about accounting
> entryies, let me explain:
>
> I have notice that tryton use a default account entry, however, on my
> country ( Peru ) account flow is something like:
>
> 1. When an invoice is created, then an entry is created on debit.
> 2. Once the invoice is payed, the before a new entry is created on credit
> for pay the before entry. this both entryis are related to account entry
> number 12
> 3. two new entries are created on the payment for regiter the incoming,
> accounting entry 40 for the taxing authority and the 70 account entry for
> the incomes.
>
> My question is, how will be the right way on create this workflow for
> accounting?

I don't think it is possible because what you describe goes against a
double entry accounting. Each debit must always be balanced by the same
credit, so the point 1 and 2 are not valid.
Tryton has strong enforcement for double entry principle.

PS: I find it strange that Peru doesn't use double-entry because this is
by far a world wide standard.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Antonio Roncero

unread,
Dec 2, 2015, 6:20:04 AM12/2/15
to tryton


El martes, 1 de diciembre de 2015, 23:05:06 (UTC), Cédric Krier escribió:
On 2015-12-01 14:36, Carlos Eduardo Sotelo Pinto wrote:
> Dear Comunity
>
> I am working on accounting module and I have a question about accounting
> entryies, let me explain:
>
> I have notice that tryton use a default account entry, however, on my
> country ( Peru ) account flow is something like:
>
> 1. When an invoice is created, then an entry is created on debit.
> 2. Once the invoice is payed, the before a new entry is created on credit
> for pay the before entry. this both entryis are related to account entry
> number 12
> 3. two new entries are created on the payment for regiter the incoming,
> accounting entry 40 for the taxing authority and the 70 account entry for
> the incomes.
>
I search a account move for a sale in Peru and it is to similar to Spain or european method

-------------------------------------- x ---------------------------------------
12 Cuentas por cobrar comerciales - terceros       413,000
      121 Facturas
40 Tributos por Pagar                                                            63,000
     401 Gobierno Central
     4011 IGV - Cuenta Propia
70 Ventas                                                                             350,000
     701 mercaderías
14/03 Por la venta de 10,000 Unid. de Polos S/. 35 c/u
-------------------------------------- x ---------------------------------------

10 Efectivo y Equivalentes de Efectivo             413,000
     104 Cuentas Corrientes
12 Cuentas por cobrar comerciales - terceros                   413,000
     121 Facturas
14/03 Por la cobranza efectuada de la venta de mercadería
-------------------------------------- x ---------------------------------------


So, I think that you can create a Peru accounting template with Tryton without problems.

Carlos Eduardo Sotelo Pinto

unread,
Dec 2, 2015, 8:05:04 AM12/2/15
to try...@googlegroups.com
​Great! that is my question, how to solve and what to do to solve it.

I am working on a custom peruvian account module, and was looking for a the account_es module for trying to understand it, and found the account_es.xml for the accounting chart, I am using it and the account_ar as template for my custom module. However, about the movements ( my knoowledge is no so high on tryton ), for example, in account_es.xml

<record model="account.account.template" id="pgc_213_child">
            <field name="name">Maquinaria</field>
            <field name="parent" ref="pgc_213"/>
            <field name="code">213</field>
            <field name="reconcile" eval="False"/>
            <field name="kind">expense</field>
            <field name="type" ref="es_balance_normal_11220"/>
            <field name="deferral" eval="True"/>
            <field name="party_required" eval="False"/>
        </record>

you have an entry code, but how or where I must define the movements sequence ( like the chart that antonio have pasted ), is it part of the tryton configuration or is a sequence that I must to write on the code?


THanks a lot for your comments

best regards

 
 

> My question is, how will be the right way on create this workflow for
> accounting?

I don't think it is possible because what you describe goes against a
double entry accounting. Each debit must always be balanced by the same
credit, so the point 1 and 2 are not valid.
Tryton has strong enforcement for double entry principle.

PS: I find it strange that Peru doesn't use double-entry because this is
by far a world wide standard.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
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/875ae9b9-f2d5-4b27-a5e8-80cac07a7a50%40googlegroups.com.



--
Carlos Eduardo Sotelo Pinto
    Senior Software Analyst Developer
    Claro RPC +51983265994 | MOV RPM( # ) +51 966110066
    GTalk: carlos.so...@gmail.com | Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

No availability between 08:30 and 18:00, I will answer as soon as posible

Please consider the environment before printing this email
Join the campaign at http://thinkBeforePrinting.org
Este correo electrónico se ha enviado desde un equipo libre de virus y protegido por Avast.
www.avast.com
Reply all
Reply to author
Forward
0 new messages