PHPackages                             sharpapi/php-invoice-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. sharpapi/php-invoice-parser

ActiveLibrary[Payment Processing](/categories/payments)

sharpapi/php-invoice-parser
===========================

Pure PHP client for SharpAPI Invoice Parser (extracts structured data from invoices in PDF/TIFF/JPG/PNG).

v1.1.0(2mo ago)02MITPHPPHP &gt;=8.0

Since Feb 2Pushed 2mo agoCompare

[ Source](https://github.com/sharpapi/php-invoice-parser)[ Packagist](https://packagist.org/packages/sharpapi/php-invoice-parser)[ Docs](https://sharpapi.com/)[ RSS](/packages/sharpapi-php-invoice-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

[![SharpAPI GitHub cover](https://camo.githubusercontent.com/82bb36706c1e71276b3dca4ec9120353bb51c8f22bb62543bf056db5c28da36d/68747470733a2f2f73686172706170692e636f6d2f73686172706170692d6769746875622d6c61726176656c2d62672e6a7067 "SharpAPI PHP Client")](https://camo.githubusercontent.com/82bb36706c1e71276b3dca4ec9120353bb51c8f22bb62543bf056db5c28da36d/68747470733a2f2f73686172706170692e636f6d2f73686172706170692d6769746875622d6c61726176656c2d62672e6a7067)

Invoice Parser for PHP 8
========================

[](#invoice-parser-for-php-8)

🎯 Extract structured data from invoices (PDF/TIFF/JPG/PNG) — powered by SharpAPI AI.
------------------------------------------------------------------------------------

[](#-extract-structured-data-from-invoices-pdftiffjpgpng--powered-by-sharpapi-ai)

[![Latest Version on Packagist](https://camo.githubusercontent.com/972d7af3320db217d2fffc72838758b9ea76c401915eb57052ee52233e019b96/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73686172706170692f7068702d696e766f6963652d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sharpapi/php-invoice-parser)[![Total Downloads](https://camo.githubusercontent.com/243454c4170f81fd8d9bd32dab4147566e4c5ec2914e424f597d27e7ef7f4d2a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73686172706170692f7068702d696e766f6963652d7061727365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sharpapi/php-invoice-parser)

Check the full documentation on the [Invoice Parsing API](https://sharpapi.com/en/catalog/ai/accounting-finance/invoice-parser) page.

---

Quick Links
-----------

[](#quick-links)

ResourceLink**Main API Documentation**[Authorization, Webhooks, Polling &amp; More](https://sharpapi.com/documentation)**Product Details**[SharpAPI.com](https://sharpapi.com/en/catalog/ai/accounting-finance/invoice-parser)**SDK Libraries**[GitHub - SharpAPI SDKs](https://github.com/sharpapi)---

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0

---

Installation
------------

[](#installation)

### Step 1. Install the package via Composer:

[](#step-1-install-the-package-via-composer)

```
composer require sharpapi/php-invoice-parser
```

### Step 2. Visit [SharpAPI](https://sharpapi.com/) to get your API key.

[](#step-2-visit-sharpapi-to-get-your-api-key)

---

What it does
------------

[](#what-it-does)

This package uploads an invoice file to the SharpAPI AI endpoint and returns a status URL to poll for results. When the job completes, you can fetch a structured JSON containing parsed invoice data (seller, buyer, line items, financials, tax details, and more).

---

Usage
-----

[](#usage)

```
