How to tie a corrective credit note (or invoice) to its corresponding purchase?


on one of my purchases, the supplier invoiced twice the delivery fee (on separate invoices). Both original invoices are encoded and linked to the purchase, I just manually added the offending delivery fee on the second invoice.

Now I received a corrective credit note, with only a negative delivery fee, but when I encode it in tryton it’s not tied to the purchase.

How can I link it to the purchase so that the history is better documented ?


The links are done by the origin field on the invoice line but it must point to a purchase line. So you do not have such line to point to (just like you did not link the extra delivery fee).
I think the best you can do is to reconcile this credit note with the supplier invoice and its payment.

IMHO we are missing additional links for credit notes. Because a user would expect to see the credit note also on sales/purchases invoices and also having a link on the invoice to the credit note and having a link on the credit note to the invoice.
As the credit functionality is invoice line based, the link to the invoice could be a one2many to the invoices of the credited lines. What do you think?

I do not agree. The initial wrong invoice is not linked to any purchase so there is actually not point to link the correction to the purchase anyway. Users can if he wants link the correction with the wrong invoice line like if he had created a credit note from it.

the initial invoice is linked to the purchase through its other lines, only one invoice line is wrong.

I’ll link the correction line to the original faulty line, so history is somehow conserved. I can live with that, but it would be best if that made the credit note appear in the invoices for that purchase. After all, it is linked, in reality and in the program.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.