On Tue, Jan 16, 2018 at 10:14 AM, Cédric Krier <[email protected]>
wrote:

> On 2018-01-15 17:42, Carlos Eduardo Sotelo Pinto wrote:
> > On Mon, Jan 15, 2018 at 4:02 AM, Cédric Krier <[email protected]>
> wrote:
> > > On 2018-01-14 19:19, Carlos Eduardo Sotelo Pinto wrote:
> > > > I need to find a way to delete an invoice, it could be posted, then I
> > > need
> > > > to get back all its movements or delete them. The reason is since I
> > > couldnt
> > > > get them back with a credit note, i just need them nulled or deleted
> to
> > > > notice tax authority as nulled as if never have been posted
> > >
> > > What type of invoice? For supplier invoice you can cancel a posted
> > > invoice which will create a cancel move.
> > > For Customer invoice, you can only make a credit note (with refund). It
> > > is forbidden to delete an invoice because it may appear as a fraud
> > > tentative.
> > >
> >
> > The issue is that some invoices were wrong filled​, and is no possible to
> > acredit the invoice. I have asked the tax authority and is possible to
> > solve this issue if the invoice were not generated, like if the invoice
> > have no exixted and the number was an error. My argument was
> >
> > 1. was filled on a wrong way
> > 2. it has a number generated
> > 3. was not sent to the tax authority ( each invoice is sent inmediatleey
> to
> > the tax authority )
> >
> > but, it is on system, then I need to find a way, probably directly on
> > database for this case, to delete all generated data related to this
> invoice
>
> It looks like you have a distributed transaction issue with your tax
> authority. At some point, the invoice should be sent to the tax
> authority for validation prior to posting if they can decide if it is
> valid or not.
>

​Any posted invoice must be sent to the tax authority in mediatley or at
least 7 days as later via soap service



>
> Any way, I think the only proper way is still to make a credit note.
>

​I am sure of that, but I have just some wird case that I couldnt make a
credit note​

>
> --
> 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/20180116151407.GQ4241%40kei.
>



-- 
Carlos Eduardo Sotelo Pinto
    Agile Coach | Python Software Developer | Tryton ERP Consultant
    Claro RPC +51 989550602 <989%20550%20602>
    Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

*Please consider the environment before printing this email*

*Join the campaign at http://thinkBeforePrinting.org
<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%3DE91OTViFb%3Dpvsg00sNvZrJD8yHY9M%2BpaeTuuudL3HmHGw%40mail.gmail.com.

Reply via email to