# Purchase Invoice

Purchase Invoice can be created in two ways

1\) From Goods Receipt

2\) From Purchase Invoice window

### 1) From Goods Receipt

* Click on the Actions button in Goods Receipt and select Generate Invoice.
* Purchase Invoice is created directly and you can check in Purchase Invoice window.

### 2) From Purchase Invoice window

* Click on Purchase Invoice on the left menu and click on Add New button.
* Fill the required fields and click on Save button.

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

* Click on Plus button and add product, quantity and click on Save button.
* We can click on Save & Next to add another product to the same invoice.

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

* Click on the Complete button to process the purchase invoice.
* After the complete button is clicked we can see that the status of the invoice is changed from Draft to Booked.


---

# 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.cwsuite.com/purchase/product-guides/orders/purchase-invoice.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.
