documentCapture.Language

Note:

The content in this help topic pertains to SuiteScript 2.1.

Enum Description

Holds values for the language of a document.

Use this enum to specify the language of the document when you call documentCapture.documentToStructure(options) (using the options.language parameter). If you don't specify a language when you call this method, the ENG (English) language is used by default.

Module

N/documentCapture Module

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Since

2025.2

Values

Value

Language

ARA

Arabic

CES

Czech

CHI_SIM

Simplified Chinese

DAN

Danish

DEU

German

ELL

Greek

ENG

English

FIN

Finnish

FRA

French

HIN

Hindi

HUN

Hungarian

ITA

Italian

JPN

Japanese

KOR

Korean

NLD

Dutch

NOR

Norwegian

OTHERS

Other languages not listed here

POL

Polish

POR

Portuguese

RON

Romanian

RUS

Russian

SLK

Slovak

SWE

Swedish

TUR

Turkish

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/documentCapture Module Script Samples.

            // Add additional code
...

const extractedData = documentCapture.documentToStructure({
    file: file.load("14"),
    features: [documentCapture.Feature.FIELD_EXTRACTION],
    documentType: documentCapture.DocumentType.RECEIPT,
    language: documentCapture.Language.ENG
});

...
// Add additional code 

          

General Notices