Skip to main content
POST

Authorizations

X-API-KEY
string
header
required

Headers

accept-language
enum<string>
default:en

Field name language. Use zh for Chinese or en for English.

Available options:
zh,
en

Path Parameters

tenant_name
string
default:laiye
required

Tenant name. Default: laiye.

Body

application/json
file_url
string<uri>
default:https://adp.laiye.com/web/agentic_doc_processor/laiye/file/2003c711818811f1a36200163e358400
required

File URL. Use either file_url or file_base64.

app_id
enum<string>
default:ootb_r3s6t9u2v5w8x1y4z7a0b3c6d9e2
required

Preset application ID. High-speed (global, default): ootb_r3s6t9u2v5w8x1y4z7a0b3c6d9e2; Southeast Asia: ootb_u2v5w8x1y4z7a0b3c6d9e2f5g8; Standard: ootb_a3f8h1j5k9n2p7q4w6x0y3b5c8d1.

Available options:
ootb_r3s6t9u2v5w8x1y4z7a0b3c6d9e2,
ootb_u2v5w8x1y4z7a0b3c6d9e2f5g8,
ootb_a3f8h1j5k9n2p7q4w6x0y3b5c8d1
file_name
string

File name. Provide it for Base64 input or when the name cannot be determined from the URL.

enable_multi_ticket
boolean
default:true

Whether to split multiple invoices or receipts in one file into separate results. Only the high-speed (global) and Southeast Asia versions support this option. It applies only to the current request and does not modify the application configuration.

enable_field_value_translation
boolean | null

Whether to enable field-value translation for the current request. If omitted or null, the saved application setting is used. This option does not modify the application configuration. The accept-language header determines the target language.

Response

Extraction result.

code
message
string
tips
string | null
data
object