VTEX inStore
Invoiced orders
Setting up fields for issuing invoices with inStore

For the invoice of an order made using inStore to have all the necessary fields, you need to configure some extra fields in the orderForm. In addition, these extra fields allow VTEX orders module to correctly identify when an order is made through inStore.

To set these extra fields up, follow the steps below:

  1. Make a request to the Get orderForm configuration.
  2. Save the response from this request.
  3. You will see that the "apps" property will have the value of an empty array ([]). Insert the following snippet in the brackets:
       "fields": [
      "id": "cart-extra-context",
      "major": 1
  1. Save your text file.
  2. Make a request to the Update orderForm configuration. The body of this POST will be the entire content of the file from the previous step.

Now the orderForm of your orders already has the extra fields. To check if the POST has succeeded, you can check the update by using the Get orderForm configuration and verify that the "apps" property has the new information.

Photo of the contributor
+ 1 contributors
Was this helpful?
Suggest edits (Github)
Photo of the contributor
+ 1 contributors
On this page