> For the complete documentation index, see [llms.txt](https://learn.erpag.com/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.erpag.com/project/create-new-product-1/untitled-4/basic-definition/minimum-purchase-quantity/early-payment-discount.md).

# QR Code patterns

QR Code (Quick Response Code) is a type of 2D barcode used  to provide easy access to detailed information for an item, by using a smartphone.

The pattern that is entered in ERPAG is&#x20;

"XXXXX SSFFFFFFFF-EETTTTTTTT LLLLLL"

* &#x20; X – SKU
* &#x20;S – Serial number leading chars
* &#x20;F – Serial number from / start counter
* &#x20;E – Serial number leading chars (to, end)
* &#x20;T – Serial number to / end counter
* &#x20;L – Lot number

&#x20;The option is applied in the mobile application when we receive items to our stock.

![](/files/-LUAULbiej8-799f1Xsq)

&#x20;When the menu is activated, all items that can be received are displayed (purchase orders have been previously created).

![](/files/-LUAUTl8TvhavWMV5kTH)

&#x20;When scanning through the camera, ERPAG compares the read QR code with the entered pattern. Decodes it and fills in the serial (and lot if the item is set that way) numbers.

![](/files/-LUAUbfD5D4_87YOArGW)

&#x20;The rest of the work is identical to the standard work on the mobile application.

![](/files/-LUAUiUUopY1DqgwpvLq)


---

# 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://learn.erpag.com/project/create-new-product-1/untitled-4/basic-definition/minimum-purchase-quantity/early-payment-discount.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.
