# LAG Integrations

## LAG Invoice Posting

### LAG Boxes not recognized

Its possible that LAG does not accept the boxes at the cargo agency on the moment of delivery. The reason is that some box id's were not posted to them, and therefor unknown. If a box ID is unknown in their system, they shall not accept the box until its been posted. &#x20;

### LAG How to post a box ID?&#x20;

First you have to known, which invoice corresponds to the box ID. \
Go to [Search Purchase Orders](/sales/search-purchase-orders.md) and fill in the Box ID.&#x20;

![Search PO Page](/files/m6UKYrJv5Nr6140gOjbC)

Enter the Invoice Form, Click on Invoice Formats and hit Post Alianza.

![Invoice Form](/files/NO5VcCUo3NU6sUaWjd0t)

### LAG Return Messages

When you hit post, you can receive two messages back.&#x20;

#### **1) Post successful!**&#x20;

![Post message LAG](/files/TFODk03N7BUUygCxxJ64)

That means, you have solved the problem. Now all your boxes are now known in the system of LAG and you shall have no problems anymore with delivering the boxes.

#### **2) Post failed!**

![Post message LAG](/files/Ek5p79vMmOrOmWuvEI3G)

It can happen that the AWB / Invoice is closed, and therefor it is not longer possible to update any date via a post from our system. In that case, you shall have to contact LAG, in order that they re-open up the AWB / Invoice for posting, in order that you can re-post the invoice data (which contains the boxes). Its essential that you shall keep on trying to communicate with LAG, and try to re-post the data until you get a message back "Post Successful!".&#x20;


---

# 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://manual.unosofbooks.com/exportations/lag-integrations.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.
