# Reference Codes

A *reference code* is a unique identifier for a record in Octoo. It is used to quickly find items such as requests, invoices, jobs, and agreements. Reference codes are alphanumeric and prefixed with a letter that indicates the type of record. For example, `RQ12345` is a request.

* `RQ` - Request
* `AP` - AP Invoice
* `AR` - AR Invoice
* `PF` - Proforma Invoice
* `JB` - Job
* `AG` - Agreement
* `SV` - Service

Most email communications from Octoo will include the reference code in the subject line or body of the message. This makes it easy to find the related record in the system by searching (below).

## Search by reference code

Either type of paste the reference code in the search box at the top of the page to quickly find the record. The search box is available on most pages in Octoo.

<figure><img src="/files/EjV9qgN1FrM8H205sFJ4" alt=""><figcaption><p>Empty search field</p></figcaption></figure>

After entering the reference code, Octoo will display a match (if one exists). This search is not case sensitive so you can do either `rqabc12` or `RQABC12` and the result would be the same. If a match is found, click on the link to view the record.

<figure><img src="/files/wuhcjLC7UnSOe03h8jUL" alt=""><figcaption><p>Record match displayed</p></figcaption></figure>

### Incorrect code or permission

If you enter a reference code that cannot be found you see a message indicating the query didn't match any results. This could be because the code is incorrect or the record was destroyed.

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

NOTE: Sometimes the record you are searching for may have been removed or you may no longer have permission to view it. When this happens, Octoo will display a message indicating the reason after you locate the record.

<figure><img src="/files/9284F0T3NqYdpxgC6V9W" alt=""><figcaption></figcaption></figure>

### Partner Search

Note that partner accounts have additional search features. You can read about them in the [Partners -> Search](/partners/search.md) section.


---

# 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.octoo.com/reference-codes.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.
