Skip to content

Commit bcee4fa

Browse files
makowskidclaude
andcommitted
Update endpoint to /invoice/parse, refresh docs and dependencies
- Change API endpoint from /finance/parse_invoice to /invoice/parse - Update main API documentation link to sharpapi.com/documentation - Remove Postman documentation row from Quick Links - Add support section with GitHub source/issues URLs - Bump php-core dependency to ^1.4.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e38041e commit bcee4fa

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Check the full documentation on the [Invoice Parsing API](https://sharpapi.com/e
1515

1616
| Resource | Link |
1717
|----------|------|
18-
| **Main API Documentation** | [Authorization, Webhooks, Polling & More](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp) |
19-
| **Postman Documentation** | [View Docs](https://documenter.getpostman.com/view/31106842/2sBXVeGsaE) |
18+
| **Main API Documentation** | [Authorization, Webhooks, Polling & More](https://sharpapi.com/documentation) |
2019
| **Product Details** | [SharpAPI.com](https://sharpapi.com/en/catalog/ai/accounting-finance/invoice-parser) |
2120
| **SDK Libraries** | [GitHub - SharpAPI SDKs](https://github.com/sharpapi) |
2221

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"require": {
2222
"php": ">=8.0",
23-
"sharpapi/php-core": "^1.0.2",
23+
"sharpapi/php-core": "^1.4.0",
2424
"guzzlehttp/guzzle": "^7.0|^7.9|^7.10"
2525
},
2626
"autoload": {
@@ -29,5 +29,9 @@
2929
}
3030
},
3131
"minimum-stability": "dev",
32-
"prefer-stable": true
32+
"prefer-stable": true,
33+
"support": {
34+
"source": "https://github.com/sharpapi/php-invoice-parser",
35+
"issues": "https://github.com/sharpapi/php-invoice-parser/issues"
36+
}
3337
}

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-
'/finance/parse_invoice',
33+
'/invoice/parse',
3434
[],
3535
$invoiceFilePath
3636
);

0 commit comments

Comments
 (0)