When following your store order flow, you may come across an order that has the status Verifying invoice
for longer than expected. This status means the platform is verifying that the payment has been settled and the order's invoice has been correctly added, which are required conditions for the order to move forward in the flow.
The status Verifying invoice
usually indicates the following reasons:
- There was a problem with the payment settlement.
- The invoice was not correctly added to the order, or the invoice was only partially processed.
Solution
Regarding payment settlement, the order remains with the Verifying invoice
status until the gateway confirms the payment, which is indicated by the status Settled
in the transaction flow. If the settlement isn’t completed after a while, a new order must be created, as the issue is related to the gateway and not the platform.
For the invoice, you need to ensure that the total amount of the order was invoiced and that the information sent was correct, as described in the section below.
Invoicing an order
Here are some common order invoicing errors and how to fix them:
- The invoice entered only refers to some of the items: Submit a new invoice with the missing amount to cover the total amount of the order.
- Invoice with errors: Check the invoice details and make sure they are correct. Some of the required fields that may have been incorrectly completed are the invoice number and URL. Remember that each invoice must have a unique number.
- There is a problem in the integration that is affecting the sending of the invoice: Submit a new invoice manually.
To invoice the order (fully or partially) or edit the invoice data via the VTEX Admin, follow the steps below:
- In the VTEX Admin, go to Orders > All Orders, or type All Orders in the search bar at the top of the page.
- Click the desired order. You can find it using the filters.
- In the Pending invoicing section, click
Invoice
. - Click the desired option, either sending the invoice as a single invoice or referencing the items.
- Complete the fields.
- Click
Save Invoice
.
You can find detailed instructions on how to submit an invoice via the VTEX Admin in How to invoice an order. If you want to invoice the order via API, use the Order invoice notification endpoint.
If the order needs to be adjusted, you can change the order via the VTEX Admin.