# Invoicing

# Troubleshooting

## Voucher bank transaction not found on issued invoice

- Go to sales order for this invoice and find bank transaction
- Rename voucher to something meaningful (e.g. Voucher payment - Jure Jager)
- Find this transaction on invoice by new name

# Cancel an issued invoice

<p class="callout danger">If invoice has already been issued and sent to customer, you need to issue a new credit note. You should not modify already sent invoices!</p>

1. Open the problematic **issued** **invoice** and remove all of its **items**.
2. Update the **shipping** and **financing** costs to **zero**.
3. Change status of the **issued invoice** to **canceled**.
4. Change invoice's **delivery note** status to **canceled.**
5. Delete **shipping list**:  
    [![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/ixRimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/ixRimage.png)
6. Delete **packing list** (flow is the same as for deleting shipping list)
7. Go to the **Packing work order** and open it's **material flow.**
8. Find all of the write-off documents:   
    [![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/BAuimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/BAuimage.png)
9. Open each write-off and cancel it (this will remove write-off transactions from database):
    
    [![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/8P3image.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/8P3image.png)
10. Material is now back on packing work order. Do with it what is necessary.

# Create an issued invoice for merch order

<div id="bkmrk-1.-open-the-merch-or">1. Open the **merch order** and check the partner and set it as **"checked"**   
</div><div id="bkmrk-"></div><div id="bkmrk-2.-copy-partner%27s-ad">2. Copy partner's address onto the merch order (with the buttons)  
</div><div id="bkmrk--1"></div><div id="bkmrk-3.-change-the-packin">3. Change the packing order status to **"closed"** and click the in "**+ Documents**" button for document generation:</div><div id="bkmrk--2"></div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/0Azimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/0Azimage.png)

<div id="bkmrk-4.-select-the-packin">4. Select the packing list and press the **"create"** button on the modal form that appears.</div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/maEimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/maEimage.png)

<div id="bkmrk-5.-next%2C-press-the-%22">5. Next, press the **"Move to <span class="JCzEY ZwRhJd"><span class="CSkcDe">transit</span></span>"** button.</div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/feTimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/feTimage.png)

<div id="bkmrk-6.-after-that%2C-creat">6. After that, create a new invoice for that packing list.</div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/9ilimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/9ilimage.png)

<div id="bkmrk-7.-once-create%2C-go-t">7. Once create, go to that invoice and select bank transactions that correspond to the invoice. Input customer's first and last name and select “Card payment” and “Voucher Payment”. These will together make up the amount of the invoice and the invoice will be automatically closed.  
</div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/hYcimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/hYcimage.png)

<div id="bkmrk-8.-in-the-%22bank-tran">8. In the **"Bank transactions"** section, transaction source of the **voucher** **payment** must be set to "**Voucher**" and for **Card** **payment** the transaction source must be set to **prepayment** (this has to be done to ensure the invoice is properly structured).</div><div id="bkmrk--8"></div><div id="bkmrk--9"></div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/Ydnimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/Ydnimage.png)

[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/Womimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/Womimage.png)

<div id="bkmrk-9.-after-that%2C-retur">9. After that, return to the merch order, write off the material and send the invoice to the customer's email.l</div><div id="bkmrk--12"></div>[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/scaled-1680-/adLimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-03/adLimage.png)

10\. After the invoice was sent, update the status of order to **"shipped".**