# Localizing invoices and credit memos

To control how [purchase invoices and credit memos](/digital-river-api/order-management/accessing-invoices-and-credit-memos.md) are localized, you can define the checkout's [`language`](#language) or its [`locale`](#locale).

## Language

If you send a [supported `language`](#supported-languages) in a [create](https://docs.digitalriver.com/digital-river-api-reference/2021-12-13/checkouts#checkouts-1) or [update checkout request](https://docs.digitalriver.com/digital-river-api-reference/2021-12-13/checkouts#checkouts-id-1), then Digital River maps it to one of our [supported locales](#supported-locales) and uses that value to set the [checkout's ](https://docs.digitalriver.com/digital-river-api-reference/2021-12-13/checkouts)[`locale`](#locale).

### Supported languages

For a list of accepted values, refer to [Supported languages](https://docs.digitalriver.com/digital-river-api-reference/digital-river-api-reference-guide/supported-languages).

## Locale

At the time of order creation, Digital River uses the [checkout's](https://docs.digitalriver.com/digital-river-api-reference/2020-12-17/checkouts) `locale` to set that same attribute in the [order](https://docs.digitalriver.com/digital-river-api-reference/2021-12-13/orders), determining how [purchase invoices and credit memos](/digital-river-api/order-management/accessing-invoices-and-credit-memos.md) are localized.

The default value is `en-US`.

### Supported locales

The following table lists all the `locale` values, which combine a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code with an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code that Digital River supports:

| Locale  | Language  | Country                   |
| ------- | --------- | ------------------------- |
| `fr_BE` | French    | Belgium                   |
| `fr_CH` | French    | Switzerland               |
| `fr_FR` | French    | France                    |
| `fr_CA` | French    | Canada                    |
| `it_CH` | Italian   | Switzerland               |
| `it_IT` | Italian   | Italy                     |
| `nl_BE` | Dutch     | Belgium                   |
| `nl_NL` | Dutch     | Netherlands               |
| `no_NO` | Norwegian | Norway                    |
| `pl_PL` | Polish    | Poland                    |
| `ja_JP` | Japanese  | Japan                     |
| `ro_RO` | Romanian  | Romania                   |
| `ko_KR` | Korean    | Korea                     |
| `zh_CN` | Chinese   | China                     |
| `zh_TW` | Chinese   | Taiwan, Province of China |
| `cs_CZ` | Czech     | Czechia                   |
| `da_DK` | Danish    | Denmark                   |
| `fi_FI` | Finnish   | Finland                   |
| `de_AT` | German    | Austria                   |
| `de_CH` | German    | Switzerland               |
| `de_DE` | German    | Germany                   |
| `es_ES` | Spanish   | Spain                     |
| `sv_SE` | Swedish   | Sweden                    |
| `en_US` | English   | United States             |


---

# 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.digitalriver.com/digital-river-api/integration-options/checkouts/creating-checkouts/designating-a-locale.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.
