You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Andrei Stan <an...@netdava.com> on 2021/03/30 19:05:04 UTC

Invoices - Refund a client (storno) invoice

Hello guys,

I am importing my invoices in ofbiz, and i have an issue in figuring out 
how to deal with refunding a client.

Here is the situation:

- the Client payed for the CompanyX's services (IT services) the amount 
of 25 EUR;

- after a while, CompanyX creates an storno invoice and gives back 5 EUR 
to Client as a promotional disccount;

- if i set the amount="-5" for the storno invoice, it is not ok for 
accounting part:

     - for example in the "Find invoices" page the "Total = - EUR 5" and 
"Outstanding Amount = - EUR 5";

Sample data:

<InvoiceItem
invoiceId="IT-SERVICES"
invoiceItemSeqId="1"
invoiceItemTypeId="INV_FPROD_ITEM"
productId=""uomId="EUR"
quantity="1.0"
amount="-5"
description="Storno - Software installation"/>

Is there a way to resolve this?

Thank you.