Extract document (sync)
For a user-uploaded document, call the specified document extraction application and extract content from the file based on the application configuration and rules. The same endpoint applies to custom extraction applications, overseas invoices, receipts, purchase orders, domestic general bills, and cards.
Authorizations
Production OpenAPI Accessor access_key. You can find it in My API in the ADP platform. If the key is disabled, expired, or does not belong to the production environment, the API returns Accessor not found.
Headers
Field name language. Use zh for Chinese or en for English.
zh, en Path Parameters
Tenant name. Default: laiye.
Body
- Use file URL
- Use file Base64
Unique application ID.
File URL. Use either file_url or file_base64.
Whether to return document recognition results. High-speed extraction does not return recognition results.
