Skip to content

Commit ff04d80

Browse files
makowskidclaude
andcommitted
Fix API endpoint path to /finance/parse_invoice
The endpoint was incorrectly set to /invoice/parse. Updated to the correct path /finance/parse_invoice. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent bcee4fa commit ff04d80

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `sharpapi/php-invoice-parser` will be documented in this file.
44

5+
## 1.0.1 - 2026-02-25
6+
- Fix API endpoint path from `/invoice/parse` to `/finance/parse_invoice`.
7+
58
## 1.0.0 - 2026-02-02
69
- Initial release: Pure PHP client for SharpAPI Invoice Parser.
710
- Provides `InvoiceParserClient` with `parseInvoice()` and supports polling via core client.

src/InvoiceParserClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function parseInvoice(string $invoiceFilePath): string
3030
{
3131
$response = $this->makeRequest(
3232
'POST',
33-
'/invoice/parse',
33+
'/finance/parse_invoice',
3434
[],
3535
$invoiceFilePath
3636
);

0 commit comments

Comments
 (0)