# Why is the Due Date not populating correctly?

Charted uses **NetSuite's native functionality** to automatically calculate the **Due Date** based on the **Terms** set on the vendor record. If the Due Date is defaulting to the invoice date or appears incorrect, it’s likely that the Terms are missing or incorrectly set on the vendor record.

To fix this issue for each affected vendor, follow these steps:

1. **Search for the Vendor**\
   Use NetSuite’s **Global Search** to locate the vendor by typing the vendor name.

   <figure><img src="/files/nthLuBGYyJFeIAw5tlNt" alt=""><figcaption></figcaption></figure>
2. **Edit the Vendor Record**\
   Click on the vendor name in the search results to open the record, then click **Edit**.

<figure><img src="/files/DsMfcpDiuwfiGuKQvFan" alt=""><figcaption></figcaption></figure>

3. **Update the Terms Field**

   * [ ] Navigate to the **Financial** tab (tab names may vary depending on your form customization).
   * [ ] Find the **Terms** field and select the correct payment terms from the dropdown menu.

   ⚠️ *Note: NetSuite forms can be customized, so your vendor record layout may differ.*

<figure><img src="/files/8YZtX7Weon4FmskuFB0Y" alt=""><figcaption></figcaption></figure>

4. **Save the Record**\
   Click **Save** to apply your changes

   <figure><img src="/files/PYv3kprWDebojOKiDeDw" alt=""><figcaption></figcaption></figure>

After updating the Terms, newly created transactions for that vendor should now reflect the correct **Due Date** based on the specified payment terms.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.charted.com/ap-automation/charted-faqs/invoice-ai/why-is-the-due-date-not-populating-correctly.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
