L10N Object

An object that describes the language, time-zone and currency of a receipt.

Name

Type

Description

locale

string, optional

an RFC 4646 language tag

translation_locale

string, optional

an RFC 4646 language tag

timezone

string, optional

IANA time zone name

currency

string, optional, ISO 4217 alpha-3 currency code

a ISO 4217 three letter currency code

When posting a receipt to the API, if no L10N object is specified, or if any L10N field is missing, the values stored on the receipt are derived from the retailer and store’s configured localisation information.

Example

A L10N object for the UK:

{
  "currency": "EUR",
  "locale": "en_GB",
  "timezone": "Europe/London"
}