> For the complete documentation index, see [llms.txt](https://docs.goldenedi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goldenedi.com/business-central/configuration/invoicing/units.md).

# Units

Converting your internal units to standard units.

We will now create one last mapping to convert the units you use internally in your system to something more standardized and more understandable to the outside. The units we support currently are listed in the table below. If something is missing in the table you can ask us and we will look into adding the unit so that you can use it.

{% hint style="info" %}
You can find the units in your system by going to the **Units** page. You only need to provide conversion for the ones that you use.
{% endhint %}

| Code        | Description                                                              |
| ----------- | ------------------------------------------------------------------------ |
| Undefined   | Undefined                                                                |
| Piece       | Piece                                                                    |
| Kilogram    | Kilogram (KG)                                                            |
| Litre       | Litre (L)                                                                |
| Milligram   | Milligram (MG)                                                           |
| Millilitre  | Millilitre (ML)                                                          |
| Millimetre  | Millimetre (MM)                                                          |
| Metre       | Metre (M)                                                                |
| SquareMetre | Square Metre (M^2)                                                       |
| QubicMetre  | Qubic Metre (M^3)                                                        |
| MetricTon   | Metric Ton                                                               |
| Bundle      | Bundle                                                                   |
| Box         | Box / Number of Packs                                                    |
| Gram        | Gram (g)                                                                 |
| Centimetre  | Centimetre (CM)                                                          |
| Kilometre   | Kilometre (KM)                                                           |
| Day         | Day                                                                      |
| Hour        | Hour                                                                     |
| Month       | Month                                                                    |
| PalletEuro  | EUR 6 Pallet (800 X 600 mm). Also known as ISO 0 Pallet, 1/2 EUR Pallet. |
| PalletEur   | EUR Pallet (800 X 1200 mm). ISO 6780 ISO 1 Pallet.                       |
| Bottle      | Bottle, Non-Protected, Cylindrical                                       |
| Bucket      | Bucket                                                                   |
| Pot         | Pot                                                                      |
| Bag         | XBG                                                                      |
| Roll        | Roll                                                                     |
| Tray        | Tray                                                                     |
| Pair        | Pair                                                                     |
| Gigabyte    | Gigabyte (GB)                                                            |
| ServiceUnit | Service Unit                                                             |

Start by creaing a new conversion document called **UNIT-STD**, enable it and start adding the lines for all units you use. Select the appropriate standard unit from the list above and set that as the value in **Code Value 2** for the unit.

![Converting STYCK to PIECE (Piece)](https://785456668-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVO7c8MSQ0ieazusCSE%2F-LXstNHeI9YRKzBfdmFI%2F-LXt9jAB-vwgkdRRl72n%2FScreenshot%202019-01-04%20at%2015.19.12.png?alt=media\&token=1b6f9c71-8ede-45f4-ad49-a326608762af)

As last time you can give it a nice description before backing out and saving the conversion document. This was the last conversion mapping you have to create to get the invoicing to work.

{% hint style="success" %}
We have now created all the conversion mappings necessary for invoicing and crediting.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.goldenedi.com/business-central/configuration/invoicing/units.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
