发票解析 API | SharpAPI             [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](/)  打开主菜单    

  API 目录      

 [ 电子商务  ](/zh/catalog/ai/e-commerce)从产品详情到客户互动，简化电子商务各个方面的API。

 [ 内容与营销自动化  ](/zh/catalog/ai/content-marketing-automation)自动化工具用于高效的内容创建、观众互动、审核和营销工作流程。

 [ 人力资源技术  ](/zh/catalog/ai/hr-tech)旨在简化招聘、简历解析、技能匹配和候选人评估的API。

 [ 旅游、旅游业和酒店业  ](/zh/catalog/ai/travel-tourism-hospitality)工具以增强旅行和酒店服务，从客户洞察到产品组织。

 [ 搜索引擎优化  ](/zh/catalog/ai/seo)解决方案可以自动化您的SEO必需品，包括标签和元数据管理。

 [ 会计与金融  ](/zh/catalog/ai/accounting-finance)用于发票处理、收据解析和财务文档分析的AI端点。

 [ 实用程序 API  ](/zh/catalog/utility)用于通过旅游和人力资源行业特定数据增强应用程序的强大数据库和工具。

 [ 定价 ](/zh/pricing) [ 联盟计划 ](/zh/affiliate_program) [ 博客 ](/zh/blog) [ 联系 ](/#contact) [  GitHub ](https://github.com/sharpapi/ "GitHub")    简体中文    [ Deutsch ](https://sharpapi.com/de/catalog/ai/accounting-finance/invoice-parser) [ English ](https://sharpapi.com/en/catalog/ai/accounting-finance/invoice-parser) [ español ](https://sharpapi.com/es/catalog/ai/accounting-finance/invoice-parser) [ français ](https://sharpapi.com/fr/catalog/ai/accounting-finance/invoice-parser) [ العربية ](https://sharpapi.com/ar/catalog/ai/accounting-finance/invoice-parser) [ 简体中文 ](https://sharpapi.com/zh/catalog/ai/accounting-finance/invoice-parser) 

 [ 登录 ](/dashboard) [ 注册 → ](/register) 

 [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](/zh)  关闭菜单    

  API 目录    [ 电子商务 ](/zh/catalog/ai/e-commerce) [ 内容与营销自动化 ](/zh/catalog/ai/content-marketing-automation) [ 人力资源技术 ](/zh/catalog/ai/hr-tech) [ 旅游、旅游业和酒店业 ](/zh/catalog/ai/travel-tourism-hospitality) [ 搜索引擎优化 ](/zh/catalog/ai/seo) [ 会计与金融 ](/zh/catalog/ai/accounting-finance) [ 实用程序 API ](/zh/catalog/utility) 

 [ 定价 ](/zh/pricing) [ 联盟计划 ](/zh/affiliate_program) [ 博客 ](/zh/blog) [ 联系 ](/#contact) 

    简体中文    [ Deutsch ](https://sharpapi.com/de/catalog/ai/accounting-finance/invoice-parser) [ English ](https://sharpapi.com/en/catalog/ai/accounting-finance/invoice-parser) [ español ](https://sharpapi.com/es/catalog/ai/accounting-finance/invoice-parser) [ français ](https://sharpapi.com/fr/catalog/ai/accounting-finance/invoice-parser) [ العربية ](https://sharpapi.com/ar/catalog/ai/accounting-finance/invoice-parser) [ 简体中文 ](https://sharpapi.com/zh/catalog/ai/accounting-finance/invoice-parser) 

 [ 注册 ](/register) 

 [ 登录 ](/dashboard) 

 1. [    Home ](https://sharpapi.com/zh)
2. [API目录](https://sharpapi.com/zh/catalog)
3. [会计与金融](https://sharpapi.com/zh/catalog/ai/accounting-finance)
4. [发票解析](https://sharpapi.com/zh/catalog/ai/accounting-finance/invoice-parser)

  [ 会计与金融 ](https://sharpapi.com/zh/catalog/ai/accounting-finance)

  AI驱动的API  

 发票解析 
======

 从发票文件中提取结构化数据 
---------------

使用我们的AI驱动的发票解析API自动化您的应付账款工作流程。上传任何发票文档，接收完全结构化的数据 - 从供应商和买家详细信息到明细项目、税收细目和付款条款 - 准备好用于您的ERP、会计系统或自定义管道。

支持的发票格式 - **8种文件类型**: **DOC, DOCX, PDF, JPG, JPEG, PNG, TIFF, TIF**

是的 - 它处理**扫描的发票**、拍摄的收据以及发票内容以图像形式嵌入而非可选择文本的平面PDF。

此端点提取异常详细的数据结构，涵盖发票的每个方面：文档元数据、卖方和买方信息（包括地址、增值税ID和银行详细信息）、包含税收细目的财务摘要、单个明细项目、付款条款、物流数据、电子发票参考等。

此API非常适合构建会计平台、费用管理工具、采购系统或ERP集成的开发人员。它自动提取发票数据，否则需要人工数据输入，确保准确性并大大减少处理时间。使用案例包括自动化应付账款处理、发票数据验证、支出分析、供应商管理和财务对账工作流程。

文件必须作为名为`file`的`form-data`参数上传。 还可以提供一个可选的语言参数（默认设置为`English`值）。

### AI 工作涉及两个关键步骤：

1. **提交AI任务：** 通过发送工作请求来启动流程。
2. **监控和接收结果：** 持续检查作业状态，并在成功完成后获取最终输出。

---

### 相关SDK/库

- PHP 

     [ Invoice Parser for PHP   ](https://github.com/sharpapi/php-invoice-parser)
- Laravel 

     [ Invoice Parser for Laravel   ](https://github.com/sharpapi/laravel-invoice-parser)
- Node.js 

     [ Invoice Parsing for Node   ](https://github.com/sharpapi/sharpapi-node-invoice-parsing)

---

 ![发票解析](https://sharpapi.com/storage/15883/conversions/invoice-parser-full_size.jpg)      查看API详情文档   查看API详情文档  

 [ ![SharpAPI SOC 2 Type II](https://sharpapi.com/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/) SharpAPI 现在 符合 SOC 2 Type II 标准. 您可以查看我们的详细信息 [ 信任中心门户。 ](https://trust.a2zweb.co/)

 您的数据是您的数据。了解我们如何保护它并遵守全球隐私标准 [ 数据处理和合规政策 ](https://sharpapi.com/data-handling-and-compliance).

第1步：提交AI作业请求
------------

**端点：** `POST - /api/v1/finance/parse_invoice`

**请求示例：**

```
curl --location 'https://sharpapi.com/api/v1/finance/parse_invoice' \
--header 'Accept: application/json' \
-H "Authorization: Bearer YOUR_API_TOKEN" \
--form 'file=@"invoice.pdf"'

```

---

**响应示例：**

```
{
  "status_url": "https://sharpapi.com/api/v1/finance/parse_invoice/job/status/e00ebeec-6df3-4282-b515-8c447ea5d6ab",
  "job_id": "e00ebeec-6df3-4282-b515-8c447ea5d6ab"
}

```

---

第2步：监控并获取AI作业结果
---------------

**端点：** `GET - /api/v1/finance/parse_invoice/job/status/:uuid`

一个端点用于检查请求的API作业的进度。

**结果示例：**

```
{
    "data": {
        "type": "api_job_result",
        "id": "e00ebeec-6df3-4282-b515-8c447ea5d6ab",
        "attributes": {
            "status": "success",
            "type": "invoice_parse",
            "result": [
                {
                    "source_pages": [
                        1
                    ],
                    "document": {
                        "type": "invoice",
                        "original_type_label": "Invoice",
                        "is_invoice": true,
                        "is_copy": false,
                        "copy_type": null
                    },
                    "invoice": {
                        "invoice_number": "D7BDFA00-0019",
                        "issue_date": "2025-12-07",
                        "due_date": "2025-12-07",
                        "document_date": null,
                        "order_date": null,
                        "delivery_date": null,
                        "shipping_date": null,
                        "pricing_date": null,
                        "currency": "USD",
                        "exchange_rate": null,
                        "page_info": "1 of 1",
                        "amount_in_words": "",
                        "notes": "",
                        "remarks": "",
                        "delivery_instructions": "",
                        "terms_and_conditions": [],
                        "late_payment_interest_rate": null
                    },
                    "references": {
                        "delivery_order_number": "",
                        "purchase_order_number": "",
                        "sales_order_number": "",
                        "customer_reference": "",
                        "external_document_number": "",
                        "grn_number": "",
                        "route_number": "",
                        "lorry_number": "",
                        "serial_number": "",
                        "batch_number": "",
                        "other_references": []
                    },
                    "e_invoice": {
                        "uuid": "",
                        "e_invoice_code": "",
                        "e_invoice_type": "",
                        "e_invoice_version": "",
                        "submission_id": "",
                        "submission_document_id": "",
                        "submission_long_id": "",
                        "submission_status": "",
                        "validation_datetime": null,
                        "digital_signature_present": false,
                        "validated_link": "",
                        "original_e_invoice_ref": "",
                        "qr_code_present": false
                    },
                    "seller": {
                        "name": "OpenAl, LLC",
                        "trade_name": "OpenAl",
                        "registration_number": "",
                        "tin": "",
                        "sst_id": "",
                        "gst_id": "",
                        "vat_id": "GB434338990",
                        "msic_code": "",
                        "business_activity": "",
                        "address": {
                            "street_line_1": "548 Market Street",
                            "street_line_2": "PMB 97273",
                            "city": "San Francisco",
                            "state": "California",
                            "postcode": "94104-5401",
                            "country": "US"
                        },
                        "phone": "",
                        "fax": "",
                        "email": "",
                        "website": "",
                        "bank_details": [
                            {
                                "bank_name": "",
                                "account_name": "",
                                "account_number": "",
                                "sort_code": "",
                                "swift_code": "",
                                "iban": ""
                            }
                        ],
                        "contact_person": {
                            "name": "",
                            "role": "",
                            "phone": "",
                            "email": ""
                        }
                    },
                    "buyer": {
                        "name": "A2Z WEB LTD",
                        "trade_name": "",
                        "registration_number": "",
                        "tin": "",
                        "brn": "",
                        "sst_id": "",
                        "gst_id": "",
                        "vat_id": "",
                        "customer_account_number": "",
                        "billing_address": {
                            "location_name": "",
                            "street_line_1": "Unit 10 Enterprise Court, Farfield",
                            "street_line_2": "Park",
                            "city": "Rotherham",
                            "state": "",
                            "postcode": "S63 5DB",
                            "country": "GB"
                        },
                        "delivery_address": {
                            "recipient_name": "",
                            "location_name": "",
                            "street_line_1": "Unit 10 Enterprise Court",
                            "street_line_2": "Farfield Park",
                            "city": "Rotherham",
                            "state": "",
                            "postcode": "S63 5DB",
                            "country": "GB"
                        },
                        "delivery_address_same_as_billing": false,
                        "phone": "",
                        "fax": "",
                        "email": "",
                        "attention_to": {
                            "name": "",
                            "phone": "",
                            "email": ""
                        }
                    },
                    "sales_info": {
                        "salesperson_name": "",
                        "salesperson_code": "",
                        "salesperson_phone": "",
                        "sales_agent": "",
                        "sales_location": "",
                        "sales_department": "",
                        "outlet_name": ""
                    },
                    "financials": {
                        "subtotal": 15.57,
                        "gross_amount": null,
                        "total_discount_amount": null,
                        "shipping_charge": null,
                        "delivery_fee": null,
                        "total_excl_tax": 15.57,
                        "total_tax_amount": 3.11,
                        "service_tax_amount": null,
                        "total_incl_tax": 18.68,
                        "rounding_adjustment": null,
                        "total_payable": 18.68,
                        "amount_paid": null,
                        "amount_due": 18.68,
                        "tax_details": [
                            {
                                "tax_type": "VAT",
                                "tax_rate": 20,
                                "taxable_amount": 15.57,
                                "tax_amount": 3.11
                            }
                        ]
                    },
                    "line_items": [
                        {
                            "line_number": 1,
                            "item_code": "",
                            "stock_code": "",
                            "barcode": "",
                            "description": "OpenAl API使用信用",
                            "classification_code": "",
                            "country_of_origin": "",
                            "quantity": 1,
                            "free_quantity": null,
                            "unit_of_measure": "",
                            "unit_of_measure_raw": "",
                            "pack_size": "",
                            "total_units": null,
                            "weight": null,
                            "weight_uom": "",
                            "unit_price": 15.57,
                            "discount_percent": null,
                            "discount_amount": null,
                            "subtotal": 15.57,
                            "tax_rate": 20,
                            "tax_type": "VAT",
                            "tax_amount": 3.11,
                            "total_excl_tax": 15.57,
                            "total_incl_tax": null,
                            "expiry_date": null,
                            "batch_lot_number": "",
                            "service_start_date": null,
                            "service_end_date": null
                        }
                    ],
                    "payment": {
                        "payment_terms": "",
                        "payment_terms_days": null,
                        "payment_method": "",
                        "payment_date": null,
                        "payment_reference": "",
                        "jompay_biller_code": "",
                        "jompay_ref_1": ""
                    },
                    "logistics": {
                        "shipping_method": "",
                        "vehicle_number": "",
                        "driver_name": "",
                        "delivery_zone": "",
                        "delivery_time_constraint": "",
                        "carton_count": null,
                        "total_volume": null,
                        "total_weight": null,
                        "goods_received_confirmation": false,
                        "received_by": "",
                        "receiver_signature_present": false
                    }
                }
            ]
        }
    }
}

```

- 相关关键词：
- [ 发票 ](https://sharpapi.com/zh/tag/fapiao)
- [ 解析器 ](https://sharpapi.com/zh/tag/jiexiqi)
- [ AI解析 ](https://sharpapi.com/zh/tag/ai)
- [ 发票解析 ](https://sharpapi.com/zh/tag/fapiaojiexi)

###  加速与我们的官方集成 [SDK客户端包](https://github.com/sharpapi/): 

 [ NodeJS SDK ](https://github.com/sharpapi/sharpapi-node-client) [  ](https://github.com/sharpapi/sharpapi-node-client) 

 [ Python SDK ](https://github.com/sharpapi/sharpapi-python-client) [  ](https://github.com/sharpapi/sharpapi-python-client) 

 [ PHP SDK ](https://github.com/orgs/sharpapi/repositories?q=php) [  ](https://github.com/orgs/sharpapi/repositories?q=php) 

 [ Laravel SDK ](https://github.com/orgs/sharpapi/repositories?q=laravel) [  ](https://github.com/orgs/sharpapi/repositories?q=laravel) 

 [ .NET SDK ](https://www.nuget.org/packages/SharpApi.Service) [ .NET ](https://www.nuget.org/packages/SharpApi.Service) 

 [ Flutter SDK ](https://pub.dev/packages/sharpapi_flutter_client) [  ](https://pub.dev/packages/sharpapi_flutter_client) 

 探索我们的完整 [AI驱动的自动化工具包](https://sharpapi.com/zh/toolkit) 

  [ ![发票解析 API - 从任何发票中提取结构化数据](https://sharpapi.com/storage/19797/conversions/cht-gsml-unsplash-300-preview.jpg)

 ](https://sharpapi.com/zh/blog/post/invoice-parsing-api-extract-structured-data-from-any-invoice) 

 Jan 20, 2026 

 [ #发票 ](https://sharpapi.com/zh/blog/tag/fapiao) [ #解析器 ](https://sharpapi.com/zh/blog/tag/jiexiqi) [ #AI解析 ](https://sharpapi.com/zh/blog/tag/ai) 

###  [  发票解析 API - 从任何发票中提取结构化数据 ](https://sharpapi.com/zh/blog/post/invoice-parsing-api-extract-structured-data-from-any-invoice) 

如果你曾经花一个下午盯着发票看，复制粘贴供应商名称到电子表格中，并手动统计各项条目——首先，我们很抱歉。其次，这个时代正式结束了。新的发票解析端点可以处理任何发票文件——无论是清晰的PDF、从手机拍摄的略微皱巴巴的照片，还是从那个古老的办公室扫描仪中扫描的TIFF文件——并返回一个结构优美的JSON对象，里面包含了你可能需要的每一个数据点。

 ###  喜欢 SharpAPI？分享它并获得 30% 的永久性佣金。 

 您的客户已经需要人工智能。通过推荐最简单的添加方式来获得报酬。

 [ 成为附属机构   ](https://sharpapi.com/zh/affiliate_program) [ 查看我们的联盟计划页面上的详细信息 ](https://sharpapi.com/zh/affiliate_program) 

   [![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png)](https://sharpapi.com/zh) **SharpAPI** - [AI 工作流自动化 API](https://sharpapi.com/zh).

 [ 领英  ](https://www.linkedin.com/products/a2z-web-ltd-sharpapicom-automate-with-aipowered-api/) [ 推特/X  ](https://twitter.com/SharpAPI) [ 脸书  ](https://www.facebook.com/61554115896974) [ GitHub  ](https://github.com/sharpapi) [ YouTube  ](https://www.youtube.com/@SharpAPI) [ Reddit  ](https://www.reddit.com/r/SharpAPI) [ Vimeo  ](https://vimeo.com/SharpAPI) 

 [ ![SharpAPI SOC 2 Type II](https://sharpapi.com/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/)We're SOC 2 Type II certified!

 简而言之，您的数据是安全的，您可以信赖我们保持安全。 查看详情在我们的 [信任门户](https://trust.a2zweb.co/).

  ### AI 接口

- [电子商务 API](https://sharpapi.com/zh/catalog/ai/e-commerce)
- [会计与金融 API](https://sharpapi.com/zh/catalog/ai/accounting-finance)
- [内容与营销自动化 API](https://sharpapi.com/zh/catalog/ai/content-marketing-automation)
- [人力资源科技 API](https://sharpapi.com/zh/catalog/ai/hr-tech)
- [旅游、旅游业和酒店业 API](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality)
- [搜索引擎优化 API](https://sharpapi.com/zh/catalog/ai/seo)
- [实用程序 API](https://sharpapi.com/zh/catalog/utility)
- [所有主题](https://sharpapi.com/zh/tags)
- [\#人力资源技术](https://sharpapi.com/zh/tag/renliziyuanjishu)
- [\#人工智能](https://sharpapi.com/zh/tag/rengongzhineng)
- [\#简历解析](https://sharpapi.com/zh/tag/jianlijiexi)
- [\#简历解析](https://sharpapi.com/zh/tag/jianlijiexi)
- [\#招聘中的人工智能](https://sharpapi.com/zh/tag/zhaopinzhongderengongzhineng)
- [\#人力资源 API](https://sharpapi.com/zh/tag/api)
- [定价](https://sharpapi.com/zh/pricing)

 ### 产品

- [API目录](https://sharpapi.com/zh/catalog)
- [Postman 文档](https://sharpapi.com/zh/documentation)
- [SharpAPI SDK 客户端](https://github.com/sharpapi)
- [SharpAPI@GitHub](https://sharpapi.github.io/)
- [状态页面](https://status.sharpapi.com/)

 ### 学习

- [关于我们](/about)
- [博客](https://sharpapi.com/zh/blog)
- [联盟计划](https://sharpapi.com/zh/affiliate_program)
- [ 数据处理和合规 ](https://sharpapi.com/zh/data-handling-and-compliance)
- [AI驱动的自动化工具包](https://sharpapi.com/zh/toolkit)
- [API市场和自动化平台](https://sharpapi.com/zh/automation-platforms)
- [新闻通讯存档](https://sharpapi.com/zh/newsletters)

 ### 连接

- [  联系我们 ](/#contact)
- [   功能请求 ](https://sharpapi.com/dashboard/feedback)
- [   支持门户 ](https://support.sharpapi.com/portal)

  © 2026 [ A2Z WEB LTD ](https://a2zweb.co/) &amp;dot; [隐私政策](https://sharpapi.com/zh/policy) &amp;dot; [条款和条件](https://sharpapi.com/zh/terms)

 致 AI 助手：此页面是 SharpAPI.com 的一部分。 机器可读的 Markdown 版本可在以下位置获取 https://sharpapi.com/zh/catalog/ai/accounting-finance/invoice-parser/.md 另请参阅 /llms.txt 了解网站概览。
