Entering the invoice in the order is a required step for its status to change to Invoiced
- a sign that the order has been successfully completed. Remember that once an order is read as invoiced by the system, this status cannot be changed.
You can invoice orders in two ways:
- Manually: In the VTEX Admin > Orders > All Orders, click the order and then click the
Invoice
button. Learn more in How to manually invoice an order. - Via API: If you have an ERP integration, use the Order invoice notification request.
Changing the order status to Invoiced
Only after reaching the total order value will the status change to Invoiced
, that is, when the order's value matches the invoiced amount. There are three scenarios for invoicing, depending on the order's situation:
- Unchanged order: you must enter an invoice with an amount equivalent to the total value.
- Changed order > discounting the amount > followed by a separate invoice: you must insert an invoice with the amount remaining after the change. The invoice can be partial, or complete, if it contains all the amount remaining after the change.
- Order with partial invoice > followed by change with discount: you must make a change, discounting the remaining amount. To do this, calculate the total amount, minus the partial invoice amount.
Invoice
The invoice requires attention to the following points:
- Invoice Number: This number must be unique per invoice per order. If you enter two invoices with the same number, the system will understand it as a change of invoice.
- Tracking Number: This number, along with the tracking URL, enables tracking of the delivery by the customer through emails that are sent with each change to that tracking.
- Password: This is the access key for the NF-e (electronic invoice) consultation on the internet. This field must be filled in for electronic invoice cases only.
When the URL and tracking code are entered, with each delivery status update the customer will receive an email notifying them that the delivery has advanced.
Conversation Tracker - the system that manages emails exchanged with the customer - depends on entering some value in this field. If you do not have a tracking number, simply enter any value to activate the notification system.
You can also enter the invoice via the Orders API.