> For the complete documentation index, see [llms.txt](https://docs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akinon.com/technical-guides/oms/fulfillment/invoice-integration.md).

# Invoice Integration

Invoices play a crucial role in order processing. In this tutorial, the process of providing invoice information to the OMS, which involves generating invoices after a packaging order, transferring them to the ERP system, and having the OMS copy the invoice will be explained.

## <mark style="color:red;">Invoice Generation​</mark> <a href="#invoice-generation" id="invoice-generation"></a>

It's important to note that the OMS does not create invoices but instead sends a request for invoice generation.

Invoices are among the main items of an order. In general terms, the flow of providing invoice information to the OMS can be explained as invoicing after a packaging order, transferring the invoice to the ERP system, and the OMS copying the invoice.

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

The OMS does not create the invoice, but solely sends a request for the invoice to be generated.

The key concept here is invoice integration, which refers to the OMS's ability to initiate an invoice generation process. This process can be synchronous, running on integrated supplier ERP software, or it can be handled by separate third-party software.

### <mark style="color:red;">Running the "Packed" Command​</mark> <a href="#running-the-packed-command" id="running-the-packed-command"></a>

When the **Packed** command is executed for Packaging Orders within the OMS, signifying the completion of the packaging process, the OMS sends a request to the invoice services. This request ensures that the invoice information is processed and associated with the relevant package. Additionally, the OMS allows for the printing of this invoice document.

By integrating invoice generation into the OMS, users can update their order processing and ensure accurate and efficient invoicing.


---

# 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.akinon.com/technical-guides/oms/fulfillment/invoice-integration.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.
