> For the complete documentation index, see [llms.txt](https://docs.milientsoftware.com/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.milientsoftware.com/help/financial/payments-and-write-off/our-customers-have-paid-an-invoice-twice-ocr-file-has-been-read-twice.md).

# Customer has paid an invoice twice/OCR file has been read twice

If a customer has paid an invoice twice, or paid a larger amount than needed you can easily solve this in Moment.&#x20;

\
Because Moment is not an accounting software, the main concern will be to make sure that the customer ledger balances out. To solve this, click on the selected invoice and go to \
\&#xNAN;*Payments and write-offs*. You will then see a page similar to this:&#x20;

![](/files/-MT_ZzlbpXudkz_DINq5)

\
In this example the amount that has been paid in excess of the total is 31 935 NOK. You can then click on "New payment"\
In that section, add a new negative payment (this will come automatically if Moment has already registered an invoice as paid twice)\
Write a quick note (to keep track of changes) and click "save".&#x20;

![](/files/-MT__LJCre03YieaG520)

\
This will make the customer ledger for this customer balance out. Off course, this process merely balances the account, but no reimbursement or credit has been made to the customer. The proper bookkeeping entry and payment has to be made through the accounting software. \
\
\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.milientsoftware.com/help/financial/payments-and-write-off/our-customers-have-paid-an-invoice-twice-ocr-file-has-been-read-twice.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
