# Whole-Invoice Directions: Translation & Page-Range Control

### Abstract <a href="#id-3k4nyv437u5q" id="id-3k4nyv437u5q"></a>

Whole-invoice directions allow administrators to apply broad instructions that affect the way *Invoice AI* interprets and processes an entire invoice. This is especially useful for cases where invoices require language translation, examples need to be provided to ensure proper interpretation, or when only specific pages of a multi-page document should be scanned. By using the *Whole-Invoice Directions* box and the *Page Start/Page End* fields, organizations can control the scope and behavior of invoice scanning before data is imported into *NetSuite*.

This article explains how to configure whole-invoice directions within the *Invoice AI* interface. It covers how to apply invoice-wide translation, control page range scanning, and prevent unnecessary supporting documents from being processed into invoice lines.

### Applying Whole-Invoice AI Directions <a href="#id-1ryp7ge1ysxy" id="id-1ryp7ge1ysxy"></a>

Whole-invoice directions allow you to define instructions that apply to the entire invoice during scanning. This includes tasks like translation, providing examples, and expected output to increase accuracy, and controlling which pages are included in the scan. These directions are entered in the **AI Directions** box on the **Create AI Direction** page.

Follow these steps to configure whole-invoice directions:<br>

1. On the **Create AI Direction** page, locate the main box labeled **AI Directions**:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FhxVSYT9revUsTLpLWwcP%2F0.png?alt=media&#x26;token=5a21f1c6-2299-4bad-9cc1-51229fd5f510" alt=""></div>

   \
   \
   This field is used to enter an overall prompt that applies to the entire invoice. One of the most common use cases for this box is invoice translation. You can translate content from the language in which the invoice is written into a different language.\ <br>
2. To apply this to the full invoice, enter a direction like **"Translate into Spanish"** in the **AI Directions** box:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2Fq21ADDQYn7v16fCrOFBZ%2F1.png?alt=media&#x26;token=54908507-7a35-46d3-b5d0-eb4c508f0fb4" alt=""></div>

   \
   \
   When the invoice is scanned, all of its text will be translated and brought into *NetSuite* in *Spanish*.\ <br>
3. In addition to translation, you can define where scanning starts and stops by using the **Page Start** and **Page End** fields:\ <br>

   ![](https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2FqzqlZncodzoTtwzxRzNG%2F2.png?alt=media\&token=9ad20a3a-bb1c-4d80-8292-5aa15bafa510)

   \
   \
   This is useful when invoices contain extra pages, such as supporting documentation after the first page. Scanning those additional pages can create extra lines in your invoice document when reviewed in *NetSuite* — lines you don’t actually need.<br>
4. For example, with **Delta Consultants**, if you need only the first 2 pages of the invoice. In this case, scanning should stop after page 2. To stop scanning after the second page, enter **2** in the **Page End** field:\ <br>

   <div align="left"><img src="https://4244775538-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDi74GwuQpTYzdGbZQFpz%2Fuploads%2F5XZLYMlc24K181eQ76qp%2F3.png?alt=media&#x26;token=dd8d5962-7ade-4377-a4db-52f1161d541f" alt=""></div>

   <br>

This concludes the overview of how to apply whole-invoice AI directions in *NetSuite*.
