# Common problems that prevent invoicing

## The "create invoice draft" button is greyed out.&#x20;

This can often be caused by activities not being linked to a price model. If this is the case, the "create invoice draft" will be greyed out.&#x20;

To solve the issue, you can see which activities will be invoiced, for example, directly in the "to be invoiced"&#x20;

![](/files/-MEwB28qFk9-01AZAS2f)

By going directly to the project, you will be able to click the tab "activities" then see which activities do not have a price model linked to them.&#x20;

![](/files/-MTLPXUIlP53t-33xoiD)

Here we can see that one of the activities does not have a price model, hence the project could not create an invoice. By clicking "edit" you can choose the correct price model and then you will be able to invoice the project. Just make sure to refresh the "to be invoiced" page before you try and create a draft.

## Lack of hourly rates on the price model

If you haven't defined hourly rates, Moment won't allow you to create a draft. Simply put this is due to Moment not having a basis to calculate the sales price in the invoice. Basically this entails an *Incomplete price set-up*

![](/files/-MTend14DS-uczXDRSph)

To fix this, simply click "go to project price setup" and add the hourly rates you need. Save the price model and refresh the "to be invoiced" page. This will solve the problem.&#x20;

## No defined payment in fixed price model

Sometimes you might forget to define a payment in a fixed price model. Although you might already have invoiced activities on that price model, Moment does not have a basis with which to estimate the next payment. In such a case you will get a message in the "to be invoiced" or "approval" page:&#x20;

![](/files/-MTep9JRJelXHTBKDNjY)

To solve this, simply go to project set-up and choose the relevant fixed price model. You will have to define a payment for the correct amount and date that you wish to invoice.

Save the price model and then refresh the "to be invoiced" page.  This will solve the problem.


---

# 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.milientsoftware.com/help/financial/to-be-invoiced/most-common-problems-that-prevent-invoicing-in-moment..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.
